Anton_bcn Posted August 3, 2015 Share Posted August 3, 2015 I upgrade with no problem prestashop 1.4 to 1.6 with official module this variable is dynamically added to javascript variables in file global.tpl And i note strange problem the variable page_name, which is forms from Controller should be name of controller. But some how in category page is also index, not category. when i see the source i see this: var page_name='index' instead of this: var page_name='category' So how i can fix that? Why it can be wrong? Is it somewhere in database or in override or...? Link to comment Share on other sites More sharing options...
Anton_bcn Posted September 17, 2015 Author Share Posted September 17, 2015 Please. No one can help? Or may be i have wrond description of problem? Link to comment Share on other sites More sharing options...
Anton_bcn Posted September 17, 2015 Author Share Posted September 17, 2015 Yes, and i don't have an option of cache activated, because web page its in process of development. I just wonder if some one can point me how to forms this variable and where?... Is it possible to override this variable in some module? Probably i have something from old version... P.S. I hope its as always just something i cant see... its happen some times when you work to hard and its kind some blindness =) Link to comment Share on other sites More sharing options...
Anton_bcn Posted September 18, 2015 Author Share Posted September 18, 2015 Thank you, there is alwais correct page_name... keep looking in modules where it can be changed. Link to comment Share on other sites More sharing options...
Recommended Posts