Hi,
I have a Listbox TV with the following @SELECT in the input options:
@SELECT value,contentid FROM `modx_site_tmplvar_contentvalues` WHERE tmplvarid = 7
It works perfectly in selecting specific resources from a tv value (sku number) and storing their ID in a list. My problem is that the site has now grown and has multiple context, and the same tv with the same content might occur in several context.
Can any one help me to modify the above @select statement to make it select only from resources in the "web" context?
Help will be highly appreciated