Jump to content

Recommended Posts

Hi all Prestashop pros,

 

I've been trying to duplicate a module that shows a simple menu. I've been renamed the folders/files from jbx_menu to jbx_menu2, so as classes in php files.

 

This works nice, but the problem comes when I try to add some items on one menu. The two menus appears to be the same, even if I change one item in one menu, it changes in the other one.

 

Can anyone help me with this one?

I guess somewhere, the two menu blocks are pointing at the same direction...

 

However, in the BO i have 2 links to the menu module, but the token (i guess module token) remains the same.

 

I've attached a screenshot.

 

Thanks all

 

 

(Sorry for my english)

post-391708-0-69877300-1345565225_thumb.jpg

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

Further info:

I've seen that this module creates 2 tables in the database, i've modificated it and now I have 2 tables for each duplicated module. But the 2 menus are still the same.

 

I think its a "tokens thing"

 

How tokens are created and what do they mean to prestashop?

 

Thanks in advance.

Link to comment
Share on other sites

×
×
  • Create New...