lookha Posted January 4, 2013 Share Posted January 4, 2013 (edited) hi all I am trying to hide the right column on homepage based on $page_name value. The point is that when I print the $page_name on header.tpl it returns "index" but when I print it on footer.tpl it returns "product", therefore i cannot hide the right column. is that normal? I thought that the expected value on footer.tpl for the homepage should be "index" too. am I right? thanks PS 1.5.3.1 Edited January 4, 2013 by lookha (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted January 4, 2013 Share Posted January 4, 2013 Hi, Indeed, it should be index, maybe some module you installed it's changing the value. Have you tried disabling all modules and seeing what happens? Link to comment Share on other sites More sharing options...
atwitz3nd Posted April 12, 2013 Share Posted April 12, 2013 I'm having a similar problem. My reassurance block is changing the page_name to 'category' all the time. It's 'index' in header and footer. I'm trying to use the global variable to hide a block if state is true, but of course it is always 'category' so it's not working. Where or how are the page_names set and stored? Any ideas why the module is overwriting the page_name? I've upgraded to 1.5.4 on a test site, I've re-installed the module etc but {$page_name} keeps just outputting as 'category' Please help Many Thanks Link to comment Share on other sites More sharing options...
NemoPS Posted April 13, 2013 Share Posted April 13, 2013 (edited) That only means the module was badly programmed, not taking it into account. The paypal module is also causing troubles with SSL since it retwrites the base uri to ALWAYS be ssl, thus causing darn issues with ajax and XSS-like call being issued. Remove it from the module, nothing else to do Edited April 13, 2013 by Nemo1 (see edit history) Link to comment Share on other sites More sharing options...
Ron morales Posted May 2, 2013 Share Posted May 2, 2013 to me it misses the top menu blocktopmenu and changed to the 1.5.2 far so good Link to comment Share on other sites More sharing options...
Recommended Posts