Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] Remove component from one page not working
#1
Hello,

Following the wiki, I need <?php if (return_page_slug()!='PAGE') get_component('COMPNAME'); ?> in my template.php to disable a component on a certain page.
It is not working for me.
I am trying to disable sidebar on a page.
I am adding the line right after <?php get_component('sidebar'); ?>

Anything I am missing?

Thank you.
Reply


Messages In This Thread
[SOLVED] Remove component from one page not working - by inteq - 2014-10-22, 10:39:57



Users browsing this thread: 1 Guest(s)