Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • minas69 Friend
    #160866

    Hi all,

    I need a new modul position placed in Logo position (top left)….

    What I have to do ?…

    Thanks for your comments…

    mina

    khoand Friend
    #379093

    Hi mina,
    You do following steps:
    – Open <joomla url>templatesja_sulfurindex.php file, add this code

    <?php if ($this->countModules('user11')) { ?>
    <div id="ja-search" style="float:left">
    <jdoc:include type="modules" name="user11" style="raw" />
    </div>
    <?php } ?>

    before

    <?php if ($this->countModules('user4')) { ?>
    <div id="ja-search">
    <jdoc:include type="modules" name="user4" style="raw" />
    </div>
    <?php } ?>

    —–> you use user11 position for new module. You can see my attached image.
    – If you want to remove logo (text/image), you remove this code

    <?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 } ?>


    1. sulfur
    minas69 Friend
    #379455

    it runs…:laugh:

    thanks
    khoand

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

This topic contains 3 replies, has 2 voices, and was last updated by  minas69 13 years, 9 months ago.

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