getResources is a flexible snippet that allows you to display the content from other pages, so, for example, you can use getResources to generate a list of news or a list of recent blog articles. You could use getResources for your id="new" section.
<h1>[[*pagetitle]]</h1> <h2>[[*longtitle]]</h2> [[*content]]
The client doesn't need to know html syntax at all. On a well developed template the TVs are already inside the html tag, so the client will only write the text.
[[*secondary-content]]
Now, how do you apply an RTE to a TV? When I installed Tiny I thought it would have been applied to all areas, not just the main content field but I couldn't find a way to make it work. Obviously I'm overlooking something.
Thanks
the content isn't just plain text but has a numerous styling cues included like italic, strong or even a span class. In such cases those tags, classes, etc.have to be included in the TV. It's not always going to be as simple as blocks of the same default style text.
<p>This is a paragraph</p> <h3>This is a h3 title</h3> <p>This is a paragraph</p> <h3>This is a h3 title</h3> <p>This is a paragraph</p>
Could you perhaps move some of that markup into the template instead of having it in the content area? You're exposing your slideshow and page structure to your client's 'delete' key - from experience they will break it
Here's a stripped-down example of the main content markup I placed in TinyMCE:
<div id="content"> <div id="trans"> <div id="frame"> <p id="slider"></p> </div> <h1></h1> <div id="quote"> <h2><a href=""></a></h2> <p></p> <blockquote></blockquote> </div> </div> <div id="new"> <p></p> <h3></h3> <p></p> <h3</h3> <p></p> </div> </div>
Could you perhaps move some of that markup into the template instead of having it in the content area?
for simple Text formatting I like to use textile-markup and use the Textile-output-filter for that fields.
http://modx.com/extras/package/textilefilter