AW: [opencms-dev] Opencms6.0 beta2, microsite, _configuration
Andreas Zahner
A.Zahner at alkacon.com
Fri Apr 8 15:00:41 CEST 2005
Patrick,
you have to set a property value at the microsite folder, too. The property
"style_main_configpath" must point to the configuration folder, e.g.
"/mymicrosite/_configuration/". This is necessary because each page can have
individual configuration settings even for one microsite.
In the current CVS head, I fixed this problem by attaching the property
value on microsite folder creation. To do so, you have to adjust the
manifest.xml file of the template one module zip and add the following
property nodes to the microsite folder definition:
<type class="org.opencms.file.types.CmsResourceTypeFolderExtended"
name="microsite" id="19">
<properties>
<property>
<name>style_main_configpath</name>
<value><![CDATA[${resource.folder.path}_configuration/]]></value>
</property>
</properties>
<copy-resources>
<copy-resource
source="/system/modules/org.opencms.frontend.templateone/copyresources/_conf
iguration" target="${resource.folder.path}" type="new"/>
</copy-resources>
</type>
Hth!
Regards,
Andreas Zahner
Alkacon Software - The OpenCms Experts
http://www.alkacon.com
-----Ursprüngliche Nachricht-----
Von: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] Im Auftrag von patrick
Gesendet: Freitag, 8. April 2005 12:29
An: opencms-dev at opencms.org
Betreff: [opencms-dev] Opencms6.0 beta2, microsite, _configuration
Hi!
The microsite functionality new from b2 seems extremely interesting for
me! I do have problems making it work though: I cannot configure it
properly on a per-microsite basis.
What I did:
- in the Default web site, I create 2 microsites (m1 and m2). I am
always using the Template One demo as a template.
- In each microsite folder, I do have a _configuration folder which
contains various configuration elements
- I would like to have a blue text background on microsite m1 and a gray
one on m2. So I go to the m1/_configuration/configuration_css and change
the appropriate value (content-background) and do the same with m2.
- I am still having the default white background; in other words, the
values are not taking into accounts.
- This happens wether I publish or not.
What I am missing?
OpenCms6.0 beta 2, tomcat 5.5.9, jdk1.5, mysql 4.1.11, slackware.
Thanks,
Patrick
_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://mail.opencms.org/mailman/listinfo/opencms-dev
More information about the opencms-dev
mailing list