Keyword

Remove link

  • Dimitri De Vleeschauwer
  • Dimitri De Vleeschauwer's Avatar Topic Author
  • Offline
  • New Member
More
10 years 8 months ago #123829 by Dimitri De Vleeschauwer
Remove link was created by Dimitri De Vleeschauwer
Hi there

where can I remove the link from the titles please?
I already tried several options, but the link is still there: remitrans.be/dimitri/nieuws

Please Log in or Create an account to join the conversation.

  • Yiota
  • Yiota's Avatar
  • Visitor
10 years 8 months ago #123830 by Yiota
Replied by Yiota on topic Re: Remove link
You will have to create a template override for the mod_k2_content and remove it from the template's code.
To create the template override for the module just copy the Default folder from modules/mod_k2_content/tmpl/ to templates/your_template/html/mod_k2_content/
Then locate the code below and remove the link element or change the <a> element to <span>.
<?php if($params->get('itemTitle')): ?>
      <a class="moduleItemTitle" href="<?php echo $item->link; ?>"><?php echo $item->title; ?></a>
      <?php endif; ?>

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum