Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • cantabriadeportiva Friend
    #186489

    Hello… again… too many questions this week, thank you for you incredible support.

    I have two different profiles in the website and i have an idea but I don’t really know if it’s possible or not.

    I would like the logo’s link (header) would be different according to the profile. I don’t need nothing special, just delete the link in in the blue template.

    Is this possible????

    Thank you!!!!!:)

    Saguaros Moderator
    #489192

    Hi,

    Do you mean that you want to have 2 different links for logo in different profiles? If so, there is one way you can achieve that is: one profile you use logo as image and another profile use text as logo.

    Then open this file: templatesja_nexblocksheader.php

    [PHP]
    if ($this->getParam(‘logoType’, ‘image’)==’image’): ?>
    <h1 class=”logo”>
    <a href=”<?php JURI::base(true) ?>” title=”<?php echo $siteName; ?>”><span><?php echo $siteName; ?></span></a>
    </h1>
    <?php else:
    $logoText = (trim($this->getParam(‘logoText’))==”) ? $siteName : JText::_(trim($this->getParam(‘logoText’)));
    $sloganText = JText::_(trim($this->getParam(‘sloganText’))); ?>
    <div class=”logo-text”>
    <h1><a href=”index.php” title=”<?php echo $siteName; ?>”><span><?php echo $logoText; ?></span></a></h1>
    <p class=”site-slogan”><?php echo $sloganText;?></p>
    </div>
    <?php endif; ?>
    [/PHP]

    change link in href param to your desired link.

    Regards

    cantabriadeportiva Friend
    #489453

    Thanks! But I’m using images in both…:((

    Saguaros Moderator
    #489477

    Hi,

    If so, you need a heavy customization in code so that it can determine which profile is used and which logo should be loaded to change link, its complicated. I recommend you to hire a developer to get it done for you. I’m sorry for not of much help here :((

    cantabriadeportiva Friend
    #489557

    Thanks Saguaros, It’s just for a few weeks. It’s not very important.

    Thanks for your support:)

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

This topic contains 5 replies, has 2 voices, and was last updated by  cantabriadeportiva 11 years, 7 months ago.

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