2006-05-02

安装CMFBibliography

Thomas要在zope上使用CMFBibliography让我安装。按照产品文档说明在确保安装了组件ArcheTypes的情况下把文件复制到zope的Products目录下,并重启zope server。可是CMFBibliography却没有出现在Products列表中。察看event.log发现缺少一个名为“ATExtensions”的模块,安装该模块后,CMFBibliography就自动安装了。

2006-05-04T16:38:30 ERROR Zope Couldn't install CMFBibliographyAT Traceback (most recent call last): File "/home/jiad4701/zope/zope-2.9.2/lib/python/OFS/Application.py", line 762, in install_product global_dict, global_dict, silly) File "/home/jiad4701/zope/zope-2.9.2-data/Products/CMFBibliographyAT/__init__.py", line 22, in ? import content File "/home/jiad4701/zope/zope-2.9.2-data/Products/CMFBibliographyAT/content/__init__.py", line 2, in ? import Products.CMFBibliographyAT.content.article File "/home/jiad4701/zope/zope-2.9.2-data/Products/CMFBibliographyAT/content/article.py", line 18, in ? from Products.CMFBibliographyAT.content.base import BaseEntry File "/home/jiad4701/zope/zope-2.9.2-data/Products/CMFBibliographyAT/content/base.py", line 24, in ? from Products.CMFBibliographyAT.content.schemata \ File "/home/jiad4701/zope/zope-2.9.2-data/Products/CMFBibliographyAT/content/schemata.py", line 11, in ? from Products.ATExtensions.ateapi import FormattableNamesField, \ ImportError: No module named ATExtensions.ateapi
Installing CMFBibliography

CMFBibliography is a standard Zope/CMF/Plone product so you install it like any other product by moving or copying the source code into your site's products folder (usualy something like ../yourZope/Products or ../yourZope/lib/python/Products depending on your installation) and restarting the server.

Next you have to tell your Plone instance that you want to use it. There are at least three ways to do so.

1. Log in as manager and then either go to 'plone setup' -> 'add products', select 'CMFBibliography' and click 'install'. Make sure, however, that you have ArcheTypes installed first, otherwise the installation will fail (newer versions of Plone come with ArcheTypes included, so you should not have to worry).
2. Alternativly you can go to the ZMI and then either use the Quickinstaller from there.

3. You install it using an External Method refering to the products 'install' method from the 'Install' module in the 'Extensions' folder.

After successfull installation you should have a number of new content types available, namely the Bibliography Folder and all the different reference types as well as the Bibliography tool including a few parsers and renderers.

没有评论:

发表评论