test
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • limeweb Friend
    #140795

    Does anybody know how (in html) to add a link to any of the Frontpage article images please?

    limeweb Friend
    #303639

    Okay….if the Joomlart community doesn’t know how to add a link to a frontpage article image… same question to the JA Developers..

    Please advise how to add a simple link to any site content from any image shown in any article on the demo frontpage layout?

    Thank you.

    Anonymous Moderator
    #303889

    <em>@limeweb 126770 wrote:</em><blockquote>Does anybody know how (in html) to add a link to any of the Frontpage article images please?</blockquote>

    => For this case, please open templatesja_rubyhtmlcom_contentfrontpagedefault_item.php file, at about line 140, find following code:

    <div class=”img-desc clearfix”>
    <?php echo $image; ?>
    </div>

    and change to:

    <div class=”img-desc clearfix”>
    <a href=”<?php echo $this->item->readmore_link; ?>” title=”<?php echo $this->item->title; ?>” class=”readon<?php echo $this->item->params->get(‘pageclass_sfx’); ?>”>
    <?php echo $image; ?>
    </a>
    </div>

    limeweb Friend
    #303896

    <em>@JA Developer 127674 wrote:</em><blockquote>=> For this case, please open templatesja_rubyhtmlcom_contentfrontpagedefault_item.php file, at about line 140, find following code:

    <div class=”img-desc clearfix”>
    <?php echo $image; ?>
    </div>

    and change to:

    <div class=”img-desc clearfix”>
    <a href=”<?php echo $this->item->readmore_link; ?>” title=”<?php echo $this->item->title; ?>” class=”readon<?php echo $this->item->params->get(‘pageclass_sfx’); ?>”>
    <?php echo $image; ?>
    </a>
    </div></blockquote>

    That works when the aim is to link to the ‘read more’ text, but could you advise the change that needs to be made to code to enable links to other site content please?

    Anonymous Moderator
    #303898

    Hi limeweb,

    It is not possible.

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

This topic contains 5 replies, has 2 voices, and was last updated by Anonymous 15 years, 7 months ago.

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