At the International PHP Conference in Frankfurt (Main), Germany I will talk about generating PDF with XSLT and FPDF.
It is not a talk about papaya CMS but the concept and source code of the PDF Output Filter.
2007-07-31
Views in papaya CMS
Unlike other cms a view in papaya CMS is not just a template. It is the full configuration for the output.
You create several output filters like html, rss, pdf or print. Each of them can use a different filter module like the xslt filter module or the pdf filter module. The name of the output filter is later used as an extension in the filename of the page urls.
After you defined all the output filters for your project you create a view for a page or box module and link them to the output filters. Each of the links can hold a configuration depending on the selected filter module. For the two existing module you can select a xsl file (the template) and a switch for fullpage mode.
The setting of the fullpage switch is given to the page module, so it can split large content into several outputs in one mode (html) and return a single output in another mode (pdf, print). This needs to be implemented in the page module or it will have no effect at all.
Take a look at the following little graphic:
Editing a page or a box you only need the select a view, because the views knows of its page/box module.
You create several output filters like html, rss, pdf or print. Each of them can use a different filter module like the xslt filter module or the pdf filter module. The name of the output filter is later used as an extension in the filename of the page urls.
After you defined all the output filters for your project you create a view for a page or box module and link them to the output filters. Each of the links can hold a configuration depending on the selected filter module. For the two existing module you can select a xsl file (the template) and a switch for fullpage mode.
The setting of the fullpage switch is given to the page module, so it can split large content into several outputs in one mode (html) and return a single output in another mode (pdf, print). This needs to be implemented in the page module or it will have no effect at all.
Take a look at the following little graphic:
Editing a page or a box you only need the select a view, because the views knows of its page/box module.
2007-07-30
nrw.summit 07 and FrOSCon 07
I will have a session at the nrw.summit 07 about the PHP Baysian Spamfilter integrated into papaya CMS.
The FrOSCon is at the same weekend. The program of the PHP Room is great. Maybe I will see you there?
Hello World
Hi world,
this is my second try to write a blog. Maybe I can keep it up to date this time. It is related to my job - I am the technical director of the papaya CMS.
Subscribe to:
Posts (Atom)