Merc Studio Tech Blog
Thursday, October 14, 2010
Modx 2 query for template variables
This example shows how to query for template variable from a article:
SELECT cv.*, v.`name` FROM `modx_site_tmplvar_contentvalues` cv left join `modx_site_tmplvars` v on cv.tmplvarid=v.id
WHERE `contentid` = #
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment