VISIT AND LIKE OUR PAGE ON FACEBOOK
TAKE A LOOK AT OUR TWEETS ON TWITTER
SUBSCRIBE TO THE JOOMFREAK RSS FEED
CHECK OUT OUR PAGE ON GOOGLE +
VISIT OUR CHANNEL ON YOUTUBE

Account Details

Change your name, email, password or permanently delete your account. Change settings

We offer several ways you can get support from our experts: Support ForumKnowledgebaseNewsletter

Your Forum Posts

No posts to display.

Welcome, Guest
Username Password: Remember me

[SOLVED] K2 - no link and title on image
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: [SOLVED] K2 - no link and title on image

[SOLVED] K2 - no link and title on image 07 Jun 2016 09:25 #8954

Hi,

i would like to disable the link on image and the visualization of the item title on K2 when displaying the category items.

This image is hidden for guests. Please log in or register to see it.


I tried many guide found on the web regarding modification on K2 php files but none of them worked.
Can anyone help me please?
Last Edit: 23 Jun 2016 06:16 by soundpassion.

Re: K2 - no link and title on image 08 Jun 2016 02:52 #8958

You can edit templates/jf_creativia/html/com_k2/jf_creativia/category_item.php, remove <a> tag inside code:
 
<div class="catItemImageBlock">
<span class="catItemImage">
...
</span>
</div>
 


joomfreak
The following user(s) said Thank You: soundpassion

  • Posts:2144
  • isupport
  • Moderator
  • OFFLINE
  • Karma: 0

Re: K2 - no link and title on image 08 Jun 2016 03:19 #8960

The "div class" you wrote was not present inside the php.
I modified the code as this (line 83):

 
<!-- Item Image--MOD no title no link-->
<div class="element-image">
<img src="<?php if(!empty($this->item->image)) echo $this->item->image; else echo JURI::root() . 'templates/jf_creativia/images/k2-without-image.jpg'; ?>" />
</div>


Anyway, thank you so much, the files I tried to modify in the last days were in a different folder!
This was the reason of my issue!
Last Edit: 08 Jun 2016 03:20 by soundpassion.
  • Page:
  • 1
Time to create page: 0.51 seconds

joomfreak is not affiliated with or endorsed by the Joomla Project or Open Source Matters.
The Joomla logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.