-
AuthorPosts
-
cantabriadeportiva Friend
cantabriadeportiva
- Join date:
- June 2011
- Posts:
- 86
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 48
- Thanked:
- 4 times in 1 posts
April 5, 2013 at 6:44 pm #186489Hello… 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 ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
April 8, 2013 at 10:37 am #489192Hi,
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
1 user says Thank You to Saguaros for this useful post
cantabriadeportiva Friendcantabriadeportiva
- Join date:
- June 2011
- Posts:
- 86
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 48
- Thanked:
- 4 times in 1 posts
April 10, 2013 at 4:25 pm #489453Thanks! But I’m using images in both…:((
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
April 11, 2013 at 2:15 am #489477Hi,
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 :((
1 user says Thank You to Saguaros for this useful post
cantabriadeportiva Friendcantabriadeportiva
- Join date:
- June 2011
- Posts:
- 86
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 48
- Thanked:
- 4 times in 1 posts
April 11, 2013 at 4:04 pm #489557Thanks Saguaros, It’s just for a few weeks. It’s not very important.
Thanks for your support:)
-
AuthorPosts
This topic contains 5 replies, has 2 voices, and was last updated by cantabriadeportiva 11 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum