
<h1>[*longtitle*]</h1>
<h1>[*longtitle*]</h1>
Where can I find a list of variables to use on my custom template for my MODx managed site?
Also, am I right in thinking if I add a variable [*EXAMPLE*] to the source code of a template it will show the variable action on each page created with that template?
Is that how they work?
Thank you in advance for your help.
Louis
http://modxcms.com/document-tvs.html
The EXAMPLE TV will only appear on pages where you have [[*EXAMPLE*]] in the document content (assuming that they use the template with that TV). It will also appear if you have [[*EXAMPLE*]] in a chunk or produced by a snippet that’s called on that page.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title> title | description </title> <!-- Javascript - Fix the flash of unstyled content --> <script type="text/javascript"></script> <!-- Stylesheets --> <link href="style/reset.css" rel="stylesheet" type="text/css" media="all" /> <link href="style/default.css" rel="stylesheet" type="text/css" media="screen" /> <link href="style/styling.css" rel="stylesheet" type="text/css" media="screen" /> <!-- Print Stylesheet --> <link href="style/print.css" rel="stylesheet" type="text/css" media="print" /> <!-- Meta Information --> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> <meta http-equiv="imagetoolbar" content="no" /> <meta http-equiv="cache-control" content="public" /> <meta http-equiv="pragma" content="no-cache" /> <meta http-equiv="expires" content="never" /> <meta name="language" content="en-gb" /> <meta name="MSSmartTagsPreventParsing" content="true" /> <meta name="robots" content="index, follow" /> <meta name="revisit-after" content="14 days" /> <meta name="author" content="Mitchell Bryson" /> <meta name="keywords" content="" /> <meta name="description" content="" /> </head> <body> <div id="container"> <div id="header"> <div id="header-in"> header </div> <!-- end #header-in --> </div> <!-- end #header --> <div id="content-wrap" class="clear rlcol"> <div class="column cleft"> <div class="column-in"> column one </div> <!-- end .column-in --> </div> <!-- end .column --> <div class="column cright"> <div class="column-in"> column two </div> <!-- end .column-in --> </div> <!-- end .column --> <div class="content"> <div class="content-in"> content </div> <!-- end .content-in --> </div> <!-- end .content --> </div> <!-- end #content-wrap --> <div class="clear"></div> <div id="footer"> <div id="footer-in"> footer </div> <!-- end #footer-in --> </div> <!-- end #footer --> </div> <!-- end div#container --> </body> </html>