Hi there,
I’ve got PHx working and listing the parent pagetitle, but i have a template variable that i want to pull in too.
[*parent:isnot=`0`:then=`[*id:parent*] - that works great for getting the page title. However, i want to pull in the template variable ’flash_weather_city’.
[*id:parent=`flash_weather_city`*] is what i have, but its not pulling it in. I’m getting the following:
MODx encountered the following error while attempting to parse the requested resource:
« Execution of a query to the database failed - Unknown column 'sc.flash_weather_city' in 'field list' »
SQL: SELECT sc.flash_weather_city FROM `db70791_surfacewatch`.`cms_site_content` sc LEFT JOIN `db70791_surfacewatch`.`cms_document_groups` dg on dg.document = sc.id WHERE (sc.id=80 AND sc.published=1 AND sc.deleted=0) AND (sc.privateweb=0) LIMIT 1