[kupu-dev] Using Kupu in Plone without AT.
Duncan Booth
duncan.booth at suttoncourtenay.org.uk
Fri Jan 5 14:35:57 CET 2007
Christian Klinger <cklinger at novareto.de> wrote:
> Hello List,
>
> how is it possible to use kupu in plone in a page template without AT.
Sure, no problem.
>
> Are there examples for this?
Any editing template from Plone 2.0 should do as an example. e.g.
CMFPlone\skins\plone_content\newsitem_edit_form.cpt:
<div class="field"
tal:define="text python:request.get('text', getattr(here,'text',''));
cooked_text python:request.get('text',getattr(here,'cooked_text',''))">
<label for="text" i18n:translate="label_body_text">Body text</label>
<tal:editor define="inputname string:text;
formname string:edit_form;
inputvalue text;
cooked_inputvalue cooked_text;
tabindex tabindex/next;">
<div metal:use-macro="here/wysiwyg_support/macros/wysiwygEditorBox">
The WYSIWYG code
</div>
</tal:editor>
<div metal:use-macro="here/wysiwyg_support/macros/textFormatSelector">
Format box, if needed
</div>
</div>
So pretty similar to what you posted really.
More information about the kupu-dev
mailing list