K4kArot2015 / sigplus

Automatically exported from code.google.com/p/sigplus
0 stars 0 forks source link

Show title like filename only in one galleries #91

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi!

Please, help.

In the settings plugin sigplus I set default "template Image title": an empty 
field. In this way, by default, in the galleries will not appear in the title 
(naza file).

In one article (gallery) I want to turn on the display for photos (file name).

I tried the advice of aid:
Image title template

"Purpose: Title template used to build the image title.
Expected value: empty, or an image template specification, please check the 
manual
Parameter name: caption_title_template "

But it is not for mine clear. Trying to type in the parameters of the gallery 
such caption_title_template = "$ filename" causes the error.

Please code sample gallery of display enabled file name.

Thank You!
Best Regards!

Original issue reported on code.google.com by ten.mari...@gmail.com on 19 Oct 2013 at 12:19

GoogleCodeExporter commented 9 years ago
Variable substitutions in the activation tag with the syntax "{$filename}" 
violate the regular expression rule "[^{}]*" that matches key-value pairs. The 
closing "}" in "{$filename}" has been matched (incorrectly) as the closing 
curly brace of the sigplus activation start tag.

In sigplus version 1.5.0.196 and later, simple variable substitutions such as 
"{$filename}" are recognized in the parameter list part of the activation tag, 
and they are now parsed properly.

Original comment by huny...@gmail.com on 10 Nov 2013 at 2:16

GoogleCodeExporter commented 9 years ago
Thank you for your work and improvements on the project. With pleasure I will 
continue testing these and other new features.

Original comment by ten.mari...@gmail.com on 12 Nov 2013 at 10:50