Hi,
I have tried to create a custom resource type using
following link.
http://lenya.apache.org/docs/1_2_x/how-to/cust
om_resourcetype.html
But when i try to create a document i got an error msg
"The requested document '/test11.html' with
document-id '/test11' does
not exist."
although an xml document with same id is created in
content/authoring
section but its not displayed.
I guess i am very close and you guys could make me more
closer thanks for
your help.
--Waqas
>From: Andreas Hartmann <andreas apache.org>
>Reply-To: dev lenya.apache.org
>To: dev lenya.apache.org
>Subject: Re: how to create pages with templates
>Date: Mon, 26 Feb 2007 10:06:19 +0100
>
>waqas khalid schrieb:
> > Hi,
> > I am a new one on lenya could any one tell me that
how could i create a
> > new page using different templates. Currently i am
creating new pages
> > using xhtml which acts as a default template for
all new pages but i
> > want to create a new page using any desired
template.
> > looking forward for a postive feed back from all
you gurus.
>
>You can either define different resource types, but this
makes sense
>only if you want to use different XML schemas.
>
>Here's some documentation about resource types:
>
>http://lenya.apache.org/docs/1_4/reference/resourc
e-types.html
>
>If you just want different XHTML layouts, you can add
multiple
><sample-name> elements to the resource type
declaration. Then you can
>choose a sample on the "Create" page.
>
>HTH,
>
>-- Andreas
>
>
>--------------------------------------------------------
-------------
>To unsubscribe, e-mail: dev-unsubscribe lenya.apache.org
>For additional commands, e-mail: dev-help lenya.apache.org
>
____________________________________________________________
_____
Express yourself instantly with MSN Messenger! Download
today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471
ave/direct/01/
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe lenya.apache.org
For additional commands, e-mail: dev-help lenya.apache.org
|