Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • eshealth Friend
    #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.
    Tommaso

    khoand Friend
    #433113

    Hi,
    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-->

    eshealth Friend
    #433740

    Thanks,
    Have you only invert the two moduls MAIN NAVIGATION and HEADER order?
    it’s so easy?

    khoand Friend
    #433747

    Yes,it’s so easy . You try it.

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 2 voices, and was last updated by  khoand 12 years, 4 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum