Doug Chestnut wrote:
Hi David,
In Lenya 1.4 there is support for multiple "sammples" to start editing
from.
I haven't used it in a while. In your modules (xhtml perhaps)
module.xconf file (modules/xhtml/config/module.xconf) add your extra
samples and name them like so:
<sample-name>fallback://lenya/modules/xhtml/samples/xhtml.xml</sample-name>
<sample-name name="Two Column
Layout">fallback://lenya/modules/xhtml/samples/xhtml-2col.xml</sample-name>
(http://svn.apache.org/viewcvs?rev=290956&view=rev)
IIRC, there is also the possibility to add additional sample in your
publication.xconf. For example for the resource type xhtml:
<resource-type workflow="workflow.xml" name="xhtml">
<sample-name name="Two Column
Layout">fallback://lenya/modules/xhtml/samples/xhtml-2col.xml</sample-name>
</resource-type>
It's even possible to give a pipeline as the sample source which allows
you to generate the samples dynamically.
hth
- Felix
Then add your new sample file to the modules samples directory
(modules/xhtml/samples), "build clean", then "build" and you should be
in good shape.
I think there is an issue with not being able to overwrite the
module.xconf file in your pub. Let us know if you have problems ;). I
will try to add documentation, sorry.
--Doug
David Zhang wrote:
Hi, Lenya is new to me and I am evaluating this tool now.
I have read all documentation on the Lenya site and still have some
questions
and feel this tool is great but it is still fuzzy to me.
Does Lenya support choosing templates when creating new documents?
In the out-of-box version, I have no choice. Our requirement is that
users
be
able to choose one from a list of document templates to start when
creating
a new
document. By templates, I mean they has defined visual layout and place
holders and users simply fill those place holders.
Thanks for your attention and answer! Any pointer is welcome!
David
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Felix Röthenbacher [EMAIL PROTECTED]
Wyona Inc. - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]