Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Oct 2006
    Posts
    143
    Plugin Contributions
    0

    Default Changing sidebox headings

    Hi

    Where could I change the sidebox title?
    I am making a new sidebox based on the existing manufactures search box and trying to figure out where to find its heading definition

    Thanks

    A

  2. #2
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,039
    Plugin Contributions
    31

    Default Re: Changing sidebox headings


  3. #3
    Join Date
    Oct 2006
    Posts
    143
    Plugin Contributions
    0

    Default Re: Changing sidebox headings

    Thank you. I do not have

    includes/languages/CUSTOM/english.php

    it is in includes/languages/english.php

    It looks like the file to edit

  4. #4
    Join Date
    Oct 2006
    Posts
    143
    Plugin Contributions
    0

    Default Re: Changing sidebox headings

    Another thing - I cannot find "DEFINE('BOX_HEADING_..." statement for many default zen boxes, for example, record_company. From where does it pick the header definition in this case?

  5. #5
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,039
    Plugin Contributions
    31

    Default Re: Changing sidebox headings

    Quote Originally Posted by andy1234 View Post
    Thank you. I do not have

    includes/languages/CUSTOM/english.php

    it is in includes/languages/english.php

    It looks like the file to edit
    Yes that is the file to edit. After making your changes you should save the file to your /CUSTOM override folder.

    Quote Originally Posted by andy1234 View Post
    Another thing - I cannot find "DEFINE('BOX_HEADING_..." statement for many default zen boxes, for example, record_company. From where does it pick the header definition in this case?
    You'll find the file to edit in includes/languages/english/extra_definitions/product_music.php

    After making your changes you should save the file to your /CUSTOM override folder.

  6. #6
    Join Date
    Oct 2006
    Posts
    143
    Plugin Contributions
    0

    Default Re: Changing sidebox headings

    Thank you. is it necessary to save it to the CUSTOM folder? Could I just save it to the same place?

    Also, maybe you could point me to a correct direction... I am making a Record Artist side box and there is one problem left (after I have fixed all others ):

    When clicking on the dropdown menu item, I am not getting to the prod listing page, but to the main root page, i.e. instead of getting to the center column as

    <div class="centerColumn" id="indexProductList">

    I am getting

    <div class="centerColumn" id="indexDefault">

    It seems that sql search is OK, but I cannot get seqrch results displayed. Where should I fix it?

    Thanks

    Andy

  7. #7
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,039
    Plugin Contributions
    31

    Default Re: Changing sidebox headings

    Thank you. is it necessary to save it to the CUSTOM folder? Could I just save it to the same place?
    You should always create an override directory. This will save you a many, many headaches later on. Without the override directory, all changes you make will be lost the next time you upgrade your cart. Using the override directory prevents the loss of your changes.

    I'm not familiar with the "music side" of Zen Cart but I'll look around and see if I can find an answer.

    Do you have a URL for your site so I can take a look.

  8. #8
    Join Date
    Oct 2006
    Posts
    143
    Plugin Contributions
    0

    Default Re: Changing sidebox headings

    You can take a look at
    http://69.64.72.12/

    The problem is not related to a particular "music side." when I click to recording artists, it does not go to the prod list template, but to the main index.

    I cannot figure out where it calls the template

    Thanks
    Andy

  9. #9
    Join Date
    Oct 2006
    Posts
    143
    Plugin Contributions
    0

    Default Re: Changing sidebox headings

    also, note that clicking on the artist produces a wrong font page. It look as it cannot find some template

  10. #10
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,039
    Plugin Contributions
    31

    Default Re: Changing sidebox headings

    You also have the following sql statement running at the top of your page.

    Not sure where that came from.

    select pme.products_id, p.products_type, p.products_price, p.products_tax_class_id, pd.products_description, IF(s.status = 1, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status = 1, s.specials_new_products_price, p.products_price) as final_price, p.products_sort_order, p.product_is_call, p.product_is_always_free_shipping, p.products_qty_box_status
    from m_products p, m_products_description pd, m_product_music_extra pme left join m_specials s on pme.products_id = s.products_id, m_music_genre m
    where m.music_genre_id = '1'
    and p.products_id = pme.products_id
    and p.products_status = 1
    and pd.products_id = pme.products_id
    and pd.language_id = '1'
    and pme.music_genre_id = '1'

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. changing sidebox name and content for that sidebox
    By zc-newbie in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 19 Aug 2006, 06:13 AM
  2. Different headings within a sidebox
    By HandcraftedUK in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 12 Aug 2006, 06:03 PM

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
  •