Removing title links from events

GK User
Mon Apr 10, 2017 3:05 pm
How do I remove the links from the event items in "Latest events" on the frontpage? I just want the viewers to read a few words about each event but I don't want them to be able to click on the titles of each event to go to the event page itself.
User avatar
Fresh Boarder

teitbite
Thu Apr 13, 2017 1:20 pm
Hi

Please edit file /modules/mod_news_pro_gk5/tmpl/portal_modes/events_list/controller.php and change code:

Code: Select all
         echo '<div>';
         echo '<h3>';
         echo '<a href="'.$this->get_link($i).'" title="'.strip_tags($this->parent->content[$i]['title']).'">';
         echo $title;
         echo '</a>';
         echo '</h3>';


to

Code: Select all
         echo '<div>';
         echo '<h3>';
         echo $title;
         echo '</h3>';
User avatar
Moderator


cron