Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2008
    Posts
    57
    Plugin Contributions
    0

    help question Body ID and Cpath

    I have searched thru FAQ or Forum - they may be already answered and I apologize if this is a case.

    I set the navigation links to cPath="number x" - for an example,
    ?main_page=index&cPath=5 will take me to specific product page, I believe.

    1) is it possible to call ?main_page=dresses instead of ?main_page=index&cPath=5 for links, product pages showing right products according to products' names and url paths in address bar of the browser? If so, how do we make it work with ?main_page="products_name"?

    2) I intend to use different body id for the specific product pages. For an example, if I click "dresses" link on nav menu, it should go to dresses page with "active" nav tab for dresses (different color after click tab).

    For both, do i have to copy main_page template and make them into tpl_dress.php with <body id="dresses">? will it show right products under dress category?

    Help will be very much appreciated. I am really a noob at zencart but hopefully i will be able to customize everything as time goes.

  2. #2
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Body ID and Cpath

    You can use any SEO url module for the first question:
    Simple Seo Url (http://public.rubikintegration.com/)
    Ultimate Seo Url (in free add-ons)
    Magice Seo Url (commercial)
    Power Seo Url (commercial)

    For the second question, why dont you just check cPath, if it is current then you add the class "active" for example to the specific tab
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  3. #3
    Join Date
    Dec 2008
    Posts
    57
    Plugin Contributions
    0

    help question Re: Body ID and Cpath

    Thank you for your reply.
    I will take a look at SEO addon.

    For the second question, why dont you just check cPath, if it is current then you add the class "active" for example to the specific tab

    I am not sure what you mean. how to check cPath? Is it supposed to be coded in tpl_main_page.php with if statement?

 

 

Similar Threads

  1. v150 Move categories and 301 redirect cpath
    By Shop Suey in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 8 Feb 2016, 12:22 PM
  2. cPath and little problem with google
    By diamond1 in forum General Questions
    Replies: 6
    Last Post: 4 Nov 2013, 03:23 PM
  3. Replies: 8
    Last Post: 28 Feb 2012, 03:05 PM
  4. What is Yen and Spider and cPath=28 in Who' Online?
    By tinamartinez in forum General Questions
    Replies: 0
    Last Post: 29 Jan 2008, 07:51 PM
  5. Static body for resizing (How to keep the body from sliding and moving when resizing)
    By bjmhistory in forum Templates, Stylesheets, Page Layout
    Replies: 22
    Last Post: 26 Jan 2007, 12:28 AM

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