Maybe I overlooked it, but I can’t find XHTML URLs setting in Revo’s System Settings.
On my dev site, Login snippet outputs & in the URL, but I need & there.
I modified the code of login.snippet.php at lines 150, 152 and 158 to use & there, cleared the cache, no advance.
Can anybody help?
It was left out on accident but still referenced; just add the System Setting with a key of ’xhtml_urls’ and a xtype of ’boolean’ (Yes/No).
shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect |
github |
splittingred.com
Thank you Shaun, but I still have no luck.
I wonder what can Revo do with it, when login.snippet.php produces the URL?
Line 158: [tt]$phs[’logoutUrl’] .= strpos($phs[’logoutUrl’],’?’) ? ’&’ : ’?’;[/tt]
Strange, it doesn’t matter if I change & to & here.
Or maybe [[~4? &food=`beer` &beer=`food`]] or the modX::makeUrl() method should respect the xhtml_urls setting?
Just want to understand what’s going on.