Quote

We're also available for Custom Joomla Development

Hire us now

View Category in LatestNews+

Hi,

I would like to display the name of the category next to the date in latest News plus on my website.
Is it possible ?

Regards,
Pierre
       
  •  
    Replied by admin on Wednesday, August 26 2015, 03:28 PM · Hide· #1
    Hi, yes you can do that by modifying the module template file. Please copy this file : [root]/modules/mod_latestnewsplusdate/tmpl/default.php to this folder [root]/templates/your_active_template/html/mod_latestnewsplusdate/

    Then modify the line 153
    <a href="/<?php echo $item->link; ?>" class="latestnews">

    to this
    <a href="/<?php echo $item->categblog;?>"><?php echo $item->category_title; ?></a> - <a href="/<?php echo $item->link; ?>" class="latestnews">
    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