Welcome to the MetaMod and Chameleon Support Forums.

Before posting, please check out the FAQs.

helpme

 

Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.

 

Display menus in gamesbox

Display menus in gamesbox

Hi, Hope someone can help as this is a last resort option :S
Iv installed a new component on our site made by Jooforge http://www.jooforge.com/, demo of the component can be found here http://demo.jooforge.com/ the issue im having is their component for some reason is only made to run on a main site, its not made to run as a sub.
Iv managed to get most of their components working ok but my only issues now are the menus.
For this component I had to make two menus, one for the main menu and the other for the menu in the header.
You can see them both here http://www.thegroupthing.org/index.php? … Itemid=131
Again these work ok but for some reason when I go to http://www.thegroupthing.org/index.php? … 5:mafia-ii or http://www.thegroupthing.org/index.php? … 5:mafia-ii the menus disaper, iv tried everything I can think of to make the menus show up, Iv even discussed the issue with the guys at Jooforge who state there's nothing they can do to help.

I guess my question is, is their a way for me to get these menus to show up on these pages using metamod? and if so does anyone know how?

So you know, im already using metatemplate pro so the correct template is used in the correct area and I usualy have SEF turned on for the site but while im working on this Ill leave it turned of.

Edited By: Hangman
16-Oct-10 15:13:11

Hangman
Beginner Modder
ranks
useravatar
Offline
11 Posts
Administrator has disabled public posting

Re: Display menus in gamesbox

Ok I got the menu's to work big_smile took long enough.
Still one issue though, Iv got a banner from http://www.thegroupthing.org/index.php? … Itemid=131 that I want to display on http://www.thegroupthing.org/index.php? … -of-shadow and http://www.thegroupthing.org/index.php? … -of-shadow
The way games box works it displays a different banner depending on the console its added to, just for the reviews Id like to use the same banner on the home page.

Hangman
Beginner Modder
ranks
useravatar
Offline
11 Posts
Administrator has disabled public posting

Re: Display menus in gamesbox

Can I ask, is the "banner" that you're talking about, a module? If so, it will be easy to add it to the pages you mentioned. I'd suggest something like this:

if ( $option == "com_gamesbox" and $view == "document" ) return XXX;
// replace XXX with module id of the banner

That should display the banner on both, providing it's a module and can be controlled like other modules.

Cheers,
Stephen

Stephen Brandon
MetaMod / Chameleon developer
If you use MetaMod or Chameleon, please post a rating and a review at the Joomla! Extensions Directory: Chameleon | MetaMod

metamodguy
useravatar
Offline
3329 Posts
User info in posts
Administrator has disabled public posting

Re: Display menus in gamesbox

Thank you so much for replying Metaguy big_smile an sorry I should have said it was a block :S
Works great now but I should also have added that I need the same block to show up on this page as well :S http://www.thegroupthing.org/index.php? … croblog#27
Adding

if ( $option == "com_gamesbox" and $view == "document" ) return 398;

worked an I thought adding

if ( $option == "com_microblog" and $view == "document" ) return 398;

would work also but I failed.
Any ideas?

Hangman
Beginner Modder
ranks
useravatar
Offline
11 Posts
Administrator has disabled public posting

Re: Display menus in gamesbox

Just use this for the microblog:

if ( $option == "com_microblog" ) return 398;

Stephen Brandon
MetaMod / Chameleon developer
If you use MetaMod or Chameleon, please post a rating and a review at the Joomla! Extensions Directory: Chameleon | MetaMod

metamodguy
useravatar
Offline
3329 Posts
User info in posts
Administrator has disabled public posting

Re: Display menus in gamesbox

Yer I tried that and I ended up with this http://www.thegroupthing.org/index.php? … Itemid=186
I thought Id solved the issue but failed so came back to you big_smile
I should add that I placed both snippets of code in the same metamod mod, should they be in separate mods?


if ( $option == "com_gamesbox" and $view == "document" ) return 398;
if ( $option == "com_microblog" ) return 398;

Hangman
Beginner Modder
ranks
useravatar
Offline
11 Posts
Administrator has disabled public posting

Re: Display menus in gamesbox

Hi Hangman,

can you describe the problem a bit more...? I can see the page you are talking about but I don't know what I am looking for.

It should be fine to have both snippets of PHP in the same rule.

Stephen Brandon
MetaMod / Chameleon developer
If you use MetaMod or Chameleon, please post a rating and a review at the Joomla! Extensions Directory: Chameleon | MetaMod

metamodguy
useravatar
Offline
3329 Posts
User info in posts
Administrator has disabled public posting

Re: Display menus in gamesbox

Ahhh its ok, I suddenly had a brain fart this morning an just disabled the original banner to appear in the blog section big_smile, what was happening was with the metamod set up I was seeing the banner twice.
I must say Iv been using Joomla for years and only just come across metamod/metatemplate and wished Id have found you sooner, this is a cracking mod for anyone to get and add to their site big_smile
O and after sales service is excellent too, thanks very much Metamodguy, Im sure Ill be back at some point big_smile

Hangman
Beginner Modder
ranks
useravatar
Offline
11 Posts
Administrator has disabled public posting

Re: Display menus in gamesbox

You're welcome,
Stephen

Stephen Brandon
MetaMod / Chameleon developer
If you use MetaMod or Chameleon, please post a rating and a review at the Joomla! Extensions Directory: Chameleon | MetaMod

metamodguy
useravatar
Offline
3329 Posts
User info in posts
Administrator has disabled public posting

Re: Display menus in gamesbox

Sorry, Im back again.
Something iv just found happening on the site sad Iv got two banners showing where their should only be the xbox 360 banner :S
Any idea how to remove the top banner?

http://www.thegroupthing.org/xbox360/xb … st-journey

Hangman
Beginner Modder
ranks
useravatar
Offline
11 Posts
Administrator has disabled public posting

Board Info

Board Stats:
 
Total Topics:
1684
Total Polls:
6
Total Posts:
5940
Posts this week:
1
User Info:
 
Total Users:
5162
Newest User:
david30x73
Members Online:
0
Guests Online:
85

Online: 
There are no members online

Forum Legend:

 Topic
 New
 Locked
 Sticky
 Active
 New/Active
 New/Locked
 New Sticky
 Locked/Active
 Active/Sticky
 Sticky/Locked
 Sticky/Active/Locked