Results 1 to 7 of 7
  1. #1
    Join Date
    Dec 2007
    Posts
    22
    Plugin Contributions
    0

    Default Add all categories & sub categories to browser title

    Where/how can I change the title so that when you are viewing a product say 3 levels deep it shows the main category, sub category then the selected category?

    By default it just shows the selected category and I would really like the browser title to show the categories and sub categories as well - it would be much more meaningful!

  2. #2
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,263
    Plugin Contributions
    3

    Default Re: Add all categories & sub categories to browser title

    Are you referring to "breadcrumbs"... ?

    If so, there is a setting in admin to switch these on and off.
    20 years a Zencart User

  3. #3
    Join Date
    Dec 2007
    Posts
    22
    Plugin Contributions
    0

    Default Re: Add all categories & sub categories to browser title

    No, the browser title - It just displays the selected category, which could be 3 or 4 categories deep from the root. This doesn't give a very descriptive page title as it only shows the selected. It would make more sense if I could have it display the main category, then the sub category, then the selected sub category again.

    So I want the browser title to display similar text to the entire path of the breadrumbs - how can I do this?

  4. #4
    Join Date
    Dec 2007
    Posts
    22
    Plugin Contributions
    0

    Default Re: Add all categories & sub categories to browser title

    e.g.
    main cat 1
    main cat 2
    main cat 3
    --sub cat 1
    --sub cat 2
    ----sub sub cat 1
    ----sub sub cat 2
    --sub cat 3


    if you are looking at products in sub sub cat 2 then it only displays the text for that category in the browser title. This text is usually something fairly meaningless like "32mm"

    Instead I want to display something like :
    main cat 3, sub cat 2, sub sub cat 2

    which might translate to :

    Carbs, Weber, 32mm

    So similar to breadcrumbs, but wokring these into the title.

  5. #5
    Join Date
    Nov 2007
    Posts
    28
    Plugin Contributions
    0

    Default Re: Add all categories & sub categories to browser title

    i am looking for the same thing but no luck so far

  6. #6
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: Add all categories & sub categories to browser title

    Adapt the code that builds the Breadcrumbs to be used in the Meta Tags.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  7. #7
    Join Date
    Nov 2007
    Posts
    28
    Plugin Contributions
    0

    Default Re: Add all categories & sub categories to browser title

    i've tried and am still trying but i am a little short on php knowledge.... i need help

    thanks

 

 

Similar Threads

  1. show all categories and sub categories on each page
    By szarin in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 14 Jun 2011, 05:56 PM
  2. Add descriptions to all your sub categories Support Thread
    By mani in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 18 Dec 2008, 09:31 PM
  3. Categories / Sub Categories and Products all in Dropdowns?
    By CIPFriction.com in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 28 Nov 2008, 10:25 PM
  4. Replies: 3
    Last Post: 11 Sep 2008, 09:17 PM
  5. showing all categories(top & sub) in sidebox all the time
    By meocanada in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 7 Mar 2008, 12:51 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR