We launched new forums in March 2019—
join us there
.
In a hurry for help with your website?
Get Help Now!
Back to MODX.com
Forums
Docs
Revo Issues
Blog
My Forums
Products
Revo Discussions & Support
Revolution 2.2
Search
Answered
TV Naming Convention
<
1
2
>
708 Posts
Eko
Reply #11,
7 years, 5 months ago
Ta-da! They both work.
In your second (faster) example there was a syntax error on Line 7:
$name = $modx->runSnippet('getUrlParam', $fields;
I changed it to:
$name = $modx->runSnippet('getUrlParam', $fields);
And it works perfectly.
Thank you so much.
Todd
24,544 Posts
BobRay
Reply #12,
7 years, 5 months ago
I'm glad that worked for you (finally).
Sorry about the typo. My code editor autocompletes parentheses for me, so I often forget the closing one when entering code here.
Did I help you?
Buy me a beer
Get my Book:
MODX:The Official Guide
MODX info for everyone:
http://bobsguides.com/modx.html
My MODX Extras
Bob's Guides is now hosted at
A2 MODX Hosting
<
1
2
>