我去了普罗讷3.0
plonetheme.fui的Python项目详细描述
为fagutvalget ved institut for informatikk编写的plone主题 (http://fui.ifi.uio.no)。主题在以下地址提供:
唯一一个我从默认的plone3主题修改过的文件,除了一些小的 对setup.py和main_template.pt的调整是 plonetheme/fui/browser/stylesheets/main.css。我只是检查了 XHTML源代码由PLONE生成,并采用试错法制作CSS。
安装
您可以使用buildout在plone中安装这个主题。
Add ^{tt4}$ to ^{tt5}$:
[buildout] ... eggs = ... plonetheme.fui [instance] ... zcml = ... plonetheme.fuiRun (maybe backup first..):
~$ buildout -nInstall the plugin using Site Setup in your Plone site.
Add the following lines at the end of the Styles box in ^{tt6}$:
Image float left|img|float-left Image float right|img|float-right Bordered image float left|img|bordered-float-left Bordered image float right|img|bordered-float-right(5.) Add the following styles to the FCKeditor styles:
<Style name="Image float left" element="img"> <Attribute name="class" value="float-left" /> </Style> <Style name="Image float right" element="img"> <Attribute name="class" value="float-right" /> </Style> <Style name="Bordered image float left" element="img"> <Attribute name="class" value="bordered-float-left" /> </Style> <Style name="Bordered image float right" element="img"> <Attribute name="class" value="bordered-float-right" /> </Style>
代码语法突出显示
主题加载prettify.js(http://code.google.com/p/google-code-prettify/)。 将prettify类添加到<;pre>;块中以获得语法高亮度。
对于开发人员
将新版本发布到pypi.python.org,其中:
~$ python setup.py egg_info -RDb "" sdist upload
您可以使用以下命令在前台运行plone:
~$ plonectl fg
请注意,除非重新安装产品,否则不会添加资源。