Re: Customize FCK editor CSS stylesheet
Sergiy Shyrkov <[email protected]> Fri, 30 May 2008 09:37:33 +0200
| Newsgroups | gmane.comp.cms.jahia.install |
|---|---|
| Message-ID | <[email protected]> |
Hello Pierre, which version of Jahia are you using currently? Is it Jahia 5.0 SP3 (build 18957)? In Jahia 5.0 SP3 it is possible to configure separate CSS stylesheet (per virtual site or even per template) for the FCKeditor. Kind regards Sergiy HENRY Pierre wrote: > Hello, > > I would like to use my own template set's stylesheet for text edited in > FCK editor. > > I know I can put this in /WEB-INF/etc/htmleditors/htmleditors_config.xml > as a css tag. > > My problem is that our CSS is a jsp file that's included in the template > sets. So the path of the css file would be something like > /jsp/jahia/templates/<my site>/<template set in use>/css.jsp > > The second specialty is that the css uses a parameter that is stored as > a site-level meta-data, to chose between 6 different color sets. > > So in the ideal, what I would like to be able to do is to get the > current site's name, the value of the meta data for the current site, > call the jsp and use the generated result my stylesheet in fck editor > (or any other editor). > > Any idea as to how to realize this, even partially ? Should the jsp-css > be stored in a static path, not in the templates directory ? Any pointer > welcome ! > > Best Regards > > Pierre Henry > _______________________________________________ > install_list mailing list > [email protected] > http://lists.jahia.org/cgi-bin/mailman/listinfo/install_list > > _______________________________________________ install_list mailing list [email protected] http://lists.jahia.org/cgi-bin/mailman/listinfo/install_list