Friday 03 September 2004 12:51:10 am
I'm not sure about what you're trying to acheive, but here's how I create my custom edit-pages. You need to create an override for content/edit.tpl (the main edit page), and content/edit_attribute.tpl (the template handling each line/input field).
Modify your content/edit.tpl-override: Create a CSS-class hiding the validation and placement bar at the top (this seems to be needed by eZ), and comment out the "right part" in your template. Here's my working code for the altered parts:
<div class="noshow">
{include uri="design:content/edit_validation.tpl"}
{include uri="design:edit_placement_user.tpl"}
<br/>
</div>
{*
<!-- Right part start-->
{include uri="design:content/edit_right_menu.tpl"}
<!-- Right part end -->
*}
In order to change the way each input field is outputted (and the entire look and feel of the page), you need to edit the content/edit_attribute.tpl-override. Add a switch matching on the field title, and a case for the ones you want to change, and leave the default in the default case-block. It might seem troublesome, but it works nicely. Eivind
|