-
AuthorPosts
-
jimcapraro Friend
jimcapraro
- Join date:
- September 2008
- Posts:
- 109
- Downloads:
- 8
- Uploads:
- 2
- Thanks:
- 22
- Thanked:
- 4 times in 1 posts
November 24, 2015 at 7:13 pm #756396I need to have a home page category tile link to a menu item alias, but keep the tile’s category picture and animation (sliding up on hover).
See this illustration
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
November 25, 2015 at 7:31 am #756611Hi,
I’m afraid you are not able to do this because the Collaborate article links to detailed article page and it will not link to online-community menu item
Regards
jimcapraro Friendjimcapraro
- Join date:
- September 2008
- Posts:
- 109
- Downloads:
- 8
- Uploads:
- 2
- Thanks:
- 22
- Thanked:
- 4 times in 1 posts
November 25, 2015 at 6:00 pm #756667Would it be possible to change the link in the code?
November 25, 2015 at 9:44 pm #756681I would also like the ability to redirect a 1×1 tile to a menu item but keep the animation. Is this not possible even in .htaccess file?
Thanks in advance.
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
November 26, 2015 at 2:52 am #756697<em>@jimcapraro 503976 wrote:</em><blockquote>Would it be possible to change the link in the code?</blockquote>
In this case, you can try to use this custom below
Open templates/ja_fixel/html/com_content/featured/default_item_images.php file
find and change
<?php if ($link): ?>
<a class="article-link" href="<?php echo $link; ?>" title="<?php echo $this->escape($this->item->title); ?>">
<?php endif; ?>to
<?php if ($link): ?>
<?php if ($this->item->id==112) : ?>
<a class="article-link" href="your_link" title="<?php echo $this->escape($this->item->title); ?>">
<?php else :?>
<a class="article-link" href="<?php echo $link; ?>" title="<?php echo $this->escape($this->item->title); ?>">
<?php endif; ?>
<?php endif; ?>
Hope it helps
jimcapraro Friendjimcapraro
- Join date:
- September 2008
- Posts:
- 109
- Downloads:
- 8
- Uploads:
- 2
- Thanks:
- 22
- Thanked:
- 4 times in 1 posts
November 26, 2015 at 3:51 am #756708Found a fix – it’s sub-optimal in that it goes to the article page for a second or two, but then the plug-in below auto directs to the menu item. I put a picture and “our site is now re-directing you to our online community” on the article page so the user knows what’s going on. Paid 5 Euro for the pro version to get rid of the ads.
Here’s the link to the plug-in: simple re-direct Joomla article plug-in
jimcapraro Friendjimcapraro
- Join date:
- September 2008
- Posts:
- 109
- Downloads:
- 8
- Uploads:
- 2
- Thanks:
- 22
- Thanked:
- 4 times in 1 posts
November 26, 2015 at 1:59 pm #758648<em>@Ninja Lead 504019 wrote:</em><blockquote>In this case, you can try to use this custom below
Open templates/ja_fixel/html/com_content/featured/default_item_images.php file
find and change
<?php if ($link): ?>
<a class="article-link" href="<?php echo $link; ?>" title="<?php echo $this->escape($this->item->title); ?>">
<?php endif; ?>to
<?php if ($link): ?>
<?php if ($this->item->id==112) : ?>
<a class="article-link" href="your_link" title="<?php echo $this->escape($this->item->title); ?>">
<?php else :?>
<a class="article-link" href="<?php echo $link; ?>" title="<?php echo $this->escape($this->item->title); ?>">
<?php endif; ?>
<?php endif; ?>
Hope it helps</blockquote>
Thanks for your help Ninja Lead – tried the code change you suggested and it didn’t work. I tried disabling the simple re-direct plug-in that I installed and also clearing my cache and it still didn’t work.
I really appreciate your kind attention to my request. Not sure why it isn’t working – code seems pretty straight forward.
In case you look around on the site, I’ve re-enabled the simple re-direct plug-in so that now that the site is live users will get to where we want them to go.
Thanks so much,
Jim Capraro1 user says Thank You to jimcapraro for this useful post
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
November 27, 2015 at 3:22 am #758676It looks great, I saw the code auto forwarded on your site.
-
AuthorPosts
This topic contains 8 replies, has 3 voices, and was last updated by Ninja Lead 8 years, 11 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum