Jump to content

(SOLVED) Category Description shows everything twice


Recommended Posts

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

post-452003-0-82083000-1382688065_thumb.jpg

Edited by Optimus_Sam (see edit history)
Link to comment
Share on other sites

  • 2 weeks later...

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 :D

 

Oh btw, anyone going to Paris next week? We should meet up! :)

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

  • 3 weeks later...

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

  • 1 month later...

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...