Jump to content

Move Scene to the left column


Recommended Posts

I need two images for each category. One for the thumbs in main menu. The other to display when navigating categories. The shop is for bijou, and i want the thumb to be a ring by example, and the page to display a model showing the ring. So, two images are needed.

I'm mapping the model's image to the category, so it is shown in the scene. But the scene is in the center column, and i wish i could move it to the left column. Someone gave me a code to move the category image to a column and i think i'd need a similar code, but i have no references about how to write the code. Any clue? See:
http://www.prestashop.com/forums/viewthread/86554/general_discussion/category_image_in_the_left_columns_instead_of_the_center

Kind regards,
Mayid.

Link to comment
Share on other sites

So, taking a look at the files, the file category.php includes the header.php file wich includes header.tpl (and here's the left_side_column resides), and then it creates the $scene object. So, i rearranged the include steps and put them all in the bottom oh category.php, this way:

.... category.php logic and object generation ....

include(dirname(__FILE__).'/header.php');
include(dirname(__FILE__).'/product-sort.php');
$smarty->display(_PS_THEME_DIR_.'category.tpl');

include(dirname(__FILE__).'/footer.php');



Hope this will no cause any trouble.

Link to comment
Share on other sites

×
×
  • Create New...