Loading...
 
Features / Usability

Features / Usability


Re: Can Slideshow Include Image Title/Description?

posts: 214

Which version of Tiki are you using?

In Tiki 9, there does not appear to be a way to have the title and/or description display in the File Galleries slideshow.

The File Galleries slideshow uses templates/file_gallery_slideshow.tpl, which is able to display that information:

Copy to clipboard
{if ($caption)} {if ($caption eq 'd')} {assign var="itemcaption" value="{$f.description}"} {elseif ($caption eq 'n')} {assign var="itemcaption" value="{$f.name}"} {elseif ($caption eq 'f')} {assign var="itemcaption" value="{$f.filename}"} {/if}

But the "caption" variable only appears to be set when that tpl file is called by PluginFiles. I don't find any way to set the caption variable for the List Galleries slideshow button.

It does mean that you can get a slideshow with titles and/or descriptions using the PluginFiles though.

Tom

There are no comments at this time.