0
Welcome Guest! Login
0 items Join Now

How can I avoid to see the menus in SOME pages of my website?

    • Jose Carrasquero's Avatar

    How can I avoid to see the menus in SOME pages of my website?

    Posted 17 years 8 months ago
    • Last year my ex webmaster installed the Exposé component on my own website with my RT template. In that page, he eliminated the lateral menu so Exposé is in the middle with no elements beside and looks perfect that way. How did he do that? Its look like a modification on the template. Can anyone explain how can I eliminate menus from especific pages of a website?
      Thanks!

      José
  • Re: How can I avoid to see the menus in SOME pages of my website?

    Posted 17 years 8 months ago
    • With most RT templates, the modules are collaspable. Therefore, when ever there is nothing publish in that position in Admin > Modules > Site Modules, it will not appear.
    • James Spencer / Developer & Support / Hull, UK
    • Jose Carrasquero's Avatar

    Re: How can I avoid to see the menus in SOME pages of my website?

    Posted 17 years 8 months ago
    • For example, the lateral menu is set to be at ALL pages, but doesn´t appear in that page (which is perfect). My ex webmaster "clean" the entire page to install Exposé. I just want to know how he managed to do that. I know I can set the modules to appear in all pages or in one but I don´t know how to avoid a module to disappear just in one. (My English is not that good, sorry)
      José
    • Last Edit: 17 years 8 months ago by .
  • Re: How can I avoid to see the menus in SOME pages of my website?

    Posted 17 years 8 months ago
    • He would have done something like this.

      1. Opened index.php
      2. Found
      <div id="left">
      <?php mosLoadModules( 'left', -2 ); ?>
      </div>
      3. Change to
      <?php if ($option != "com_expose") : ?>
      <div id="left">
      <?php mosLoadModules( 'left', -2 ); ?>
      </div>
      <?php endif; ?>
    • James Spencer / Developer & Support / Hull, UK

Time to create page: 0.047 seconds