Announcement

Collapse
No announcement yet.

Best way to add a link in Nav bar?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Best way to add a link in Nav bar?

    I want to add a link on the Actinic Nav Bar to the site home page (www.yandles.co.uk) (index.htm)

    The Actinic shop home page is at: www.yandles.co.uk/acatalog/shop.html

    I have renamed the 'Home' tag on the NavBar to 'Shop Home' but I can not fathom out how to add another link box in the NavBar labeled 'Home' and have it call the site home page.

    I have spent a long time trawling the search but am confused as to the correct method... a pointer to a thread or advice will be most greatfully received and faithfully applied!
    www.yandles.co.uk
    www.websilk.co.uk
    Today is the tomorrow that I worried about yesterday.
    So far, all is well. Am I still worried? YES! Watch some b.....d mess it up!

    #2
    Add:

    Code:
     <a href="/." target="_self" class="link_menu">Home</a>
    where you want the link to show.

    Probably before this:

    Code:
    <a href="shop.html" target="_self" class="link_menu">Shop Home</a>
    So you'd end up with:

    Code:
    <a href="/." target="_self" class="link_menu">Home</a><a href="shop.html" target="_self" class="link_menu">Shop Home</a>...and so on

    Comment


      #3
      Lee - rather than using the relative link would it not be preferable to use the full absolute link to the homepage so it works from the homepage as well?

      Only had 4 hours sleep so may be misreading what is wanted


      Bikster
      SellerDeck Designs and Responsive Themes

      Comment


        #4
        Home page has its own link, so no i don't think so. He can change it whatever he wants though, its the method he's after i think, who knows.

        I much prefer the above method also as it doesn't do a second call for a page which it has usually already accessed.

        Comment


          #5
          Originally posted by leehack
          Home page has its own link.
          The current home link goes through to /acatalog/shop.html not the index.html


          Bikster
          SellerDeck Designs and Responsive Themes

          Comment


            #6
            Originally posted by jont
            The current home link goes through to /acatalog/shop.html not the index.html
            No it doesn't. The home page link on this page http://www.yandles.co.uk/ links to itself.

            I think you have read his request incorrectly.

            Comment


              #7
              Originally posted by Donald Gray
              I want to add a link on the Actinic Nav Bar to the site home page (www.yandles.co.uk) (index.htm)
              I read this as a link is required on every page on the site to the homepage on the navigation bar ... and not ... on the homepage I want a link to itself.

              On every page inside the site the link is to the shop and not the homepage.

              Thats how I read the request.... hopefully Donald can clarify


              Bikster
              SellerDeck Designs and Responsive Themes

              Comment


                #8
                Originally posted by jont
                I read this as a link is required on every page on the site to the homepage on the navigation bar ... and not ... on the homepage I want a link to itself.

                On every page inside the site the link is to the shop and not the homepage.

                Thats how I read the request.... hopefully Donald can clarify
                Spot on Jont!

                (sorry I didn't pop up earlier - had to go out & get some paper!)

                I want to add a link *ON* the 'Shop' (Actinic Biz8.5 Pages) Navigation Bar *Back* to the *site* home page.

                The *shop* home page is http://www.yandles.co.uk/acatalog/shop.html and it is the Nav Bar in the shop that I want to link back to the *conventional* root file: www.yandles.co.uk/index.htm

                IE once the buyer has entered the shop, I want him to have the ability to get back to the Site Home Page and not just to the shop home page...

                IE: the nave bar at the moment reads:
                | Shop Home | Site Map | Search | Check out | ...etc

                What I want is:
                | Site Home | Shop Home | Site Map | Search etc etc

                Hope that clarifies my need.

                I seem to be particularly thick today - It must be a simple thing to do but I just cant see through all the wood!
                www.yandles.co.uk
                www.websilk.co.uk
                Today is the tomorrow that I worried about yesterday.
                So far, all is well. Am I still worried? YES! Watch some b.....d mess it up!

                Comment


                  #9
                  Switch to design tab mode and click on any of the existing links in the navigation bar (make a note of the layout name eg "store top text link" ... it is the "text" part you need to remember)... click the "yellow swirl" bottom left on the layout code until you get to the layout called something like "Horizontal Nav Bar" ... this will have a lot of pink layouts for homepage, up a level, site map etc .... this is where you need to insert the new code.

                  Click on the "insert layout" and do a search for "nav" ... you will see one called "NavigationItem" ... ensure the "use fixed layout" is ticked ... beneath will pop up a lot of selectors ... select the "home xxxxx" option .... there are several and you need to use the same type as shown when you first clicked on the navigation bar above eg "Home Text Link" if this is the style being used.

                  HTH


                  Bikster
                  SellerDeck Designs and Responsive Themes

                  Comment


                    #10
                    Originally posted by jont
                    I read this as a link is required on every page on the site to the homepage on the navigation bar ... and not ... on the homepage I want a link to itself.

                    On every page inside the site the link is to the shop and not the homepage.

                    Thats how I read the request.... hopefully Donald can clarify
                    LOL this is classic.

                    The guy wants a link to his home page on his shop home page, which funnily enough is the exact thing i was doing and exactly as i understood and the exact code i provided. As you can clearly see the code i extracted is from his shop home page and indeed the finished code has the home link to the left of the shop link.

                    Why do it in 1 post when you can do it in 19.....

                    Comment


                      #11
                      Originally posted by Donald Gray
                      Hope that clarifies my need.

                      I seem to be particularly thick today - It must be a simple thing to do but I just cant see through all the wood!
                      100% as i read it and 100% as it will be if you do my step provided. You are certainly not being thick.

                      Comment


                        #12
                        Thanks for your input Jont...

                        Originally posted by jont
                        Switch to design tab mode and click on any of the existing links in the navigation bar (make a note of the layout name eg "store top text link" ... it is the "text" part you need to remember)...
                        I clicked Design Tab & selected 'Shop Home' ... the only layout name I could see was 'Layout Code - Home CSS Button', in the layout window a single line of code:
                        Code:
                        <a href="<actinic:variable name="HomePageURL" />" target="_self" class="link_menu"><actinic:variable name="HomeText" /></a>

                        Originally posted by jont
                        click the "yellow swirl" bottom left on the layout code until you get to the layout called something like "Horizontal Nav Bar" ... this will have a lot of pink layouts for homepage, up a level, site map etc .... this is where you need to insert the new code.
                        only one line of said code not lots of lines to search...

                        Sorry to be a PIA but now even more confused...
                        www.yandles.co.uk
                        www.websilk.co.uk
                        Today is the tomorrow that I worried about yesterday.
                        So far, all is well. Am I still worried? YES! Watch some b.....d mess it up!

                        Comment


                          #13
                          Should I be trampling all over the 'Design Tree' and inserting the new variable there?
                          www.yandles.co.uk
                          www.websilk.co.uk
                          Today is the tomorrow that I worried about yesterday.
                          So far, all is well. Am I still worried? YES! Watch some b.....d mess it up!

                          Comment


                            #14
                            Depends if you want to go the complicated route or the simplest really. The code i provided hours ago will give you 100% what you want, the whole process has just been confused for nothing more than the sake of confusing it.

                            All three of us are talking about exactly the same thing.

                            Comment


                              #15
                              Originally posted by leehack
                              Depends if you want to go the complicated route or the simplest really.
                              The simplest route is to use the built in layouts as provided by Actinic out of the box. These layouts are there to be used and re-used. No hand coding required.

                              Originally posted by leehack
                              the whole process has just been confused for nothing more than the sake of confusing it.
                              I raised a question to see if this is the best way of doing it - not to intentionally add confusion just for the sake of it.

                              Originally posted by leehack
                              All three of us are talking about exactly the same thing.
                              With 2 solutions .. one using the inbuilt functionality of Actinic and the other hand coding ... both need applying to the same place in the same manner.. whichever route you take should give you the same results.

                              As Lee was first on the scene hours ago I will step aside and let him assist with his solution.

                              Apologies Donald if my suggestion has muddied the waters for you.


                              Bikster
                              SellerDeck Designs and Responsive Themes

                              Comment

                              Working...
                              X