Quote

We're also available for Custom Joomla Development

Hire us now
info@ekestad.se on Saturday, November 05 2016, 11:21 AM

Modul Latest new plus date, read more after the introtext

I want to have "read more" after the introtext in all the news. Now you only can klick on the meny of the news to come to the article.
www.svarvmekano.se

hope you can help me
Anne
       
  •  
    Replied by admin on Sunday, November 06 2016, 12:44 AM · Hide· #1
    Hi you can do that via template override. Copy the file
    ../modules/mod_latestnewsplusdate/tmpl/default.php

    to

    ../templates/your_active_template_name/html/mod_latestnewsplusdate/default.php (create the folder mod_latestnewsplusdate if you don't have one)

    then open the file ../templates/your_active_template_name/html/mod_latestnewsplusdate/default.php with your favorite php editor.

    arround lines 105 you will see this code :
    echo $item->displayIntrotext;
            ?>


    add this code after that code :
    <a href="/<?php echo $item->link; ?>">Read More</a>
    Please post rating at the Joomla! Extensions Directory - http://extensions.joomla.org/profile/profile/details/264
Your Response
Please login first in order for you to submit comments