This product defines templates for bda.plone.shop.interfaces.IBuyable to be used with pp.plone-client.
- install Produce & Publish Server ( http://www.andreas-jung.com/contents/pdf-generation-with-plone-and-phantomjs )
- add the following to your buildout.cfg
environment-vars =
PP_CONVERTER phantomjs
PP_RESOURCE bda-default
- generate your pdf by going to http://yoursite/product/asPDF
- it is possible to load css in the templates by using full URL, probably:
- <head>
- <link rel="stylesheet" href="http://mysite/my.css" />
</head>
- on OS X I had to manually download phantomjs
- On Ubuntu I had a problem with gevent due to a bug in Ubuntu (reinstalling some libs did the trick... I think it was libevent)
Published under the GNU Public Licence Version 2 (GPL 2)
Espen Moe-Nilssen