Caballo Renoir Posted November 25, 2013 Share Posted November 25, 2013 Hi, I'm trying to remove the <a href=> code for one of the items in the main menu. The menu module is 'blocktopdcmegamenu', so far I've tryied to see the files blocktopdcmegamenu.TPL, blocktopdcmegamenu.PHP and index.php with no luck. It's a Prestashop 1.5.4.1 with Lingerie theme from PrestaCoder. Store URL: http://www.mytheclothing.com/en/ My goal is to remove the link from the STORE item in the menu. I only need STORE to show the submenu, with no link to the main category. I've marked in the attached screenshot what I want to disable. Thank you very much!! Ernesto. Link to comment Share on other sites More sharing options...
Caballo Renoir Posted November 26, 2013 Author Share Posted November 26, 2013 make a .tpl file in theme folder name megamenu and remove href link. More or less I think I understand it, but... Is there any way I can create a static TPL file to put it there? Or I must create it manually? Link to comment Share on other sites More sharing options...
Caballo Renoir Posted November 27, 2013 Author Share Posted November 27, 2013 I'm still unable to remove the link... Anyone can point me to the right direction? Link to comment Share on other sites More sharing options...
vekia Posted November 27, 2013 Share Posted November 27, 2013 it's probably because no one knows this menu. it's free? Link to comment Share on other sites More sharing options...
Caballo Renoir Posted December 19, 2013 Author Share Posted December 19, 2013 it's probably because no one knows this menu. it's free? It is not, it's the 'blocktopdcmegamenu' from theme Lingerie (PrestaCoder). I can copy the code from the store and create a static .tpl where I can remove that part of code? Link to comment Share on other sites More sharing options...
vekia Posted December 19, 2013 Share Posted December 19, 2013 well, you can share code here, then it will be much easier to say what you have to do Link to comment Share on other sites More sharing options...
Caballo Renoir Posted December 20, 2013 Author Share Posted December 20, 2013 well, you can share code here, then it will be much easier to say what you have to do Okay, but the problem I have is that the menu is created through I configure within the module, so everything I saw is PHP code, and a short TPL file... I just assign (in the module config) this category (main one) in the second position of the menu and it appears in the fron office. If I attach the files blocktopdcmegamenu.TPL, blocktopdcmegamenu.PHP and index.php could be useful for you? Link to comment Share on other sites More sharing options...
vekia Posted December 20, 2013 Share Posted December 20, 2013 tpl and blocktopdcmegamenu.php will be enough, nothing more (i suppose so) Link to comment Share on other sites More sharing options...
Caballo Renoir Posted December 20, 2013 Author Share Posted December 20, 2013 tpl and blocktopdcmegamenu.php will be enough, nothing more (i suppose so) Hi, Here you have the files. Hope you can help me! https://mega.co.nz/#!XBghwRCZ!BzWGzEzfRALIMvP8SOXsKl_LJp98TryX_L88pwGMnro https://mega.co.nz/#!yFgDXTyS!VBgQSx7tMaPz1oXnLRhUIRyHOlkfAfgstw1wKQlw1yY Thanks again, Ernesto. Link to comment Share on other sites More sharing options...
Caballo Renoir Posted December 21, 2013 Author Share Posted December 21, 2013 Hi, anyone can bring me anything to test? Thanks, Ernesto. Link to comment Share on other sites More sharing options...
Recommended Posts