I want to get the
id and
pagetitle from the
modx_site_content table based on a SELECT -- like this:
@SELECT `id`, `pagetitle` FROM `modx_site_content` WHERE `pagetitle` LIKE 'f%'ORDER BY `pagetitle` ASC LIMIT 40;
And I want to display the result with placeholders -- like this:
<a href="[~[+id+]~]" title="[+title+]">[+title+]</a>
I’ve never created a TV but when I put the SELECT above into the default value of a TV, it seems to work. Only how the heck do I get the plain text result into a placeholder? If someone would take a moment to explain, I and all non-programmers reading these forums in the future would be very grateful. Thanks.