Keyword

"no link on title" should be no link on images

  • Brigitte Kuschel
  • Brigitte Kuschel's Avatar Topic Author
  • Offline
  • New Member
More
11 years 10 months ago #107263 by Brigitte Kuschel
"no link on title" should be no link on images was created by Brigitte Kuschel
Hello,

thank you very much for the great powerful k2.

I found some forum-answers for "disable image link". This removes the link on images in the category-view of all images.

This is great, but it would be better to disable the image-link only , if the category-settings "link on title" = no.

Is this possible? What do i have to change exactly. I think this would be great for many k2-users.

Thank you very much for your help.

Brigitte

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

More
11 years 10 months ago #107264 by william white
Replied by william white on topic Re: "no link on title" should be no link on images
You can probably create a k2 override and change category.php
look for this line
<img alt="<?php echo $this->category->name; ?>" src="<?php echo $this->category->image; ?>" style="width:<?php echo $this->params->get('catImageWidth'); ?>px; height:auto;" />

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

More
11 years 8 months ago #107265 by Odin Mayland
Replied by Odin Mayland on topic Re: "no link on title" should be no link on images
I agree. If I choose not to have the title link to the item then I also do not want the image to link to the item.

I think this should be an option in the "Item view options in category listings".

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


Powered by Kunena Forum