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

k2 GALLERY template - title/extrafields onimage
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: k2 GALLERY template - title/extrafields onimage

k2 GALLERY template - title/extrafields onimage 18 May 2016 16:13 #8837

Hi guys,
this JF Couda Tamplate it's really interesting! anyway I need some support to use it more in dept.
My idea is to have a gallery where users can also read a title and a shord description of pictures.
In quickstart package, it's allowed only the picture.... I added also the possiility to have extrafields in the GALLERY category of K2, I modified the display setting of the category (extrafield: show) but anything happened...
Maybe I've to modify the GALLERY Template... how can i do this?
thank you!!!!
Piero

  • Posts:3
  • pieroweb82
  • Fresh Boarder
  • OFFLINE
  • Karma: 0

Re: k2 GALLERY template - title/extrafields onimage 23 May 2016 03:52 #8849

You can edit file templates/jf_couda/html/com_k2/gallery/category_item.php, add attribute title to show caption.
Modify:
 
<a class="nivo-image" href="<?php echo $this->item->imageLarge; ?>" data-lightbox-gallery="gallery">
 

to:
 
<a class="nivo-image" href="<?php echo $this->item->imageLarge; ?>" data-lightbox-gallery="gallery" title="<?php echo $this->item->title; ?>">
 


joomfreak

  • Posts:2024
  • isupport
  • Moderator
  • OFFLINE
  • Karma: 0
  • Page:
  • 1
Time to create page: 0.42 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.