0
Welcome Guest! Login
0 items Join Now

Re: Most stupid Joomla question ever!

    • 's Avatar

    Re: Re: Most stupid Joomla question ever!

    Posted 18 years 1 month ago
    • Cheers Matthew for trying :)

      Found another great way to do it....

      there is a workaround....

      Make a copy of your template and remove the module position that you don't want to show...

      edit the template.xml file so it will install as a new template with a new name from the original...

      then assign that template to the menu items that you don't want that module position to show on!

      you can then change the assignment of the module in question to all and it will not show on those menu items you don't want them to because those positions don't exist in the template!

      That should do it!

      There was another idea, that my head just couldnt cope with at this time of the day... But I reckon if the component (forum in this case) is loaded it should un-load user1 module position...
      <?php
      if($option != 'com_joomlaboard'){

      mosLoadModules ( 'user1',-1);

      }
      ?>

      Whole thread here:

      forum.joomla.org/index.php/topic,125170.0.html

      Still I am baffled that and option like "All except" is not present... is it part of the new beta release? (cant remember..).
    • 's Avatar

    Re: Re: Most stupid Joomla question ever!

    Posted 18 years 1 month ago
    • Tried the last solution and something did happen.. just not the right stuff :)
      Will look into it tommorow as it sounds like a smart idea.
    • Matthew's Avatar
    • Matthew
    • Hero Rocketeer
    • Posts: 299
    • Thanks: 0

    Re: Re: Most stupid Joomla question ever!

    Posted 18 years 1 month ago
    • Thomas wrote:
      Cheers Matthew for trying :)

      Found another great way to do it....

      there is a workaround....

      Make a copy of your template and remove the module position that you don't want to show...

      edit the template.xml file so it will install as a new template with a new name from the original...

      then assign that template to the menu items that you don't want that module position to show on!

      you can then change the assignment of the module in question to all and it will not show on those menu items you don't want them to because those positions don't exist in the template!

      That is pretty much what I had outlined in option 1, I just failed to mention that it was important to rename the template in the xml file so that it can be selected.

      Which method did you wind up using, and what is it doing wrong?
    • www.gofftech.com Web Design
    • 's Avatar

    Re: Re: Most stupid Joomla question ever!

    Posted 18 years 1 month ago
    • Sorry Matt...

      Never saw your option 1 - only looked at the code :)

      But I did try option 2, but it went fast so something did go wrong..

      Tried with com_contact and un-load left position, but that resulted in all modules was showing in left module, just messed up layout wise. And when I clicked the contact button everything looked normal and left position was still there..
    • Matthew's Avatar
    • Matthew
    • Hero Rocketeer
    • Posts: 299
    • Thanks: 0

    Re: Re: Most stupid Joomla question ever!

    Posted 18 years 1 month ago
    • No worries Thomas.

      If you want to PM me with the template that you are using, and where the module is supposed to be, I'll send you working code for it.
    • www.gofftech.com Web Design
    • 's Avatar

    Re: Re: Most stupid Joomla question ever!

    Posted 18 years 1 month ago
    • Cheers Matt...

      I'll have a look at it when I get home from work, but will def. contact you if I fail at this :)

Time to create page: 0.061 seconds