-
AuthorPosts
-
January 9, 2012 at 1:37 pm #172607
Hi,
I can’t solve this problem in JA_Sulfur template:
how can I move the moduls/layout positions? (for example i have the main menu above the logo but i want it below!).
some help?
Thanks a lot.
Tommasokhoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
January 9, 2012 at 2:10 pm #433113Hi,
You replace this code from templatesja_sulfurindex.php
<!-- MAIN NAVIGATION-->
<div id="ja-mainnav" class="wrap">
<div class="main clearfix"><ul class="no-display">
<li><a href="<?php echo $tmpTools->getCurrentURL();?>#ja-content" title="<?php echo JText::_("SKIP TO CONTENT");?>"><?php echo JText::_("SKIP TO CONTENT");?></a></li>
</ul><?php if($ja_menutype!='none') { $jamenu->genMenu (0); } ?>
</div></div>
<!-- //MAIN NAVIGATION--><!-- HEADER -->
<div id="ja-header" class="wrap">
<div class="main clearfix"><?php
$siteName = $tmpTools->sitename();
if ($tmpTools->getParam('logoType')=='image') { ?>
<h1 class="logo">
<a href="index.php" title="<?php echo $siteName; ?>"><span><?php echo $siteName; ?></span></a>
</h1>
<?php } else {
$logoText = (trim($tmpTools->getParam('logoText'))=='') ? $config->sitename : $tmpTools->getParam('logoText');
$sloganText = (trim($tmpTools->getParam('sloganText'))=='') ? JText::_('SITE SLOGAN') : $tmpTools->getParam('sloganText'); ?>
<h1 class="logo-text">
<a href="index.php" title="<?php echo $siteName; ?>"><span><?php echo $logoText; ?></span></a>
<span class="site-slogan"><?php echo $sloganText;?></span>
</h1>
<?php } ?><?php if ($this->countModules('user4')) { ?>
<div id="ja-search">
<jdoc:include type="modules" name="user4" style="raw" />
</div>
<?php } ?></div>
</div>
<!-- //HEADER -->
with
<!-- HEADER -->
<div id="ja-header" class="wrap">
<div class="main clearfix"><?php
$siteName = $tmpTools->sitename();
if ($tmpTools->getParam('logoType')=='image') { ?>
<h1 class="logo">
<a href="index.php" title="<?php echo $siteName; ?>"><span><?php echo $siteName; ?></span></a>
</h1>
<?php } else {
$logoText = (trim($tmpTools->getParam('logoText'))=='') ? $config->sitename : $tmpTools->getParam('logoText');
$sloganText = (trim($tmpTools->getParam('sloganText'))=='') ? JText::_('SITE SLOGAN') : $tmpTools->getParam('sloganText'); ?>
<h1 class="logo-text">
<a href="index.php" title="<?php echo $siteName; ?>"><span><?php echo $logoText; ?></span></a>
<span class="site-slogan"><?php echo $sloganText;?></span>
</h1>
<?php } ?><?php if ($this->countModules('user4')) { ?>
<div id="ja-search">
<jdoc:include type="modules" name="user4" style="raw" />
</div>
<?php } ?></div>
</div>
<!-- //HEADER -->
<!-- MAIN NAVIGATION-->
<div id="ja-mainnav" class="wrap">
<div class="main clearfix"><ul class="no-display">
<li><a href="<?php echo $tmpTools->getCurrentURL();?>#ja-content" title="<?php echo JText::_("SKIP TO CONTENT");?>"><?php echo JText::_("SKIP TO CONTENT");?></a></li>
</ul><?php if($ja_menutype!='none') { $jamenu->genMenu (0); } ?>
</div></div>
<!-- //MAIN NAVIGATION-->
1 user says Thank You to khoand for this useful post
January 13, 2012 at 12:27 pm #433740Thanks,
Have you only invert the two moduls MAIN NAVIGATION and HEADER order?
it’s so easy? -
AuthorPosts
This topic contains 4 replies, has 2 voices, and was last updated by khoand 12 years, 9 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum