Wednesday 10 March 2004 12:42:59 am
Hi To get it working with 3.3, you'll have to do the following :
copy http://pubsvn.ez.no/nextgen/trunk/kernel/content/pdf.php into : kernel/content/. add to kernel/content/module.php :
$ViewList['pdf'] = array(
'functions' => array( 'pdf' ),
'default_navigation_part' => 'ezcontentnavigationpart',
'script' => 'pdf.php',
'params' => array( 'NodeID' ),
'unordered_params' => array( 'language' => 'Language',
'offset' => 'Offset',
'year' => 'Year',
'month' => 'Month',
'day' => 'Day' )
);
$FunctionList['pdf'] = array( 'Class' => $ClassID,
'Section' => $SectionID,
'Owner' => $Assigned,
'Node' => $Node,
'Subtree' => $Subtree );
Add to kernel/classes/ezcontentcache.php ca line 147 :
if ( $viewMode == 'pdf' )
{
return $cachePath;
}
I can not guarantee this will work.
You might need to copy this file as well.
http://pubsvn.ez.no/nextgen/trunk/design/standard/templates/node/view/pdf.tpl (Small changes there) Remember to add access for users to content/pdf
-- Kåre Høvik
Kåre Høvik
|