ffaabbss wrote:
don't get your problem sorry. the solution i mentioned is straigth forward and should be problematic in any way.. please explain yourself some more...
Well, I've created a menu called cb_menu. It has two items on it. One is a Link-Component Item back to the home page, and the other is a Link-Contact Item to the webmaster email. I'd like these to appear on every CB page so that users can either get home or help from the where they are. Currently, the CB pages are full width and the only way to navigate anywhere is with the browser buttons or by clicking the header to return to the home page.
What I gather is that I should set the menu to appear on All Pages, but then add some code to the template so that it only appears on the designated pages by publishing it to a module that only appears when called by the CB comprofiler page. So I've published this menu to All Pages in the user5 position.
I've changed my template code in the area where I think it should go (based on my adding the guestonly module position which is not included in my template) to this:
[code:1]<div class="clear"></div>
<div id="wrapper">
<?php if (mosCountModules('left')) { ?>
<div id="leftcol">
<?php mosLoadModules ( 'left',-2 ); ?>
<?php if ($my->id == '0') mosLoadModules ( 'guestonly', -2 ); ?>
<?php if ( $_REQUEST == "com_comprofiler" ) { mosLoadModules( 'user5' ); } ?>
</div> <!-- END leftcol -->
<?php } ?>[/code:1]
When I navigate to the CB Register page, by choosing "Register" from my CB login module, I don't see the menu.
Here's my site:
www.motorcops.org
If you click the Register link in the login module, you'll see the CB Registration page that I'm speaking of, but no menu.