test
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • Fernando Puente Dominguez Friend
    #987857

    Hi,

    Situation: Setting up a site both for non-registered and registered users. Home is not visible for registered users unless they logout.

    Problem: When registered users click on the site logo, they are not redirected to the home (as per the current access/joomla config).

    What I need: provided that it think that it would be impossible to set different menu-links for registerd/non-registered what I need is to: -remove the link, as it does not work for registered users

    or

    -remove completely the logo/slogan (and maybe replace it with two different custom modules with the logo, one with the link for non-registered and the other for registered users)

    Would this be possible? Thanks in advance, Fernando

    Ninja Lead Moderator
    #987994

    Hi,

    You can find the logo and slogan from templates/ja_university_t3/tpls/blocks/header.php file

    Regards

    Fernando Puente Dominguez Friend
    #1000603

    Thanks, but I need you to be more specific.

    Which line exactly at _templates/ja_universityt3/tpls/blocks/header.php should I edit to remove the link from the logo?

    Kind regards and thanks in advance,
    Fernando

    Ninja Lead Moderator
    #1000811

    Hi,

    You can find and remove the line 35 to 44 from templates/ja_university_t3/tpls/blocks/header.php file

    <a href="<?php echo JURI::base(true) ?>" title="<?php echo strip_tags($sitename) ?>">
        <?php if($logotype == 'image'): ?>
            <img class="logo-img" src="<?php echo JURI::base(true) . '/' . $logoimage ?>" alt="<?php echo strip_tags($sitename) ?>" />
        <?php endif ?>
        <?php if($logoimgsm) : ?>
            <img class="logo-img-sm" src="<?php echo JURI::base(true) . '/' . $logoimgsm ?>" alt="<?php echo strip_tags($sitename) ?>" />
        <?php endif ?>
        <span><?php echo $sitename ?></span>
    </a>
    <small class="site-slogan"><?php echo $slogan ?></small>

    Remember to backup file before making changes.

    Regards

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

This topic contains 3 replies, has 2 voices, and was last updated by  Ninja Lead 7 years, 11 months ago.

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