[daisy] [JIRA] Commented: (DSY-491) Allow arbitrary xml elements in siteconf

Bruno Dumon (JIRA) issues at cocoondev.org
Wed Jun 13 10:48:46 CDT 2007


    [ http://issues.cocoondev.org//browse/DSY-491?page=comments#action_13219 ] 

Bruno Dumon commented on DSY-491:
---------------------------------

The skinconf.xml is probably what you are looking for:

http://cocoondev.org/daisydocs-2_0/374-cd/25-cd/196-cd.html

> Allow arbitrary xml elements in siteconf
> ----------------------------------------
>
>          Key: DSY-491
>          URL: http://issues.cocoondev.org//browse/DSY-491
>      Project: Daisy
>         Type: Improvement
>   Components: Frontend - skin(ning)
>     Versions: 2.0.1
>     Reporter: Min Idzelis
>     Priority: Minor

>
> I tried adding a new element to the siteconf.xml file (i.e. <test1>hello</test1>) but then cocoon threw an error saying it couldn't load the siteconf file. 
> I would like to add arbitrary elements (or maybe just arbitrary elements under a top-level element which a name such as <userCustom>) so that I can use them in my skin. 
> What I want to do is to associate a site administrator (name/email) with every site on Daisy. The administrator name and email will be displayed in the footer of all pages via the skin. (i.e. <xsl:value-of select="/page/context/site/custom/@siteAdminName"/>)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.cocoondev.org//secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



More information about the daisy mailing list