Prevent modules to appear in the inner pages

wael
wael
Offline
0
I used the itemid in the parameter and it works fine, but I need to make the right position modules to appear only in the music collection start page not in the inner pages to save some space. Is it doable?
Responses (9)
  • Accepted Answer

    greengeek
    greengeek
    Offline
    Saturday, August 14 2010, 11:04 PM - #Permalink
    0
    Not sure if this is what you want, but I have my site setup so that the modules like Recently Added and the Top Viewed only show up on my music solutions home page and not on any of the other artists or album pages. I did this for the same reasons, so that they would not take up space on those other pages.

    I did this by going into the module manager and bringing up the modules I didn't want to show up on all pages and changing the views there under Menu Assignment.

    I have my music solutions home page link on my menu called Music. So under Menu Assignment, in the module manager, I switched the Menus button to Select Menu Item(s) from the List. And since I called it Music, I only highlighted the Music item in that list. That way the module only shows up on that page and does not show up on any other pages. I then did this to all the other modules I wanted to only show up on that page.
    The reply is currently minimized Show
  • Accepted Answer

    wael
    wael
    Offline
    Tuesday, August 17 2010, 02:10 AM - #Permalink
    0
    But if you are using the "Music" menu itemid in the music collection parameter the module will show in all inner pages despite that you only selected music, I am thinking about making an html module and type inside it {loadmodule 17} for example, but I am not sure if this will work.
    The reply is currently minimized Show
  • Accepted Answer

    greengeek
    greengeek
    Offline
    Tuesday, August 17 2010, 04:39 PM - #Permalink
    0
    How I have mine setup above, those modules only show up on the one page, when they click on the music link in the menu. All other pages on my site, both in mc and outside of mc don't show them. So basically I have 4 modules only showing up on my mc home page which I use to show newest albums, newest artists, top viewed artists, and top viewed albums.
    The reply is currently minimized Show
  • Accepted Answer

    wael
    wael
    Offline
    Tuesday, August 17 2010, 08:33 PM - #Permalink
    0
    But do you have other modules that appear in albums, artist and songs pages? If you have only these 4 modules that appear in Music startpage it means that you didn’t put the itemid in music collection parameter, this is easy I can do that, but the difficult thing is to make for example 4 modules appear in all music collection pages and another 4 modules that only appear in the start page. As I want to hide only modules in right position from showing at the inner pages to save space while keep other modules - that don’t affect space - showing in all pages.
    You are really very active while admin in vacation :)
    The reply is currently minimized Show
  • Accepted Answer

    greengeek
    greengeek
    Offline
    Tuesday, August 17 2010, 11:33 PM - #Permalink
    0
    Yep, i have those 4 modules only appearing on my mc home page via the menu and I then have my random album module showing up on the bottom of every page and the jw player module showing up at the top of every page.

    Try the instructions in my first post and it should do it for you. If not I can provide greater details. Here is a screen shot of the key field that needs to be changed.

    http://threechimps.com/pics/mchlp01.jpg
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, August 18 2010, 11:37 AM - #Permalink
    0
    of course you can use the loadpostion plugin to show modules on the start page only, but these will be rendered "inside" the component template, if you know what I mean.

    if what you want is to have modules appear on real "module positions", only on the start page, then I think what greengeek told you is OK.

    example:

    your main "music" item (which brings you to the start page) is a menu item with itemid 40, for instance.

    then, you can create another, DIFFERENT menu item for "inner pages". lets supose this has the itemid 50. this menu item actually does not need to be shown anywhere, so you can actually put it in a brand new auxiliar menu, that WONT BE DISPLAYED ANYWHERE, if you know what I mean (I do this very often)

    then, on the music collection itemid parameter, just put 50 (not 40).

    and then make your modules (those you only want on start page) be only rendered on itemid 40

    do you know what I mean?

    makes sense? ;)

    Germi
    The reply is currently minimized Show
  • Accepted Answer

    wael
    wael
    Offline
    Friday, August 20 2010, 09:32 AM - #Permalink
    0
    Guys you are genius, thanks a lot, it worked like a charm. One more question should I change the item id in all modules sitting to the new hiding menu (50), as I notice when I reach an inner page thought a module not form the startpage menu item (40) it displays modules in the right position again. I guess I need to change all modules sitting to item id (50) am I right?
    The reply is currently minimized Show
  • Accepted Answer

    Friday, August 20 2010, 12:01 PM - #Permalink
    0
    yes, of course :) lukely for you, the modules also include the ITEMID parameter so you can avoid that problem, by linking the links on the modules to point the same way the links on the component do! :)

    as you can see, understanding the ITEMID functionality is the KEY of knowing JOOMLA (that's my opinion)

    Germi
    The reply is currently minimized Show
  • Accepted Answer

    wael
    wael
    Offline
    Friday, August 20 2010, 03:05 PM - #Permalink
    0
    I made the new menu item title "test" (itemid 50) then I notice in breadcrumb when I go to inner pages it displays (test C Chris Brown Run It), so should I change the name of it from test to the original name of my start page for instance "Music"? to make the breadcrumb look like this (Music C Chris Brown Run It). Is there any conflict to have two menu items called music in the site?
    The reply is currently minimized Show
Your Reply