Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • jimcapraro Friend
    #756396

    I 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 Moderator
    #756611

    Hi,

    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 Friend
    #756667

    Would it be possible to change the link in the code?

    jewellman Friend
    #756681

    I 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 Moderator
    #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 Friend
    #756708

    Found 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 Friend
    #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 Capraro

    Ninja Lead Moderator
    #758676

    It looks great, I saw the code auto forwarded on your site.

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

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