Jump to content

Category block display problem


davency

Recommended Posts

Good morning.

 

I have a problem with the category block.

 

Actually in the footer all the categories are shown without any problem.

 

In the left column it only shows the first category AND the name of the category does not change when you

switch the language.

 

In the source code the first category gets this class:

 

<div class="block_content" style="">
<ul class="tree ">
<li class="last">    <-----  ?????
 
Edit:
 
Ok, problem solved for the language. In the database the name of the category was the same for both languages.
 
Well, the module block was pointing to that category which was in the database but not in the backoffice of prestashop. (!)
 
I've deleted that category from the database and now the module refuses to show up in the left column.

 

Any idea of what is happening there? 

 

Btw. I did not do that stuff from the start. Have to solve the problems from the work of another one. :-)

 

Thanks a lot.

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

Never delete categories directly in the database. You will disturb the nleft-nright system. You may even have deleted the root.

 

It is difficult to say what you have done - let alone what you should do. If you have a backup I strongly recommend to put an older version of the categories table back.

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...