Thanks Florian for the info, I will try it out<br><br><div class="gmail_quote">On 15 February 2011 07:41, Florian Hopf <span dir="ltr"><<a href="mailto:hopf@synyx.de">hopf@synyx.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi,<br>
<br>
Yves Glodt schrieb:<br>
<div class="im">> when I do "New-> Page with free Text" I end up with a page without any<br>
> element (even "copy body from default body" is selected.)<br>
> Is there a way to have new pages created with one or more custom elements?<br>
><br>
<br>
</div>I didn't have time to test it again but this is how I think it works:<br>
Add a folder default_bodies to your module. Create a plain file in it<br>
that contains the code for your default body. Maybe this is enough but I<br>
think you also had to set the names of the elements to the property<br>
template-elements of your template. I haven't used this for a while so<br>
you just have to try.<br>
<br>
I added a new page to the opencms-wiki, would be nice to enhance it when<br>
you have it working: <a href="http://opencms-wiki.org/XMLPage" target="_blank">http://opencms-wiki.org/XMLPage</a><br>
<br>
Regards<br>
Florian<br>
<br>
_______________________________________________<br>
This mail is sent to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please visit<br>
<a href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br>
</blockquote></div><br>