Comments doesn't show Lytebox, Gallery [Solved]

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
IMNB
Forum Members
Forum Members
Posts: 17
Joined: Mon Nov 08, 2010 5:39 am

Comments doesn't show Lytebox, Gallery [Solved]

Post by IMNB »

Hi

I cannot figure out how to make the comments show up. My prefered gallery is Lytebox, but the comments do not show in any of the Gallery layouts. I filled in some comments for the first gallery in the front page. (The example in the manual is for Lightbox, which doesn't download in full, which I wrote in another thread.)

This is where I work on it http://www.batmanstorpet.se/. I know some html and CSS, but no javascript. However the Gallery has a very easy to understand lead out display.

Very greatful for help.
/Inga
Last edited by IMNB on Tue Jun 14, 2011 7:18 am, edited 1 time in total.
Jos
Support Guru
Support Guru
Posts: 4020
Joined: Wed Sep 05, 2007 8:03 pm

Re: Comments doesn't show Lytebox, Gallery

Post by Jos »

You can change the html/smarty code from

Code: Select all

	{else}
   <a href="{$image->file}" title="{$image->titlename}" rel="lyteshow[gallery]"><img src="{$image->thumb}" alt="{$image->titlename}" /></a>
	{/if}
to

Code: Select all

	{else}
   <a href="{$image->file}" title="{$image->titlename}<br />{$image->comment}" rel="lyteshow[gallery]"><img src="{$image->thumb}" alt="{$image->titlename}" /></a>
	{/if}
IMNB
Forum Members
Forum Members
Posts: 17
Joined: Mon Nov 08, 2010 5:39 am

Re: Comments doesn't show Lytebox, Gallery [Solved]

Post by IMNB »

Many thanks Jos

The Gallery is really good and it works perfectly with the comments showing now. (I did try with the suggestion in the FAQ, bur couldn't make it work. Think it was the escape sequence.)

/Inga
Post Reply

Return to “Modules/Add-Ons”