0
Welcome Guest! Login
0 items Join Now

Re: Most stupid Joomla question ever!

    • 's Avatar

    Re: Most stupid Joomla question ever!

    Posted 18 years 1 month ago
    • Well no matter how much you know about software, cms' etc.. you will sometime learn something new, something everyone knew except you..

      Recently I found out a command called ctrl+enter in Photoshop, a command that I had wondered about for years... Probably something EVERYONE knew except me...

      But now I have one of those moments with Joomla.. I am sure this is possible and I am sure everyone knows so please answer me this:

      When I make a new module I can define on what pages that module should show up. I can define it to be all pages, or one page only and with some ctrl clicking several different pages - no problem.

      But for instance if I say some module should be on EVERYTHING except on page - how is that done?

      I know I can select everything and de-select one page, but when I add more pages those are not chosen pr. default.

      So how can I set a module to show on all pages, and all future pages except one?

      Ok so give it to me.. all the lol, roflmao, lmao, noob, newbie, omg that you want, but please tell me the answer after that :D
  • Re: Re: Most stupid Joomla question ever!

    Posted 18 years 1 month ago
    • I will take half of the ridcule if someone says the answer ;D

      Also, what does the PS command do(Ctrl+Enter)?
    • James Spencer / Developer & Support / Hull, UK
    • 's Avatar

    Re: Re: Most stupid Joomla question ever!

    Posted 18 years 1 month ago
    • Hehe I'm not alone!!!

      But ctrl+enter takes you out of text mode when you're inside a text field typing something.
    • Dan L's Avatar
    • Dan L
    • Elite Rocketeer
    • Posts: 1453
    • Thanks: 0

    Re: Re: Most stupid Joomla question ever!

    Posted 18 years 1 month ago
    • omg you total n00b, can't believe you don't know the answer to that! ROFLMTO, AMAZING...pwned by Joomla! LOL.






























      ...yeah, anyone know? I haven't a clue myself. :D :D :D
    • Toolbox Digital | Dribbble | Forrst
  • Re: Re: Most stupid Joomla question ever!

    Posted 18 years 1 month ago
    • pmsl LOOOOOOOOOOOOOOOOOOOOOOOOOOOSERS

      Heres how to do it...















      Ask in here and hope someone knows the answer... Anyone?
    • Mack's Avatar
    • Mack
    • Elite Rocketeer
    • Posts: 535
    • Thanks: 0

    Re: Re: Most stupid Joomla question ever!

    Posted 18 years 1 month ago
    • Damn rookies.

      All you have to do is click on the............. wait, that didn't work.

      OK here, you just set in the admin menu................... hmm, didn't work.

      Hold on while I write this little Excel macro................ wow what a pretty blue screen

      1 sec almost got it........









      Here's the answer. Build another site with the one page you don't want to show and put it in a wrapper. On the new site you publish it in all. Then all the new pages in the new site will have the module, while the old site stays static. Then every time you add a new module, just build a whole new site. Problem solved.
    • Robert D. Wagers's Avatar
    • Robert D. Wagers
    • Elite Rocketeer
    • Posts: 1545
    • Thanks: 0
    • Full-Time Cancer Fighter!

    Re: Re: Most stupid Joomla question ever!

    Posted 18 years 1 month ago
    • select the first page you want it to appear on
      goto the last page and click shift+left click
      will select all pages in the designated range
      then find the one page you do not want module to appear and ctrl+left click to deselect
      as far as new pages, i am not too sure it's possible because once you go into manual page selection (instead of ALL PAGES) you have to manually continue to add the new page for it to appear.
    • "Everyone has to get knocked-down every once-in-a-while, otherwise you'll never learn how to get-back-up! "
      A quote attributed to my Grandpa Wagers
    • 's Avatar

    Re: Re: Most stupid Joomla question ever!

    Posted 18 years 1 month ago
    • Robert Wagers wrote:
      As far as new pages, i am not too sure it's possible because once you go into manual page selection (instead of ALL PAGES) you have to manually continue to add the new page for it to appear.

      Yepe that's the problem :)
    • Matthew's Avatar
    • Matthew
    • Hero Rocketeer
    • Posts: 299
    • Thanks: 0

    Re: Re: Most stupid Joomla question ever!

    Posted 18 years 1 month ago
    • AFAIK there is no "clean" solution to this problem.

      There are two possible solutions that I can see, although they are not exactly pretty, and it gets much uglier if there is more than one module being loaded in the target location (in other words left or right column).

      1. Create a copy of the template, and disable module load for the location in question. Select the copy of the template for that one item.

      2. (and this is for the columns, or other situations where multiple modules are loaded into a single module location) Publish the module in question to an unused module location, and set it to show for "all". Create a second module, and publish it to a second unused module location, and set it to only the item that you wish to exclude. Amend the index.php code for the template to look something like this (I am using the left column for this example, adapt as needed, also replace unusedlocation with whatever works for your template):
      <?php if (mosCountModules('left')) { ?>
      &nbsp; &nbsp; <td class="left">
      &nbsp; &nbsp; &nbsp; &nbsp; <div class="sidepad">
      &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <?php mosLoadModules('left', -2); ?>
      &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <?php if (!mosCountModules('unusedlocation#2') { // Check for the flag module if it exists, don't load module
      &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; mosLoadModules ('unusedlocation#1', -2) //load module, modify style if needed
      &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; } ?>
      &nbsp; &nbsp; &nbsp; &nbsp; </div>
      &nbsp; &nbsp; </td>
      <?php } ?>

      Note that, in this example, the module would be loaded after the other modules in the left column. Making it load before them is easy, just move the normal module load to after the conditional load. Making the module show up the the middle of existing modules would require more work, and I'm feeling lazy right now, but if that is needed, let me know, and I'll take an extra swig of motivation.

      HTH
    • www.gofftech.com Web Design
  • Re: Re: Most stupid Joomla question ever!

    Posted 18 years 1 month ago
    • That looks far too complex
      This image is hidden for guests.
      Please log in or register to see it.
      Ill stick with my highlighted

      Thanks anyway Matthew
      This image is hidden for guests.
      Please log in or register to see it.
    • James Spencer / Developer & Support / Hull, UK

Time to create page: 0.079 seconds