Hey guys;

as described here (http://www.hippocms.org/display/CMS/Template+editing
+tips) I am adding custom HTML tags.  Unfortunately, I have little
control over what gets placed, as it seems that every element is placed
in its own row.  My specific case:


<textfield id="/document/content/datum" />
<xhtml:div>
        <xhtml:span>TEST</xhtml:span>
        <xhtml:img src="/cforms/resources/cal.gif"/>
</xhtml:div>

Turns into:

<tr class="row-odd">
        <td ...>Publication date</label></td>
        <td ...><input type="text" .../></td>
</tr>
<tr>
        <td colspan="2">
                <div>
                        <span ../>
                        <img src="/cforms/resources/cal.gif"/>
                </div>
        </td>
</tr>


So the problems are: 

1) I wanted the div content to be in the same cell as the textfield but
there seems to be no way to do it.
2) The generated TR that has my custom content doesnt get a
class="row-(odd|even)" so its not styled correctly.

Any tips?

********************************************
Hippocms-dev: Hippo CMS development public mailinglist

Reply via email to