-
AuthorPosts
-
davidyv Friend
davidyv
- Join date:
- July 2007
- Posts:
- 97
- Downloads:
- 1
- Uploads:
- 10
- Thanks:
- 4
- Thanked:
- 2 times in 1 posts
March 2, 2010 at 7:20 am #149123Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
March 3, 2010 at 4:57 am #334577pls open the file templatesja_halitelayoutsblocksmain.php and try to find codes:
[PHP]
<div id=”ja-mainnav” class=”clearfix”>
<?php if (($jamenu = $this->loadMenu())) $jamenu->genMenu (0); ?></div>
[/PHP]
and replace:
[PHP]
<?php if( !$this->isFrontPage() ) { ?>
<div id=”ja-mainnav” class=”clearfix”>
<?php if (($jamenu = $this->loadMenu())) $jamenu->genMenu (0); ?></div>
<?php } ?>
[/PHP]
Good luck1 user says Thank You to Saguaros for this useful post
davidyv Frienddavidyv
- Join date:
- July 2007
- Posts:
- 97
- Downloads:
- 1
- Uploads:
- 10
- Thanks:
- 4
- Thanked:
- 2 times in 1 posts
March 11, 2010 at 3:01 am #335730Thanks a lot!
May 4, 2010 at 7:23 pm #342656I would like to do something similar- I would like to hide the mainmenu (which is my default menu in the template parameters) on a specific menu item. Basically what I am trying to accomplish is getting as close to a blank screen as possible when a specific menu item is clicked because I am running an application from that link and it would be nice to put a real generic look to it.
Is this possible?
Thanks!
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
May 7, 2010 at 2:17 am #342856Dear jewellman!
i’m sorry, the ja menu could not do as you expected
Thanks
alicebb Friendalicebb
- Join date:
- May 2008
- Posts:
- 46
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 4
- Thanked:
- 5 times in 1 posts
May 16, 2010 at 10:34 am #343734<em>@tienhc 167374 wrote:</em><blockquote>pls open the file templatesja_halitelayoutsblocksmain.php and try to find codes: </blockquote>
This is not correct. The relevant code is to be found in a different file header.php not main.php e.g, on my UNIX server
/templates/ja_halite/layouts/blocks/header.phpSaguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
May 18, 2010 at 8:52 am #343906Dear alicebb!
i’m very sorry for my mistaken, you are right,Thanks
AuthorPostsViewing 7 posts - 1 through 7 (of 7 total)This topic contains 7 replies, has 4 voices, and was last updated by Saguaros 14 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
How to make maimenu not show on homepage?
Viewing 7 posts - 1 through 7 (of 7 total)