Hi all,
I’m working my way into MODx after some experience with other CMSes. I’m finding it great to work with and I’m very excited about it.
OK - for my first templated page, I have a problem : in the Manager there’s a WYSIWYG field that I don’t understand on every page, even the completely empty ones. I have made a screenshot which explains it :
http://www.riczito.com/modx_question.jpg.
The code for that template is below. You’ll see there is no [*content*] tag as yet. Just one TV called [*intro*]. So if my client were to type text into that "Document Content" field (which he’s likely to do as it’s the first one in the Manager page), nothing will get published. This is liable to confuse him.
Is there any way of removing it, or at least putting it lower down in the admin page, after the intro?
Here is the (unfinished, obviously) template code so far :
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<title>CorrectMot</title>
<link rel="stylesheet" href="[(base_url)]assets/templates/correctmot/cm_home.css" type="text/css" media="screen" />
</head>
<body>
<div id="wrap">
<div id="header"></div>
<div id="navholder">
<div id="homebutton"><a href=[~[(site_start)]~]><img src="[(base_url)]assets/templates/correctmot/images/home_off.gif" border="0" onmouseover="this.src=’[(base_url)]assets/templates/correctmot/images/home_over.gif’" onmouseout="this.src=’[(base_url)]assets/templates/correctmot/images/home_off.gif’"></a></div>
<div id="nav">[[Wayfinder? &startId=`0` &level=`3` &parentClass=`hide` &parentRowTpl=`cssplay_parentRow` &outerTpl=`cssplay_outer` &innerTpl=`cssplay_inner` &rowTpl=`cssplay_row` &outerClass=`menu` &cssTpl=`cssplay_dropdown`]]</div>
</div>
<div id="topcontainer">
<div id="intro">[*intro*]</div>
</div>
<div id="bottomcontainer"></div>
<div id="footer"></div>
</div>
</body>
</html>
The page can be seen here :
http://clients.pixelligence.com/correctmot
Maybe I’m getting the wrong end of the stick?
Any help will be appreciated! Thanks in advance!
Ric Zito