Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • webds Friend
    #209075

    Hey folkz,

    I would like to make the pictures on the homepage listed as featured articles clickable links to the article. (like Upcoming Event do)
    Is there an easy fix in the php (ja_muzichtmlcom_contentfeatureddefault_item.php???) to do so?
    Would be really great if you could help me on this one!

    And i have another question about these featured articles, is it possible to get the article name to the top of the image instead of below? we restiled ir so it fits there, im just not sure if thats possible. i can give a link if needed ofcourse

    Greetings!

    Adam M Moderator
    #578269

    Hi @webds,

    May I know your site url so I can have a look first ?

    Adam M Moderator
    #644560

    Hi @webds,

    May I know your site url so I can have a look first ?

    Adam M Moderator
    #743192

    Hi @webds,

    May I know your site url so I can have a look first ?

    webds Friend
    #644934

    Is there anyone that could help on this matter? would be awsome!:laugh:

    webds Friend
    #743562

    Is there anyone that could help on this matter? would be awsome!:laugh:

    Adam M Moderator
    #644989

    Hi @webds,

    May I know your site url so I can have a look first ?

    webds Friend
    #645062

    http://163.158.214.157/OMF/index.php i send u a private msg 2 🙂

    Adam M Moderator
    #645092

    Hi @webds,

    Please open file templatesja_muzichtmlcom_contentfeatureddefault_item.php and look for this code :

    <div class="pull-<?php echo htmlspecialchars($imgfloat); ?> item-image"> <img
    <?php if ($images->image_intro_caption):
    echo 'class="caption"'.' title="' .htmlspecialchars($images->image_intro_caption) .'"';
    endif; ?>
    src="<?php echo htmlspecialchars($images->image_intro); ?>" alt="<?php echo htmlspecialchars($images->image_intro_alt); ?>"/>
    </div>

    then update as below :

    <div class="pull-<?php echo htmlspecialchars($imgfloat); ?> item-image"><a href="<?php echo JRoute::_(ContentHelperRoute::getArticleRoute($this->item->slug, $this->item->catid)); ?>"><img
    <?php if ($images->image_intro_caption):
    echo 'class="caption"'.' title="' .htmlspecialchars($images->image_intro_caption) .'"';
    endif; ?>
    src="<?php echo htmlspecialchars($images->image_intro); ?>" alt="<?php echo htmlspecialchars($images->image_intro_alt); ?>"/></a>
    </div>

    Adam M Moderator
    #743717

    Hi @webds,

    Please open file templatesja_muzichtmlcom_contentfeatureddefault_item.php and look for this code :

    <div class="pull-<?php echo htmlspecialchars($imgfloat); ?> item-image"> <img
    <?php if ($images->image_intro_caption):
    echo 'class="caption"'.' title="' .htmlspecialchars($images->image_intro_caption) .'"';
    endif; ?>
    src="<?php echo htmlspecialchars($images->image_intro); ?>" alt="<?php echo htmlspecialchars($images->image_intro_alt); ?>"/>
    </div>

    then update as below :

    <div class="pull-<?php echo htmlspecialchars($imgfloat); ?> item-image"><a href="<?php echo JRoute::_(ContentHelperRoute::getArticleRoute($this->item->slug, $this->item->catid)); ?>"><img
    <?php if ($images->image_intro_caption):
    echo 'class="caption"'.' title="' .htmlspecialchars($images->image_intro_caption) .'"';
    endif; ?>
    src="<?php echo htmlspecialchars($images->image_intro); ?>" alt="<?php echo htmlspecialchars($images->image_intro_alt); ?>"/></a>
    </div>

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

This topic contains 10 replies, has 2 voices, and was last updated by  Adam M 9 years, 3 months ago.

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