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
Evo Development
Search
how to pass variables and messages between chunks and snippets?
218 Posts
olafmol
Reply #1,
19 years, 3 months ago
Hello,
is there a way using the MODx API to pass variables and messages between chunks and/or snippets for further parsing and processing?
Olaf
4,213 Posts
doze
Reply #2,
19 years, 3 months ago
You can use the placeholders:
http://wiki.modxcms.com/index.php/API
:setPlaceholder,
http://wiki.modxcms.com/index.php/API
:getPlaceholder
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
218 Posts
olafmol
Reply #3,
19 years, 3 months ago
cheers!