Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2009
    Posts
    25
    Plugin Contributions
    0

    Default Help needed with layout

    First question how can I use multiple images for each product ?


    Next- In the main page in the center (not the sideboxes) I want to use images for each category that can allow the customer to go to the category just like on the side ------
    ?
    thanks))))

  2. #2
    Join Date
    Apr 2007
    Posts
    72
    Plugin Contributions
    0

    Default Re: Help needed with layout

    For multiple images install image handler: http://www.zen-cart.com/index.php?ma...roducts_id=117

    For category images, in the admin click on the category name > edit > browse for the category image. You can set the sizes under configuration > images

  3. #3
    Join Date
    Jan 2009
    Posts
    25
    Plugin Contributions
    0

    Default Re: Help needed with layout

    thanks for the info
    but the second part of post refers to adding an image in place of a category text) I did as you suggested and the image appears in the category after it is selectedin the main page

    I guess my question is first how to replace the category text name with an image like a button (something more graphical than text ) but most important , how can i put the categores in the middle pf the main page not just the side and use an image the customer can click on to get to that category thanks

  4. #4
    Join Date
    Mar 2007
    Location
    Serbia, Niš
    Posts
    79
    Plugin Contributions
    1

    Default Re: Help needed with layout

    Fist problem: To get category images on your main page:

    In admin page, under Configuration / Layout Settings
    find
    Categories - Always Show on Main Page
    and change value 0 into 1.

    Second problem: To get category images without text name:

    In:
    - public_html / includes / modules/ ... find category_row.php
    - download to your computer via FTP
    - Open it with some text editor, find next lines:


    // $categories->fields['products_name'] = zen_get_products_name($categories->fields['products_id']);
    $list_box_contents[$row][$col] = array('params' => 'class="categoryListBoxContents"' . ' ' . 'style="width:' . $col_width . '%;"',
    'text' => '<a href="' . zen_href_link(FILENAME_DEFAULT, $cPath_new) . '">' . zen_image(DIR_WS_IMAGES . $categories->fields['categories_image'], $categories->fields['categories_name'], SUBCATEGORY_IMAGE_WIDTH, SUBCATEGORY_IMAGE_HEIGHT) . '<br />'. $categories->fields['categories_name'] . '</a>');

    and delete next text:
    '<br />'. $categories->fields['categories_name'] .
    which I marked in red color in upper text.

    - Don't forget to save it with php extention and then upload it to:

    - public_html / includes / modules/YOUR_TEMPLATE/ as category_row.php

 

 

Similar Threads

  1. Replies: 5
    Last Post: 17 Feb 2010, 05:13 PM
  2. Help with a PAGE LAYOUT that I can repeat as needed
    By MrRogue in forum General Questions
    Replies: 13
    Last Post: 26 Jan 2010, 10:57 AM
  3. Homepage Layout Help Needed
    By elott in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 28 Jan 2008, 05:42 PM
  4. Page layout help needed
    By awoman in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 4 Jun 2007, 03:16 AM
  5. Layout box help needed
    By arcanesanctuary in forum General Questions
    Replies: 5
    Last Post: 24 Dec 2006, 03:43 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