-
☆ A M B ☆
- 24,524 Posts
Ok, MAMP with PHP 5.2.6, MySQL 5.0.41. Snippet configuration doesn’t do it, plugin configuration does do it. Plugin configuration is a textarea; snippet configuration is a text field. Change plugin’s textarea to a text field and the problem goes away. That’s as far as I can take it for now.
PHP 5.2.6 MODx 1.0.2
Using a PHx statement with "lang" casues the bracket!
I set a snippet uncached in a chunk to see the PHx output of
[+phx:if=`[+lang+]`:ne=`en`:then=`tpl`:else=`lang`+]
Now my MODx placeholder is lang as well. But another value as "Lang" WORKS!!
As already stated:
Quote from: garryn at Nov 01, 2009, 11:09 AM
Bouncing this .... I looked into the bug report and found the problem to be when a plugin parameter uses an HTML entity as it’s variable name (for example, &lang would equate to left angle bracket) - same happens if you specify &bull for example.
So I tried bull and got this: " • " for output.
Marked it RESOLVED IN JIRA:
IMO Just add to documentation not to use snippet/plugin/module params that also are
html entities E.g. lang ⟨ bull •
------
This has been fixed in Revolution!
http://modxcms.com/forums/index.php/topic,46062.msg272326.html#msg272326