Apache2-PageKit
view release on metacpan or search on metacpan
docsrc/features.xml view on Meta::CPAN
Any page can have multiple views, by using the <literal><link linkend="request.pkit_view">pkit_view</link></literal> request parameter.
One example is Printable pages. Another
is having the same web site branded differently for different companies.
Another is having different Media outputs such as HTML, XML and WML, by
using the <link linked="config.global.content_type">content_type</link>
configuration options.
</para>
<para>
To create a new view, create a <filename>View/<replaceable>pkit_view</replaceable></filename> directory and place the PageKit Templates and XSLT files for
the pages and components that you wish to apply the view to. Note that if
PageKit doesn't find a template or XSLT file in the <filename>View/<replaceable>pkit_view</replaceable></filename> directory it looks in the
<filename>View/Default</filename> directory. That is, the files <filename>View/<replaceable>pkit_view</replaceable></filename> "override" the files
in <filename>View/Default</filename> directory.
</para>
<para>
To association a media output such as XML, WML, or PDF with a view, use
the View <link linkend="config.view.content_type">content_type</link> attribute.
Note that in order for PDF output to work, you must install the Apache XML
FOP processor, available from
<ulink url="http://xml.apache.org/fop/">http://xml.apache.org/fop/</ulink>, and
configure <link linkend="config.global.fop_command">fop_command</link> to point
migration/README view on Meta::CPAN
5. Remove some possible "use undefined" warnings
6. Write "use Digest::MD5 ();" before "use DBI;"
run
migration/migrate_pagekit_1.05_to_1.06.pl /path/to/pagekit_root
=============================================================
Migration from 1.04 to 1.05
1. pkit_done parameter is no longer automatically filled in HTML
Forms. So if you have HTML code that looks like this:
<input type="hidden" name="pkit_done">
Change to
<input type="hidden" name="pkit_done"
value="<MODEL_VAR NAME="pkit_done">">
=============================================================
Migration from 1.02 to 1.03
( run in 0.467 second using v1.01-cache-2.11-cpan-64827b87656 )