Is there any difference between [+title+] and [+pagetitle+] ?
I use these placeholders in a chunk that formats Ditto’s output.
Both return exactly the same value.
-
MODX Staff
- 12,272 Posts
They’re the same and both work due to legacy reasons. I think "title" is technically deprecated, but could be completely wrong of course! There may be another parameter that tells Ditto to use an alternate field for the title, for example.
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
I would use pagetitle since that is the same throughout modx. title may not be consistent.