sershio Posted December 4, 2015 Share Posted December 4, 2015 Hi, I have a problem, in my store i have the category tree block dynamized in a home page (<div id="page">) but, when i change of page to category or subcategory pages (<div id="category">), my tree branch its cponvert to dhtml and their style has changed. In my module configuration, i have activated dinamic tree and the level is 0 (infinite), and in themes configuration my column left is activated in all pages. I need the same categories block at all pages. Many thanks. Link to comment Share on other sites More sharing options...
NemoPS Posted December 4, 2015 Share Posted December 4, 2015 Might be some JS issue, could you share the site's url? Link to comment Share on other sites More sharing options...
sershio Posted December 4, 2015 Author Share Posted December 4, 2015 (edited) Might be some JS issue, could you share the site's url? Many thanks Nemo1. http://www.dieteticaeconatural.com/tienda/es/ In this page my block categories is ok. I have the class "tree dynamized" in block categories. http://www.dieteticaeconatural.com/tienda/es/13-deporte In this page, has changed and not dinamyed because i have the class "tree dhtml" Edited December 4, 2015 by sershio (see edit history) Link to comment Share on other sites More sharing options...
sershio Posted December 5, 2015 Author Share Posted December 5, 2015 Please, any suggestion? Ii'm crazy with this problem... I see the JS files but i think that this files are correctly. Thanks. Link to comment Share on other sites More sharing options...
NemoPS Posted December 5, 2015 Share Posted December 5, 2015 You need to change the blockcategories setting. You are using the current category as root, while I guess you want to always have them all displayed Link to comment Share on other sites More sharing options...
sershio Posted December 5, 2015 Author Share Posted December 5, 2015 You need to change the blockcategories setting. You are using the current category as root, while I guess you want to always have them all displayed In my module config i have selected a home category where category root config. the problem it's only in a page "category" displayed. in a home and a product page i can see the tree dynamized. Link to comment Share on other sites More sharing options...
sershio Posted December 5, 2015 Author Share Posted December 5, 2015 My error has ocurred when i charge the page with <body id=category"> only. (SCREENSHOT) Link to comment Share on other sites More sharing options...
NemoPS Posted December 7, 2015 Share Posted December 7, 2015 Could you screen your module's BO configuration? Link to comment Share on other sites More sharing options...
sershio Posted December 7, 2015 Author Share Posted December 7, 2015 Could you screen your module's BO configuration? Yes, i think that my configuration it's ok, maybe it's a JS problem? Not turn my tree dhtml to dynamized... Thanks Nemo1. Link to comment Share on other sites More sharing options...
NemoPS Posted December 7, 2015 Share Posted December 7, 2015 Try clearing your cache, it might be stuck (advanced parameters, performance) Link to comment Share on other sites More sharing options...
sershio Posted December 7, 2015 Author Share Posted December 7, 2015 Try clearing your cache, it might be stuck (advanced parameters, performance) I disabled and clear the cache and no difference on the block. Link to comment Share on other sites More sharing options...
sershio Posted December 7, 2015 Author Share Posted December 7, 2015 Hi Nemo1 and prestashopers,I have finally been able to activate the function, but I have had to force from the if from the blockcategories.tpl in default-theme and I forced the dynamized class. Thus leaving the code: <ul class="tree {if $isDhtml}dynamized{/if}"> Al least i added this code in blockcategories.css from my theme: /shop/themes/theme/css/modules/blockcategories/blockcategories.css #categories_block_left li { position: relative; } #categories_block_left li a { font-weight: normal; display: block; font-size: 13px; line-height: 30px; padding: 0 0px 0 0px; } #categories_block_left li a:before { content: "\f105"; display: inline; font-family: "FontAwesome"; font-size: 12px; padding-right: 5px; } #categories_block_left li span.grower { display: block; position: absolute; right: 0; top: 0; cursor: pointer; font-family: "FontAwesome"; font-size: 10px; } #categories_block_left li span.grower.OPEN:before, #categories_block_left li span.grower.CLOSE:before { content: "\f068"; display: block; vertical-align: middle; width: 30px; height: 30px; line-height: 30px; text-align: center; } #categories_block_left li span.grower.CLOSE:before { content: "\f067"; } #categories_block_left li li { margin-left: 10px; } #categories_block_left li li a { font-weight: normal; } Maybe that is a bug from mi installation... I don't know... Many thanks Nemo1 for your time. +1 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now