-
AuthorPosts
-
November 11, 2012 at 9:55 pm #182151
I want to know where to find the assignment for where my logo links to when clicked on.
usually it goes to home, but my logo links to an article page.My home in the top menu links to content feed, which is where I want it to link to.
I see how to change that assignment in the top menu, but cant find the link assignment for the logo…. ??I see other post asking this question for other templates, but seem to be different in each template.
Please advise.
thanks
ssarucardx Friendarucardx
- Join date:
- July 2010
- Posts:
- 346
- Downloads:
- 0
- Uploads:
- 10
- Thanks:
- 21
- Thanked:
- 138 times in 104 posts
November 12, 2012 at 1:54 am #472577Open template/ja_wall/index.php and search for <!– LOGO –>
Make your adjustments as needed there.
1 user says Thank You to arucardx for this useful post
November 12, 2012 at 4:31 pm #472679<em>@arucardx 345772 wrote:</em><blockquote>Open template/ja_wall/index.php and search for <!– LOGO –>
Make your adjustments as needed there.</blockquote>
thanks for your reply arucardx.
I am in joomla template, at the top it says: Editing file “index.php” in template “ja_wall”.
is this the correct place to change? I see the href, but dont know how to alter it to go to feed of all categories.
my site is: kacadodl.com… I would like the logo to link in the same way as the home does.
ss<!– LOGO –>
<div id=”logo” class=”logo-<?php echo $this->params->get(‘logoType’, ‘image’) ?>”>
<?php if ($this->params->get(‘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: ?>
<h1><a href=”<?php JURI::base(true) ?>” title=”<?php echo $siteName; ?>”><?php echo $logoText; ?></a></h1>
<p class=”site-slogan”><?php echo $sloganText;?></p>
<?php endif; ?>
</div>
<!– //LOGO –>arucardx Friendarucardx
- Join date:
- July 2010
- Posts:
- 346
- Downloads:
- 0
- Uploads:
- 10
- Thanks:
- 21
- Thanked:
- 138 times in 104 posts
November 13, 2012 at 1:44 am #472702Dunno if this code is correct. To be honest, I’m a little confused where the logo is gonna point to in the case that there’s no category for a particular page. But here’s the code to get the url for an article’s category.
[PHP]<a href=”‘ . JRoute::_(ContentHelperRoute::getCategoryRoute($this->item->parent_id)) . ‘”>[/PHP]
-
AuthorPosts
This topic contains 4 replies, has 2 voices, and was last updated by arucardx 12 years ago.
We moved to new unified forum. Please post all new support queries in our New Forum