Am 18.09.2007 um 08:45 schrieb Jörn Nettingsmeier:
Jürgen Ragaller wrote:
I managed to setup a cform, writing a customLoopFlow - the
validation is working.
But the working cform has the design of the login screen (no tabs
menu etc.).
To get the cform displayed inside a lenya page envelope I created
a usecase document
using the uri:
usecase=mymodulename.event&lenya.usecase=usecasedocument.create
(as it is done in the contactform module).
i guess you wrote a custom module for your usecase?
Yes
if so, it's probably more effective to implement a lenya page
"view" locally and not delegate to usecasedocument. all you need to
do is have the publication render the page and then sneak in your
extra content (check out the tinymce module sitemap, it uses the
same approach).
that way, you don't have to pile usecases on top of each other, and
it's probably faster.
Thanks for the pointer!
Jürgen
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]