Rafiki Posted May 2, 2010 Share Posted May 2, 2010 Hi,Do you know how I can do like this store?http://www.gingerpuplane.com/shop-cat/c2/index.htmlI need to get two sections, "DOGS" and "CATS", and show different categories and background.Thank you. Link to comment Share on other sites More sharing options...
shacker Posted May 3, 2010 Share Posted May 3, 2010 Hi,Do you know how I can do like this store?http://www.gingerpuplane.com/shop-cat/c2/index.htmlI need to get two sections, "DOGS" and "CATS", and show different categories and background.Thank you. Of course. You need to modify your header.tpl with a conditional. If the url is dogs.html, load a css file, if is cats, load another. For example, si the category url is /dogs.html, you can use: {php} if ($_SERVER['REQUEST_URI'] == __PS_BASE_URI__.'dogs.html'){ {/php} <link href="{php}echo __PS_BASE_URI__;{/php}themes/yourtheme/css/slide.css" rel="stylesheet" type="text/css" media="all" /> {php} }else{ {/php}<link href="{php}echo __PS_BASE_URI__;{/php}themes/yourtheme/css/slide2.css" rel="stylesheet" type="text/css" media="all" /> {php}} {/php} Link to comment Share on other sites More sharing options...
Rafiki Posted May 3, 2010 Author Share Posted May 3, 2010 CSS is good for change the styles, but how can I make the different categories for dogs and cats? Link to comment Share on other sites More sharing options...
Guest Posted May 4, 2010 Share Posted May 4, 2010 Hi VIP Shacker,I have got the similar with Rafiki, can help here too?Post:here Link to comment Share on other sites More sharing options...
shacker Posted May 4, 2010 Share Posted May 4, 2010 CSS is good for change the styles, but how can I make the different categories for dogs and cats? The same thing. You can create a condition that if the url is http://..../dogs, the category only load dogs. You need to modify the category module or put only links as text. To load the categories dinamically, this is more complicated, you need to write a new module Link to comment Share on other sites More sharing options...
Rafiki Posted May 4, 2010 Author Share Posted May 4, 2010 This link can help me, but the subcategories are static.I need dynamic subcategories for change when change the category.http://www.prestashop.com/forums/viewthread/44077/P0/third_party_modules/solved___solution_only_subsubcategory_in_a_blockCan you help?Regards Link to comment Share on other sites More sharing options...
Guest Posted May 5, 2010 Share Posted May 5, 2010 Hi Rafiki ,I need the same categories effect as you. Hope somebody can help with this. Link to comment Share on other sites More sharing options...
Recommended Posts