Optimus_Sam Posted October 25, 2013 Share Posted October 25, 2013 (edited) Hi guys, I'm using ps 1.5.5.0 with the default theme on verwarmingsshop.be And the problem is that my category and sub menu's are shown "double" on the pages... Can someone help me out with this? I'll add a screenshot so you guys can see what i mean And here is a link to that webpage, but it gives the same problem on and off on other pages... Thanks! Optimus Edited November 16, 2013 by Optimus_Sam (see edit history) Link to comment Share on other sites More sharing options...
Optimus_Sam Posted October 25, 2013 Author Share Posted October 25, 2013 I mean, in BO it looks normal. But on the webpage, it sometimes shows double... And also the pictures are messed up, showing doubles sometimes Link to comment Share on other sites More sharing options...
vekia Posted October 25, 2013 Share Posted October 25, 2013 take a look here please: http://www.prestashop.com/forums/topic/273022-info-regarding-group-description/?do=findComment&comment=1374950 Link to comment Share on other sites More sharing options...
Optimus_Sam Posted October 25, 2013 Author Share Posted October 25, 2013 Thx Vekia! It looks like a pretty good fix! However, can't locate my category.tpl file in my themes folder :-o Link to comment Share on other sites More sharing options...
vekia Posted October 25, 2013 Share Posted October 25, 2013 themes/YOUR_THEME/category.tpl this file should exist there because without this file category page will not appear! Link to comment Share on other sites More sharing options...
Optimus_Sam Posted October 28, 2013 Author Share Posted October 28, 2013 (edited) Strange. I couldn't find the Category.tpl file. I even tried to make another file called category.tpl to test is the file existed or not, but i don't think it exists since i can easily make a file with that name... Any ideas anyone? Cos i'm really stuck here :s Edited October 28, 2013 by Optimus_Sam (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted October 28, 2013 Share Posted October 28, 2013 can you show what kind of files you've got there? you can make some printscreen 1 Link to comment Share on other sites More sharing options...
Optimus_Sam Posted October 28, 2013 Author Share Posted October 28, 2013 (edited) Thanks Vekia, here are the attachments. If you can't find anything i'll give you my login for Direct Admin. Edited October 28, 2013 by Optimus_Sam (see edit history) Link to comment Share on other sites More sharing options...
Optimus_Sam Posted October 29, 2013 Author Share Posted October 29, 2013 Anybody had the time to take a look at this issue? Link to comment Share on other sites More sharing options...
vekia Posted October 29, 2013 Share Posted October 29, 2013 are you sure that this is structure of theme located in your prestashop installation directory? it looks a bit different than presteshop filesystem Link to comment Share on other sites More sharing options...
Optimus_Sam Posted October 29, 2013 Author Share Posted October 29, 2013 I'll give you the login for my Direct Admin Control panel in a PM. Maybe you could take a look? Link to comment Share on other sites More sharing options...
karolwild Posted November 1, 2013 Share Posted November 1, 2013 Hi Optimus_SamHere is to repair your problem. http://forge.prestashop.com/browse/PSCFV-10654 1 Link to comment Share on other sites More sharing options...
vekia Posted November 2, 2013 Share Posted November 2, 2013 I'll give you the login for my Direct Admin Control panel in a PM. Maybe you could take a look? sorry for late response, i can check it of course 1 Link to comment Share on other sites More sharing options...
karolwild Posted November 2, 2013 Share Posted November 2, 2013 (edited) correct address/domains/verwarmingsshop.be/public_html/themes/default/category.tpl wrong address /domains/verwarmingsshop.be/public_html/axx_sam/themes/default/template/category.tpl/domains/verwarmingsshop.be/public_html/axx_sam/themes/default/category.tpl Edited November 2, 2013 by karolwild (see edit history) 1 Link to comment Share on other sites More sharing options...
Optimus_Sam Posted November 4, 2013 Author Share Posted November 4, 2013 Thanks Vekia and Karolwild! I'll try your suggestions today! I'll keep you posted! Link to comment Share on other sites More sharing options...
prestalearn Posted November 15, 2013 Share Posted November 15, 2013 I have problem with the double sentences of the category description also. I have replaced my /theme/mytheme/category.tpl with the suggestion here: http://forge.prestashop.com/browse/PSCFV-10654 with the same result as before. Anyone else who has successfully fixed this error? Thanks Link to comment Share on other sites More sharing options...
Optimus_Sam Posted November 16, 2013 Author Share Posted November 16, 2013 FINALLY SOLVED!! It was solved by this link provided by Vekia in his first post. Just changing the <p into a <div It was that simple. Kinda went fast after i finally found my category.tpl file... it was here: /domains/zet-shop.be/public_html/themes/default/ and not where i was looking... But Loads of thanks and we can finally mark this as solved Oh btw, anyone going to Paris next week? We should meet up! Link to comment Share on other sites More sharing options...
prestalearn Posted November 16, 2013 Share Posted November 16, 2013 Happy you solved it Optimus_sam. For me the error still remains though, tried everything I can think of and read in this posts.. Still no success... Running 1.5.6.... Link to comment Share on other sites More sharing options...
karolwild Posted November 16, 2013 Share Posted November 16, 2013 November 15, 2013, the file has changed.Change category.tpl not enough.Now you need to change three files: themes/default/category.tplclasses/Tools.phpcontrollers/front/CategoryController.php Add truncate category description preserving html tags https://github.com/PrestaShop/PrestaShop/commit/50eee795ed9a2e592e25a8adf52f45a6eec84d11 Before the change, please make copies of the files. Link to comment Share on other sites More sharing options...
prestalearn Posted November 19, 2013 Share Posted November 19, 2013 November 15, 2013, the file has changed. Change category.tpl not enough. Now you need to change three files: themes/default/category.tpl classes/Tools.php controllers/front/CategoryController.php Add truncate category description preserving html tags https://github.com/PrestaShop/PrestaShop/commit/50eee795ed9a2e592e25a8adf52f45a6eec84d11 Before the change, please make copies of the files. Thanks but that did not work for me. I downloaded the three files from github and replaced the original files fully but still the category start displays two times...ANy other suggestion would be highly appriciated! Link to comment Share on other sites More sharing options...
iuliann Posted December 6, 2013 Share Posted December 6, 2013 Hi guys, I'm using ps 1.5.5.0 with the default theme on verwarmingsshop.be And the problem is that my category and sub menu's are shown "double" on the pages... Can someone help me out with this? I'll add a screenshot so you guys can see what i mean And here is a link to that webpage, but it gives the same problem on and off on other pages... Thanks! Optimus Here is the simplest solution: https://github.com/PrestaShop/PrestaShop/commit/340f6cebe4572d269ca4d67331b2d67ae8169c3e Link to comment Share on other sites More sharing options...
TomPuja Posted January 21, 2014 Share Posted January 21, 2014 Hi all! The advise to change <p> into <div> worked out indeed. However, fixing one issue creates another problem... as soon as I edit the mentioned file my right hand side frame ("drops" into the main frame/column - fro example: Bar "Best sellers" appears under description of subcategory, i.e. at the bottom of middle column). Since I was editing more files previously as well I suspect that this can be caused by code somewhere else... Can you please advise where to look? Thank you! Link to comment Share on other sites More sharing options...
vekia Posted January 21, 2014 Share Posted January 21, 2014 any chance to get url to your website? it's hard to help without inspection of page source. Link to comment Share on other sites More sharing options...
TomPuja Posted January 21, 2014 Share Posted January 21, 2014 I am sorry for omitting it again... Here it is: www.norwayshop.com 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