I'm working on a plone theme (Plone 4.0.3) and I want to add some custom
fonts.

The idea is simple:

a ) Add one more css file in cssregistry.xml file, so this css gets included
in all pages,
b ) add the css to one of the file system directory views of my theme (e.g.
skins/plonetheme_custom_styles/myfonts.css) and
c) copy the related fonts to the images directory (AFAIK, it's just a
filesystem directory view, so it 'should work', right?).

But, after reloading my plone instance (in debug mode) and reinstalling my
theme (so generic setup registers the new css file on its cssregistry), I
find that, altough myfonts.css loads, It never loads the css support files
(*.ttf, *eof, and so on). So I went to add .metafiles to all these new files
only to find that Plone won't serve these files.

Upon some visit to portal_skins/plonetheme_custom_styles, I find that these
files aren't listed. Why?

So, what's the deal? Wil CMFCore's DirectoryViews ever serve this kind of
files? Or should I use the zope3-is way to register resources?

---
Noe
_______________________________________________
Product-Developers mailing list
[email protected]
https://lists.plone.org/mailman/listinfo/product-developers

Reply via email to