I’m clearly missing something basic here...
I have a test chunk placed in the home page called {{footerTest}} and it looks like this:
<!-- START FOOTER -->
<div id="footerWrap">
<div id="footer" class="centre">
<!-- START TEXT BLOCKS -->
<div class="textBlock6">
[*footer1*]
</div>
</div>
The [*footer1*] TV has the following in the "Input Option Values" (have also tried "Default Value"):
And the Footer template is ticked so it is available on the Footer page.
Page 25 is my Footer page and I have entered some dummy content like this:
<h3>This is footer1.</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
<p><a class="small green button" href="#">Small green button »</a></p>
When I render the page, all the HTML is there but there is a gap instead of content like this:
<!-- START FOOTER -->
<div id="footerWrap">
<div id="footer" class="centre">
<!-- START TEXT BLOCKS -->
<div class="textBlock6"> </div>
</div>
So maybe the @Select binding is the way to go as the example here
http://svn.modxcms.com/docs/display/MODx096/%28at%29SELECT shows:
@SELECT pagetitle FROM [+prefix+]site_content sc LIMIT 10
This statement seems to show you can choose the TV from somewhere- although I know zero about SQL queries so could be wrong. Also, accessing the Database directly seems scary...
I’ve obviously misunderstood what these @Bindings are, or how to use them - if anyone with a shred of Modx talent could help explain things, that would be radical.