Announcement

Collapse
No announcement yet.

Customising the breadcrumb links

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

    Customising the breadcrumb links

    Hi there

    does anyone know if it is possible to alter the text and url for the top of the breadcrumb menu which links to the main products page?

    Ideally, I'd like to change the text from 'Online catalogue' to read 'Home' and for the link to take the user to the home page of the site rather than the main products page.

    http://www.lapreya.com/acatalog/make..._clinique.html

    Any help would be greatly appreciated!

    Jeff

    #2
    To change Online Catalogue you can click on the very top level section as if to rename a file, ie click once then click again without double clicking.

    Then you can rename that.

    The other breadcrumbs are located in Act_ParentSectionsLink.html and Act_ParentSectionsThis.html.
    http://www.johnsons-seeds.com - Actinic plugins, remote add to cart and custom CMS
    http://www.dtbrownseeds.co.uk - More seeds and plants....
    http://www.mr-fothergills.co.uk - Well it used to be Actinic...

    Comment


      #3
      Thanks for your reply Dave.

      That solves the problem of renaming the link but it still takes the user to the main products page rather than the site home page.

      I've accessed the templates Act_ParentSectionsLink.html and Act_ParentSectionsThis.html however as these are automatically generated by Actinic I am unable to alter the destination of this 'Home' link.

      As a last resort I suppose I could add a redirection script but I'm sure there must be some way of accessing the destination of this link as it's the same on every page...

      Comment


        #4
        You'd probably have to hard code the home link in the first item there.

        Try changing the Act_ParentSectionsLink.html:

        Code:
        <!-- ParentSectionsLink HTML begin -->
        <!-- Insert HTML for the beginning of a parent section link -->
        
        <!--<a href="NETQUOTEVAR:SECTIONLINK">-->
        <a href="http://www.lapreya.co.uk/"><span class="tinylink">NETQUOTEVAR:SECTIONNAME</span></a>
        
        <!-- Insert HTML for the end of a parent section link -->
        <!-- ParentSectionsLink HTML end -->
        http://www.johnsons-seeds.com - Actinic plugins, remote add to cart and custom CMS
        http://www.dtbrownseeds.co.uk - More seeds and plants....
        http://www.mr-fothergills.co.uk - Well it used to be Actinic...

        Comment


          #5
          Hi Dave thanks again for your reply.

          Unfortunately this is something which I had tried previously.

          The only problem here is that you have to hide the default link to the online catalogue and the only way I can find to achieve this is by going to design/options/sections and in parent section links unchecking show top level section links option.

          As the checkbox states, this unfortunately also hides the main toplevel section links but only in the toplevel section pages.

          If there is an easy way to hide the default link to the main catalogue page without affecting the other top level section links then I'm all for hard coding the link to the home page as it's obviously the same on every page.

          Jeff

          Comment


            #6
            Could you try:

            <a href="http://www.lapreya.co.uk/">Home</a> &gt; <a href="NETQUOTEVAR:SECTIONLINK"><span class="tinylink">NETQUOTEVAR:SECTIONNAME</span></a>

            <!-- Insert HTML for the end of a par<span class="tinylink">NETQUOTEVAR:SECTIONNAME</span></a>

            <!-- Insert HTML for the end of a par....
            http://www.johnsons-seeds.com - Actinic plugins, remote add to cart and custom CMS
            http://www.dtbrownseeds.co.uk - More seeds and plants....
            http://www.mr-fothergills.co.uk - Well it used to be Actinic...

            Comment


              #7
              Hi Dave

              I think that would just repeat the home link in front of every link in the list.

              Jeff

              Comment


                #8
                You could just comment out the link in Act_ParentSectionsLink.html


                <!--the code-->
                Owner of a broken heart

                Comment


                  #9
                  Hi Gary

                  The problem there is that if you comment out the code in Act_ParentSectionsLink.html which is:

                  Code:
                  <A HREF="NETQUOTEVAR:SECTIONLINK"><B>NETQUOTEVAR:SECTIONNAME</B></A>
                  then it will remove every instance of the variable, therefore you get no breadcrumb links at all.

                  I'm looking to only amend the home link...

                  Jeff

                  Comment


                    #10
                    Thanks for your help on this guys

                    Here is the solution:

                    As Dave mentioned previously by clicking on the online catalogue main page name you can rename it so I have renamed it with a space " "

                    This then writes that space to the page leaving me free to hard-code a link to the home page within the Act_ProductBody.html - simple

                    Jeff

                    Comment

                    Working...
                    X