Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • freakyflow Friend
    #145243

    I have attached an url to the image for my frontpage articles yet the images remain un-clickable.

    When I url the module images they link fine so do other articles,

    For some reason only the frontpage images or not url freindly, why is this?

    ** Just to make it clear , if you look at your raite demo I’m talking about the sample images under the “Welcome to Our Portfolio” section.

    Anonymous Moderator
    #320696

    Hi freakyflow

    Open templatesja_raitehtmlcom_contentfrontpagedefault_item.php file, at about line 33, find following code:


    <?php if ($image) : ?>
    <div class="article-img">
    <?php echo $image; ?>
    </div>
    <?php endif; ?>

    and change to:


    <?php if ($image) : ?>
    <div class="article-img">
    <a href="<?php echo $this->item->readmore_link; ?>" title="<?php echo $this->item->title; ?>" class="readon<?php echo $this->escape($this->item->params->get('pageclass_sfx')); ?>">
    <?php echo $image; ?>
    </a>
    </div>
    <?php endif; ?>

    freakyflow Friend
    #320728

    Sorry ignore the msg I sent you, this works great for “read more” just not custom urls which is outsite the scope of a template, thanks.

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

This topic contains 3 replies, has 2 voices, and was last updated by  freakyflow 15 years, 1 month ago.

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