I found that you can't use commas in the description field. The parser interprets a comma as a field separator, and chops off the rest of the image description.

Perhaps there is is an escape character that I could use? I tried all the standard escaping methods (quotes, backslash, etc.), and none of them worked.

My current workaround is this: In the description field, instead of a comma, I put in the string "#COMMA#". Then, in both theme_slideshow_creator() (in slideshow_creator.module) and in ssc_update() (in slideshow_creator.js), after I get the stored description field, I do a string replacement, replacing "#COMMA#" with ",".

Comments

brmassa’s picture

Version: 5.x-1.x-dev » 5.x-1.17
Assigned: Unassigned » brmassa
Status: Active » Postponed

Benjamin,

Thanks for you report.
Yes, its not possible to use commas on description, title, URL or any other SsC variables.
I personally dont like to use "#COMMA#" coz it looks like a ugly hack. im thinking in a way to use other characters to separate fields and inteligently detect it.

on 1.18, im working on CCK integration but i might include such feature.

best regards,

massa

Nathan005’s picture

If your interested at all, the HTML for comma is &#44
Not as human readable though

For more HTML characters look here

brmassa’s picture

Status: Postponed » Fixed

Benjamin,

now you can use commas: put "\," and it will be converted as a single comma. next release will be fixed

Nathan

html codes will not work since each text on slideshow is decoded as html safe.

best regards,

massa

brmassa’s picture

Status: Fixed » Closed (fixed)