Re: doctypes
Christian Stocker <[email protected]>
| Newsgroups | gmane.comp.cms.bitflux.general |
|---|---|
| Organization | Bitflux GmbH |
| Message-ID | <[email protected]> |
On 23.11.2005 11:30 Uhr, qMax wrote:
> I'm moving my site from lenyaCMS into bxCMS,
> and wonder how to setup bitflux to have 'doctypes'.
Flux CMS doesn't really have the concept of doctypes as lenya does
(right now)
> I suppose it to be property of a text/xml resource,
> a subject to choose when creating new document.
> This property should determine what xslt to choose when rendering this
> doctype.
>
> IIRC, i should implement something like bx_resource_xmldocument,
> and setup properties for it in conf/properties.xml, including 'doctype'.
Do I see that correctly, that you want to have different XML documents
(doctypes) throughout the whole websites, which should be translated by
different xslts?
So for example
/foo/addresses.xml <- adress.xslt
/bar/agenda.xml <- calendar.xslt
/gnarf/alsoaddresses.xml <- adress.xslt
What you basically need here is a special plugin and then it should be
doable. But before I'm not really sure, what you want, I wait with more
explanations :)
chregu
>
> Now how could i add a menu item to call addNewResource('',$doctype)
> and pass this 'doctype' property to rendering pipelines ?
>
--
christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich
phone +41 44 240 56 70 | mobile +41 76 561 88 60 | fax +41 1 240 56 71
http://www.bitflux.ch | [email protected] | GPG 0x5CE1DECB
--
bitflux-cms mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms