I would like to have separate divs with a [*content*] reference in each div. i may have up to 3 of these references in a single page. is there a way to do this or am am stuck with only having one [*content*] per page?
i realize i can use chunks, but these are HTML snippets and not client friendly. i need 3 editable via wysiwyg text areas per page.
possible?
thanks.
You want TV’s - Template Variables
Create 3 Text TV’s head-content, content-extra and footer, assign them to template
and inside template have something like this:
<head>
[*head-content*]
</head>
<body>
[*content-extra*]
[*content*]
[*footer*]
</body>
Now when you edit a document you will have extra fields, content-extra is awesome for snippets if you
want to run content in rich text...
//Built in:
http://svn.modxcms.com/docs/display/MODx096/Document+Variables
thanks for the quick response. that was exactly what i needed. perfect.
first day with modx. i wanted to love it. now i am in full-bore.
Welcome to MODx!!