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
Search
Get pagetitle inside a snippet
2 Posts
fabidareel
Reply #1,
12 years, 9 months ago
hi there,
one easy question, ive been wondering about the whole day: how can i get the pagetitle inside a snippet ?
thanks a lot!
Edit: Done! $modx->documentObject seems to be deprecated; $modx->resource->get("whateveryouwant") is the answer