Custom fb.data.strings 'Image x of y'

Page: 1

Author Post
Member
Registered: Aug 2009
Posts: 17
Hello,
how can I change the text "Image x of y" without modify the js language file (en.js, he.js, etc.)?
I'd like to use custom text for a floatbox in the home page ("News x of y").
Thanks
Administrator
Registered: Aug 2008
Posts: 3382
That showItemNumber text is baked right in to the code for English, and is translated in the languages files for other languages.

To get a custom blurb there, you could consider setting showItemNumber to false and then displaying whatever you like in the caption or caption2 field. The captions will accept HTML code in addition to plain text, so you can style them up with whatever fonts and colors you want and they can be positioned with the captionPos and caption2Pos options.

Page: 1