You are not logged in Log in Join
You are here: Home » Members » aaltepet's Home » Additional Functionality for Silva Documents » SilvaDocumentPatches install » View Document

Log in
Name

Password

 

SilvaDocumentPatches install

Installation of SilvaDocumentPatches is a bit more involved than
normal Zope product installations. This is because SDP contains
patches that need to be applied to code within kup and SilvaDocument.

SilvaDocumentPatches requires XMLWidgets-pluggable. IT can be found here:
http://www.zope.org/Members/aaltepet/XMLWidgets-pluggable

So to start off, guntar SilvaDocumentPatches in your
Products directory.

Patching SilvaDocument:
There are two places that contain patches.

For Silva versions < 1.5:
Copy
SilvaDocumentPatches/SilvaDocument_widgets/element/table_elements/custom_row_heading to
SilvaDocument/widgets/element/table_elements

For all Silva versions:
Apply the SilvaDocument.diff patch from within the Products
directory, like this:
[zope@cirdan Products]$ patch -p0 < SilvaDocumentPatches/SilvaDocument<version>.diff

Patching Kupu:
Again, within the Products directory, apply the kupu.diff
[zope@cirdan products]$ patch -p0 < SilvaDocumentPatches/kupu<version>.diff

Installing SDP inside Silva:
Now that everything is patched, turn on zope. In the ZMI, go to
the Silva services tab, and click the service_extensions service.
Somewhere in the list of extensions, you will see SilvaDocumentPatches.
It will be have a grey background. Click 'install'.

If you receive no errors, you're good to go!

You will find service_typochars in the services tab. Place your own
xml entities in there.