Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • dennuz Friend
    #147543

    Hi!

    I would like to make the LOGO on the upper-left corner NON-CLICKABLE.
    The reason being on some browser you get an outline when the user click the logo.
    Not very nice… 🙁

    Arvind Chauhan Moderator
    #328955

    Dear dennuz,

    Take backup and then open your templates/ja_mesolite/index.php around line 97. replace this code

    [PHP]
    <a href=”index.php” title=”<?php echo $siteName; ?>”><span><?php echo $siteName; ?></span></a>[/PHP]

    [PHP]
    <a title=”<?php echo $siteName; ?>”><span><?php echo $siteName; ?></span></a>[/PHP]

    Arvind

    dennuz Friend
    #328956

    These can be found more than once. Do I change them all?

    LINE 102
    ---
    <!-- BEGIN: SLIDESHOW -->

    <?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>
    </h1>
    <p class="site-slogan"><?php echo $sloganText;?></p>
    <?php } ?>

    Arvind Chauhan Moderator
    #328957

    Dear dennuz,

    please try myway. If you plan to use a logo (image), then the edits above (mine) should suffice. Besides, now you know, from where the settings are changed.

    have fun

    Arvind

    dennuz Friend
    #328958

    Thanks… removed both ‘index.php’ Working now!

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

This topic contains 5 replies, has 2 voices, and was last updated by  dennuz 14 years, 10 months ago.

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