test
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • h4n5 Friend
    #146909

    Hello!

    I’ve got a little problem.
    I want to link the header or logo but I don’t know in which file I have to put in the “hrev url=”.

    Could somebody please explain?

    Saguaros Moderator
    #326960

    Hello h4n5
    As demo, the link was made for the logo, http://www.joomlart.com/templates_demo.php?template=ja_sanidine

    may be you have changed it by yours 🙂

    Now, please check codes in your template again, and here is codes to render Logo

    [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]

    h4n5 Friend
    #326992

    Hello tienhc,

    thx for your answer. I’ve solved this problem myself.
    I have forgotten that the logo was disabled and only the header active.

    thx anyway

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

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

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