Hai Guys,
Do not know if this was earlier posted yes or no. Did search the forum and saw some asking for it.
I had really the need to call the [+longtitle+] in several cases. Therefor I added this function to the NewsListing snippet.
For me it is working like a bomb. Hope you can enjoy it too.
Cheers Paul
-
MODX Staff
- 12,272 Posts
You should be able to call longtitle via [*longtitle*]. Glad it’s working for you!
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
Hai Ryan,
That is true but using [*longtitle*] gave me 1 longtitle for every post listed. So now I get their unique longtile by ID calling [+longtitle+] in template.
Thanks p2bee, I’ll read your modifications and try to understand how to proceed to add other variables
.: COO - Commerce Guys - Community Driven Innovation :.
MODx est l'outil id