Parse error: syntax error, unexpected T_STRING in /../commonfuncs.php(496) : eval()'d code on line 194
Simply trying to have some custom glyphs show next/right of link titles. Selecting 3 or more checkboxes produces error above.. 0,1 or any 2 checkboxes checked works fine.
EG: a movie listing with graphic ratings shown next to links:
some movie [R][L][N] .. .. some movie [PG][V] .. .. some movie [G] .. .. etc.
Comments on Link field + checkboxes
Forum Regular
Usergroup: Customer
Joined: Jan 11, 2006
Total Topics: 48
Total Comments: 166
A custom link field, checkboxes error if 3 or more checked, as described here.
Forum Regular
Usergroup: Customer
Joined: Jan 11, 2006
Total Topics: 48
Total Comments: 166
Persists through version 3.3.14
EG: a movie listing with graphic ratings shown next to links:
some movie [R][L][N]
..
..
some movie [PG][V]
..
..
some movie [G]
..
..
etc.
Glyphs:
[R] = Restricted, [PG] = Parental Guidance, [G] = General Audience
[L] = Language/Profanity
[N] = Nudity
[V] = Violence
..etc.
I still can't figure out how the KB Article applies as all works okay with 0 or any 1 & 2 checkboxes selected.
See attached segment of displaylinks.tpl -- I can't see anything out of whack.
PS: If I try to past the contents of the text file as a quote in the forum there is a lot of substitutions and messages generated by WSN Forum.
Attached Files:
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
It's a problem with conditionals, PHP would work.
<IF {LINKCHECKED[tracktype <,> RatePG]}>Rating is PG</IF> is the best way to do it anyhow and appears to work.
Forum Regular
Usergroup: Customer
Joined: Jan 11, 2006
Total Topics: 48
Total Comments: 166
Thank you Paul, that worked for me perfectly.
This is my first use of my own field I'm glad to finally see it working as I had hoped it would.