-
AuthorPosts
-
yavuzturk Friend
yavuzturk
- Join date:
- January 2008
- Posts:
- 36
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 7
- Thanked:
- 2 times in 1 posts
March 5, 2008 at 8:22 pm #126337Hi, I have a problem with ja antares template’s menus.
how can we change main menus options, we want to change these place?
http://img160.imageshack.us/img160/4018/caglayannotks2.jpgthanks for your help…
I’m sorry. I read some answers but I didn’t understand yet my english not vey god.
yavuzturk Friendyavuzturk
- Join date:
- January 2008
- Posts:
- 36
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 7
- Thanked:
- 2 times in 1 posts
March 6, 2008 at 6:01 pm #241497is there anyone ? I think no one hear me ? I need help ? I must to this, or another theme which that I can do this ?
Please write ?I m waiting here ????
kashxo Friendkashxo
- Join date:
- April 2007
- Posts:
- 605
- Downloads:
- 0
- Uploads:
- 21
- Thanks:
- 11
- Thanked:
- 78 times in 40 posts
March 6, 2008 at 7:57 pm #241510on Left column, beside Main menu, do you have any other modules published there?
kashxo Friendkashxo
- Join date:
- April 2007
- Posts:
- 605
- Downloads:
- 0
- Uploads:
- 21
- Thanks:
- 11
- Thanked:
- 78 times in 40 posts
March 7, 2008 at 4:01 pm #241598This looks just a normal task but you will need a lot of modification.
Please follow my instruction carefully
(This guide is for Joomla! 1.0 – ja_antares)1. Open index.php in folder ja_antares. Search for this code:
<blockquote> <!– BEGIN: MAIN NAVIGATION –>
<div id=”ja-mainnav”<?php echo $bottomborder;?>>
<?php
switch ($ja_menutype) {
case 1: echo $topnav;
break;
case 2:
include($ja_template_absolute_path.”/ja_cssmenu.php”);
break;
case 3:
include($ja_template_absolute_path.”/ja_transmenu.php”);
break;
}
?>
</div>
<!– END: MAIN NAVIGATION –></blockquote>
in my case, it’s at line 204.Select the whole code and replace with this:
<blockquote>
<!– BEGIN: MAIN NAVIGATION –>
<div id=”ja-mainnav”<?php echo $bottomborder;?>>
<?php
mosLoadModules(‘user10’, -3);
?>
</div>
<!– END: MAIN NAVIGATION –>
</blockquote>
Please note that there are 2 blocks look like that, we only modify the code at line 204 and leave other alone.2. Search for this code, in my file, it’s at line 317:
<blockquote>
<?php echo
mosLoadModules ( ‘left’,-3 );
?>
</div>
<!– END: LEFT COLUMN –>
<?php } ?>
</blockquote>
Select that and replace with this code:
<blockquote>
<?php echo
mosLoadModules ( ‘left’,-3 );
?>
</div>
<!– END: LEFT COLUMN –>
<?php } else {
echo ‘<div id=”ja-leftcol”>’;
switch ($ja_menutype) {
case 1: echo $topnav;
break;
case 2:
include($ja_template_absolute_path.”/ja_cssmenu.php”);
break;
case 3:
include($ja_template_absolute_path.”/ja_transmenu.php”);
break;
}
echo ‘</div>’;
if( $subnav ) { ?>
<div id=”ja-subnav” class=”module-<?php echo $ja_color; ?>”>
<div>
<div>
<div>
<h3><?php echo $menuname; ?></h3>
<?php echo $subnav; ?>
</div>
</div>
</div>
</div>
<?php }
} ?>
</blockquote>3. Now open your template_css.css file and goto line 1019, you’ll see:
<blockquote>
#ja-mainbody-fl #ja-content {
float: left;
width: 97.5%;
}
</blockquote>
Change that to:
<blockquote>
#ja-mainbody-fl #ja-content {
float: right;
width: 72.5%;
}
</blockquote>4. The last step is goto you admin panel and go to Modules >> Site Modules, select MainMenu, then publish it to user10 position. If you don’t have that position, please go to Site >> Template Manager >> Module Positions and create it.
Now, goto your frontend and refresh to see it working.
Note:
– Backup your current files first.
– Make sure that no module published at “left” position.yavuzturk Friendyavuzturk
- Join date:
- January 2008
- Posts:
- 36
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 7
- Thanked:
- 2 times in 1 posts
March 8, 2008 at 12:37 am #241637Thanks for your message, nice to meet you. If we have some problem we will write again..
Thank alot again.. 🙂May 14, 2008 at 3:49 pm #249114Hi @ all!
is it possible to change the top menu with the main menu? In that case it would be nice to apply a menu style like transmenu or son of suckerfish. A nother problem is the alignment of the top menu (or later main menu). How to set the alignment to the left side?
Thanks for your help
-
AuthorPosts
This topic contains 6 replies, has 3 voices, and was last updated by itelligenz 16 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum