Keyword

Module K2 content - Title

  • Travelhamster
  • Travelhamster's Avatar Topic Author
  • Offline
  • New Member
More
12 years 1 month ago #102300 by Travelhamster
Module K2 content - Title was created by Travelhamster
Hi All,

I would like to know how I can display the title of a K2 item in the K2 Content module, without it being linkable to the article itself. I attempted a few disables, but didn't get the result I was looking for.

grahamsgarden.com/

the Dicton du Jour on the right is what I'd like to make *unlinkable*, but I would like it to display the title (as it's the date)

Cheers
Ben

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

More
12 years 1 month ago #102301 by william white
Replied by william white on topic Re: Module K2 content - Title
There is not an option for that. Look at the subtemplate option for mod_k2 content in the basic options
when creating the subtemplate
search for this
<?php if($params->get('itemTitle')): ?>
<a class="moduleItemTitle" href="<?php echo $item->link; ?>"><?php echo $item->title; ?></a>
<?php endif; ?>
and make the necessary changes to remove the link

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

  • Travelhamster
  • Travelhamster's Avatar Topic Author
  • Offline
  • New Member
More
12 years 1 month ago #102302 by Travelhamster
Replied by Travelhamster on topic Re: Module K2 content - Title
Thanks!

Your help is much appreciated!

Ben

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


Powered by Kunena Forum