hi,
cool solution!
couldn´t find an Evolution equivalent, though... since newQuery is only for Revolution.
really appreciate your help.
btw, i only need the IDs of the resources where the TV 'slider_toggle' is set to 'Yes'.
so, i tried the following instead, but for some reason, nothing is returned:
@SELECT page.id FROM modx_site_content as page JOIN modx_site_tmplvar_contentvalues as tv_val JOIN modx_site_tmplvars as tv_name ON page.id=tv_val.id WHERE tv_val.value='No' AND tv_name.name='slider_toggle'
where would you think i goofed up?
thanks!