-
AuthorPosts
-
July 31, 2007 at 9:01 am #121727
Hi….
I’ve been testing this template and have the following problem.I want to publish different modules on various item pages that isnt associated to a menu (I’m using AlphaContent) but I can only get the Mod to appear if published to a main menu item.
I’ve tried adding the item to a new menu (published but not assigned) only then the item appears in the Menu Item Links but even when selected it wont show.
Anyone?!
Menalto FriendMenalto
- Join date:
- May 2007
- Posts:
- 4736
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 2
- Thanked:
- 531 times in 361 posts
July 31, 2007 at 9:17 am #225737Give us an url to your site?
July 31, 2007 at 9:24 am #225738Hi Menalto’
The site is full of the example content (off line mostly) but I’ve turned it ‘on’ now for a short while.
Follow this link and you’ll see the Weather Banner (right) appears but only because I have it linked to the Main Menu item “Local Weather”. If I assign it to the ‘Rosebud’ page it wont appear.Thanks for your quick reply.
Menalto FriendMenalto
- Join date:
- May 2007
- Posts:
- 4736
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 2
- Thanked:
- 531 times in 361 posts
July 31, 2007 at 9:44 am #225742In the module, try to set it to unassigned.If not help ill dig more into it.Btw if you want PM me admin access to your site also
July 31, 2007 at 10:02 am #225747Cool thanks will try now.
August 2, 2007 at 7:03 am #226095Hi Menalto – did you get my PM yesterday????
Menalto FriendMenalto
- Join date:
- May 2007
- Posts:
- 4736
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 2
- Thanked:
- 531 times in 361 posts
August 2, 2007 at 7:59 am #226104Got it and check this later today
August 3, 2007 at 6:37 am #226192Thanks…
I’ve look around and it looks like a problem for Joomla 1.12.
I’ve applied this hack but no diff (see page bottom) http://forum.joomla.org/index.php/topic,125365.60.htmlThen I found this ‘additional’ solution but to be honest I couldnt work out how to apply it…
http://forum.joomla.org/index.php/topic,127977.msg629195.html#msg629195Am I on the right track????
Thanks again,
August 4, 2007 at 12:29 am #226282<em>@rapid 23332 wrote:</em><blockquote>Thanks…
I’ve look around and it looks like a problem for Joomla 1.12.
I’ve applied this hack but no diff (see page bottom) http://forum.joomla.org/index.php/topic,125365.60.htmlThen I found this ‘additional’ solution but to be honest I couldnt work out how to apply it…
http://forum.joomla.org/index.php/topic,127977.msg629195.html#msg629195Am I on the right track????
Thanks again,</blockquote>
I´m following you.
I have changed this:
[PHP]
<div id=”ja-current-content”>
<?php
global $mainframe, $option;
$m_menu = $mainframe->get( “menu” );
$m_params = new mosParameters( $m_menu->params );
$m_intro = $m_params->def( “intro”, 4 );
$m_leading = $m_params->def( “leading”, 1 );
if ( $option != “com_frontpage” || $m_intro || $m_leading) {
?>
<?php mosMainBody(); ?>
<?php } ?><?php if ( mosCountModules(“ja-news”) ) { ?>
<div id=”ja-newswrap”>
<?php mosLoadModules ( “ja-news”, -1 ); ?>
</div>
<?php } ?>
</div>
[/PHP]To this:
[PHP]
<div id=”ja-current-content”>
<?php
global $mainframe, $option;
$m_menu = $mainframe->get( “menu” );
$m_params = new mosParameters( $m_menu->params );
$m_intro = $m_params->def( “intro”, 4 );
$m_leading = $m_params->def( “leading”, 1 );
if ( $option != “com_frontpage” || $m_intro || $m_leading) {
?>
<?php mosMainBody(); ?>
<?php } ?><?php if (( mosCountModules(“ja-news”))&& ($option == ‘com_frontpage’ )) { ?>
<div id=”ja-newswrap”>
<?php mosLoadModules ( “ja-news”, -1 ); ?>
</div>
<?php } ?>
</div>
[/PHP]I had the same problem with the janews module on the ja-news position, it was repeating on other pages, now it is not.
It can be inserted on other module positions, to not appear on other sections than the frontpage.Hope this can help.
August 5, 2007 at 3:57 pm #226399Thanks – that fixed one part 🙂
Just need to find away to load modules on sub pages…August 6, 2007 at 3:43 am #226434I think its simpler than you think, just take any module in the site modules section on the administrator backend, and take for example the banners module, once you click on the banners module it will take you to the banners module configuration page, there are several settings, to achieve what you want, you will need the position, module order, access level and the published settings on the left of the page, but most important configuration setting is on the right side, where says Pages / Items thats where you can select where in your site you want the banners module to appear.
and thats all.
I think thats what you meant.
hope this helps
August 6, 2007 at 4:03 am #226437Thanks – yes I have been doing this in the past. But if I add a module to a main menu item – the mod will display on all sub pages. The sub pages wont appear in the left selection screen (mod options), I found I can get around this if I create a new menu (but not assign the menu mod) however they can only be viewed if I use the joomla menu system. I’m building a site that needs to have an easy navigation for state, region & town that then links to a page. So potentially it could have 200+ towns listed and therefore a standard menu will not do. I’ve installed AlphaMenu which is great but then loose control of being able to assign individual modules to town pages. No doubt its a combination of problems I just can’t find another solution.
PS. Joomla 1.013 was released with an option to switch back to the old itemid system prior to 1.0.12.
August 7, 2007 at 6:03 pm #226569Hi again,
first joomla migrates the modules from a menu element to all submenus, so you have the possibility to create different copies of the modules you will use.
Next, dont try to have it all in on place, make more content and less menu, but if is really necessary check http://extensions.joomla.org.
Its not a joomla problem, otherwise go to http://www.joomlart.com/forums/topic/module-on-sub-pages/
and go to post #8 and #9 and follow the examples but this time with a different component, something else, i think this can apply to modules, sections and categories too, but im not sure of that. -
AuthorPosts
This topic contains 13 replies, has 3 voices, and was last updated by fsvo_3000 17 years, 4 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum