Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

JoomlaTune Support Forum    JComments component    General discussion    Topic: Lightbox clicking on images
Pages: [1]   Go Down
  Print  
Author Topic: Lightbox clicking on images  (Read 2462 times)
0 Members and 1 Guest are viewing this topic.
Proxen
Newbie
*

Karma: 0
Offline Offline

Posts: 3


« on: June 03, 2010, 05:40:51 »

It would be really nice that clicking on an image it opens using lightbox. Would it hard to code?? Thanks again for this awesome complement  Smiley
Logged
smart
Administrator
Hero Member
*****

Karma: 163
Offline Offline

Gender: Male
Posts: 2161



WWW
« Reply #1 on: June 03, 2010, 14:07:06 »

I'm not sure but seems it could be implemented via Custom BBCodes (you could create extended [img] tag syntax and replace it with some CSS class that will be used by lightbox). But I'm not going to add such feature in component.
Logged

If you use JComments, please post a rating and a review at the Joomla! Extensions Directory
Proxen
Newbie
*

Karma: 0
Offline Offline

Posts: 3


« Reply #2 on: June 03, 2010, 16:38:01 »

Playing with the custom bbcode I found the close tag of the button is saved in the database without the /
For example, if my close tag is [/img] it is saved as [img]. I'll try to do it with this feature, I hope it will be possible! Thanks again Wink
Logged
smart
Administrator
Hero Member
*****

Karma: 163
Offline Offline

Gender: Male
Posts: 2161



WWW
« Reply #3 on: June 03, 2010, 16:44:22 »

Sorry, this is my stupid bug... Open /administrator/components/com_jcomments/admin.jcomments.custombbcodes.php

And replace:
Code: (php)
$row->button_close_tag = trim(strip_tags($row->button_open_tag));
with
Code: (php)
$row->button_close_tag = trim(strip_tags($row->button_close_tag));
Logged

If you use JComments, please post a rating and a review at the Joomla! Extensions Directory
Proxen
Newbie
*

Karma: 0
Offline Offline

Posts: 3


« Reply #4 on: June 03, 2010, 16:47:31 »

Bug fixed. Thank you for the fast reply Wink
Logged
Pages: [1]   Go Up
  Print  
JoomlaTune Support Forum    JComments component    General discussion    Topic: Lightbox clicking on images
 
Jump to: