Thread: Modifying

Results 1 to 7 of 7
  1. #1
    Join Date
    Oct 2008
    Location
    Lakewood Ny
    Posts
    21
    Plugin Contributions
    0

    Default Modifying

    Hello,
    I am using:
    Zen Cart 1.3.9h
    Patch: 1::
    Database Patch Level: 1.3.9h

    Is there someone that could help me understand this process a little better? Any help would be greatly appreciated.
    I need to put images between categories as an identifying separator.
    I need to put images in the sidebox for categories such as

    Invitations
    Party Gifts
    etc

    The images need to go between the actual categories.

    I found this code in the:

    includes/templates/template_default/sideboxes/tpl.categories.php file

    // to make a specific category stand out define a new class in the stylesheet example: A.category-holiday
    // uncomment the select below and set the cPath=3 to the cPath= your_categories_id
    // many variations of this can be done
    // case ($box_categories_array[$i]['path'] == 'cPath=3'):
    // $new_style = 'category-holiday';
    // break;
    case ($box_categories_array[$i]['top'] == 'true'):
    $new_style = 'category-top';
    break;
    case ($box_categories_array[$i]['has_sub_cat']):
    $new_style = 'category-subs';
    break;
    default:
    $new_style = 'category-products';
    }


    Thank you for any help

  2. #2
    Join Date
    Jun 2003
    Posts
    33,825
    Plugin Contributions
    0

    Default Re: Modifying

    Do you have a mockup of what you want it to look like?
    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.

  3. #3
    Join Date
    Oct 2008
    Location
    Lakewood Ny
    Posts
    21
    Plugin Contributions
    0

    Default Re: Modifying

    Thank you for your quick response Kim

    Here is a screenshot. Of course the images in the sidebox are not exactly where I want them but it gives you the general idea of what I am trying to do.

    The url for sitehttp://allpetscherished.com/my_online_store/

    Name:  mock_up_allpets.jpg
Views: 22
Size:  40.8 KB

    Party Favors
    Invitations
    Gift Items
    etc.

    Thank you for your help
    Gary
    Last edited by deziner76hd; 25 Oct 2011 at 05:33 PM. Reason: additional info

  4. #4
    Join Date
    Oct 2008
    Location
    Lakewood Ny
    Posts
    21
    Plugin Contributions
    0

    Default Re: Modifying Side navigation for categories

    Kim Just so you know...

    I am using cherryZen Template

    I was able to change the font size and background color of the categories by adding a class in the cherryzen template stylsheet.css file and adding the appropriate code to the
    includes/templates/template_default/sideboxes/tpl.categories.php file

    BUT.. What I want to do is be able to but these named image files in between the categories

    Gary.

  5. #5
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    21,092
    Plugin Contributions
    25

    Default Re: Modifying Side navigation for categories

    Categories Dressing in Free Addons is designed to allow the sidebox modifications you want. You would define headings for certain categories, with image files specified.

  6. #6
    Join Date
    Oct 2008
    Location
    Lakewood Ny
    Posts
    21
    Plugin Contributions
    0

    Default Re: Modifying

    Thanks Glenn I'll take a look at this
    where there's a will there's a way

  7. #7
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,145
    Plugin Contributions
    0

    Default Re: Modifying

    Also, do NOT save your changes to the template_default or classic folders. If you do they will be lost with the next Zen Cart update/upgrade. Instead, follow the template (override) system. You should save the changes to the folders used by the Cherry Zen template.
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

 

 

Similar Threads

  1. Modifying IH2
    By luckydog in forum General Questions
    Replies: 0
    Last Post: 4 Aug 2009, 04:38 AM
  2. Modifying Forms
    By tatebn in forum General Questions
    Replies: 0
    Last Post: 29 Jun 2009, 01:44 PM
  3. Modifying Centerboxes
    By CREEPUR in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 8 Jul 2008, 02:24 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
  •