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

 
Advanced search

18669 Posts in 5538 Topics- by 9351 Members - Latest Member: Judith76

May 26, 2013, 09:18:00 AM
JOOM::GALLERY::FORUMJoomGallery 1.5 MVCFrontendUse the image description instead of the title as the lightbox caption.
Pages: 1 [2]
Print
Author Topic: Use the image description instead of the title as the lightbox caption.  (Read 4162 times)
0 Members and 1 Guest are viewing this topic.
marbert
Newbie
*
Offline Offline

Posts: 48



View Profile WWW
« Reply #15 on: April 22, 2011, 08:16:56 AM »

I'm sorry, there is a bug. Give us some time to look for a fix.

Of course, we will wait, thanks!

If you could solve the problem without changing the code - it is will be great!

Thank you!
Logged

aHa
Developer-Team
Hero Member
*****
Offline Offline

Posts: 990


View Profile WWW
« Reply #16 on: April 22, 2011, 12:26:37 PM »

Quote
Of course, we will wait, thanks!
Thank you for the patience.

Quote
If you could solve the problem without changing the code - it is will be great!
The bug already exists, the double output of the 'title' tag.
But I know what you mean Wink
Logged
marbert
Newbie
*
Offline Offline

Posts: 48



View Profile WWW
« Reply #17 on: May 14, 2011, 11:02:24 AM »

Quote
Of course, we will wait, thanks!
Thank you for the patience.

Quote
If you could solve the problem without changing the code - it is will be great!
The bug already exists, the double output of the 'title' tag.
But I know what you mean Wink

Hello, aHa!

Is there any solution to the problem with the description of photo in Slimbox after updating (to 1.5.7.1)?

I have updated the component to version 1.5.7.1 - but the problem is still there.

Thank you!
Logged

marbert
Newbie
*
Offline Offline

Posts: 48



View Profile WWW
« Reply #18 on: July 12, 2011, 10:49:03 AM »


I have updated the component to version 1.5.7.1 - but the problem is still there.

Thank you!

I solved this problem.

For Detail view:

Open - components/com_joomgallery/views/detail/tmpl/default.php at line 19 and change:


Code:
<a title="<?php echo $this->image->imgtitle; ?>" href="<?php echo $this->image->link; ?>">

to

Code:
<a title="<?php echo $this->image->imgtext; ?>" href="<?php echo $this->image->link; ?>">


And for Categories:

Open - components/com_joomgallery/views/category/tmpl/default_images.php at line 23 and change:


Code:
<a title="<?php echo $row->imgtitle; ?>"

to

Code:
<a title="<?php echo $row->imgtext; ?>"


It works in Joomgallery 1.5.7.3
Logged

pilot737
Newbie
*
Offline Offline

Posts: 2


View Profile
« Reply #19 on: July 13, 2011, 08:10:58 PM »

Thanx, good job
works for me  Yes

But how must i change the code when i want to display title AND text?
« Last Edit: July 13, 2011, 09:52:15 PM by pilot737 » Logged
benjaminballart
Newbie
*
Offline Offline

Posts: 6


View Profile
« Reply #20 on: July 15, 2011, 03:07:30 PM »

Hi All,

I was looking at customizing the text under the photo in the slimbox.
I have tried several things in vain.
And then I found this promising topic but I am running Joomgallery 1.5.7.2

Finally, anybody found a solution since April?

Thanks!

Benjamin
Logged
nicky
Newbie
*
Offline Offline

Posts: 2


View Profile
« Reply #21 on: August 13, 2011, 12:11:47 AM »

But how must i change the code when i want to display title AND text?

Code:
<a title="<?php echo $row->imgtitle; ?> <br /> <?php echo $row->imgtext; ?>"
Logged
Hightower
Newbie
*
Offline Offline

Posts: 4


View Profile
« Reply #22 on: September 20, 2011, 11:38:27 AM »

But how must i change the code when i want to display title AND text?

Code:
<a title="<?php echo $row->imgtitle; ?> <br /> <?php echo $row->imgtext; ?>"

This works perfectly for the detailview, but the mouseover of the thumbnail in the category view shows all formatting codes
i tried using strip_tags, it fixed the mouseover, but removed all formatting of detailview

is there a way to have different outputs for mouseover and detailview texts?
ex only title in mouseover, but title and description in detailview
Logged
Hightower
Newbie
*
Offline Offline

Posts: 4


View Profile
« Reply #23 on: October 19, 2011, 10:51:33 AM »

I have now updated Joomla to 1.5.24 and Joomgallery to 1.5.7.4.
Issue is still there

is there no one who can help???

Problem can be seen at http://www.birdphotos.dk/index.php?view=category&catid=922&option=com_joomgallery&Itemid=3&lang=da

Looking forward to any help
Logged
Pages: 1 [2]
Print
Jump to:  

Theme orange-lt created by panic

Bad Behavior has blocked 784 access attempts in the last 7 days.

maternal