Re: [Hypercontent-users] Reusing data across sites
Brought to you by:
alexvigdor
From: Alex V. <al...@bi...> - 2006-11-19 18:55:36
|
Hi Carl, I realized I didn't answer your second question about using site = CSS =20 in TinyMCE. You just need to override the default XML editor =20 configuration by adding it to your project-specific pipelines.xml <pipeline name=3D"xml" mode=3D"xml-edit" basedir=3D"/" = content-type=3D"text/=20 html" permissions=3D"read,write"> <open-file/> <bind-form = processor=3D"org.hypercontent.form.xml.XmlFormProcessor" =20 as=3D"xml-form"/> <exec stage=3D"org.hypercontent.form.xml.XmlPrepStage"/> <exec = stage=3D"org.hypercontent.project.engine.stage.XSLTransformStage"> <with-param name=3D"source" = value=3D"/screens/modal-xml-tiny-mce.xsl"/> <with-param name=3D"localize-with" = value=3D"/l10n/xml"/> <with-param name=3D"baseActionURL" = value=3D"${baseActionURL}"/> <with-param name=3D"content-css" = value=3D"/css/mystyles.css"/> </exec> =09 </pipeline> Cheers, Alex On Nov 15, 2006, at 10:25 AM, Carl Barrow wrote: > > > Also, It is possible to set a CSS which is accessible though =20 > tinyMCE in model-xml-tiny-mce.xsl Last time I did this it set the =20 > same CSS for all the sites. Can I set a different CSS far each =20 > site? I notice that you=92ve added an if statement around the CSS =20 > config line, but I=92m not sure just what that=92s used for. > > > > <xsl:if test=3D"$content-css"> > > , content_css : "<xsl:value-of select=3D"concat($abs-=20 > project-base,$content-css)"/>" > > </xsl:if> > > > > > > Cheers > > Carl > > > > ************************************* > > Carl Barrow > Systems Integrator > e-Services > The University of Hull > Cottingham Road > Hull > HU6 7RX > Ext. 6838 > > ************************************* > > > > **********************************************************************=20= > ******************* > To view the terms under which this email is distributed, please go =20 > to http://www.hull.ac.uk/legal/email_disclaimer.html > **********************************************************************=20= > *******************---------------------------------------------------=20= > ---------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to =20 > share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?=20 > page=3Djoin.php&p=3Dsourceforge&CID=3DDEVDEV____________________________= ____=20 > _______________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users |