Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • avekic Friend
    #146533

    I would like to remove logo from template, and to have top menu as first thing on this page.

    Which lines of code is safe to remove to achieve this?

    Saguaros Moderator
    #325581

    Hello

    Here is the section codes to display logo or text:

    [PHP]

    <?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’); ?>
    <div class=”logo-text”>
    <p class=”site-slogan”><?php echo $sloganText;?></p>
    <h1>
    <a href=”index.php” title=”<?php echo $siteName; ?>”><span><?php echo $logoText; ?></span></a>
    </h1>
    </div>
    <?php } ?>
    [/PHP]

    You can see them in the “/templates/ja_nickey/index.php”.

    avekic Friend
    #325789

    I don’t think you have understood what I have asked.

    I want to remove logo/text. I don’t want anything to appear over the top menu.

    is there a way to do that?

    Anonymous Moderator
    #326030

    Hi avekic

    in templates/ja_nickel/index.php, find following code section:

    <!-- 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'); ?>
    <div class="logo-text">
    <p class="site-slogan"><?php echo $sloganText;?></p>
    <h1>
    <a href="index.php" title="<?php echo $siteName; ?>"><span><?php echo $logoText; ?></span></a>
    </h1>
    </div>
    <?php } ?>
    <?php if($this->countModules('ja-login')) : ?>
    <div id="ja-headtools" class="ja-headtool">
    <ul>
    <jdoc:include type="modules" name="ja-login" />
    </ul>
    </div>
    <?php endif; ?>
    </div>
    </div>
    <!-- //HEADER -->

    and remove it;

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

This topic contains 4 replies, has 3 voices, and was last updated by Anonymous 14 years, 11 months ago.

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