Forums / Developer / Upload multiple files / Comment65231
Manuele Arenghi
Friday 21 January 2011 5:22:44 am
If I go to <site_url>/plupload/widget/2 the result is the same:on the top of the page,before the page it's shown the following message
handleError( eZError::KERNEL_NOT_AVAILABLE, 'kernel' ); // Fetch parent node $parentNode = eZContentObjectTreeNode::fetch( $parentNodeID ); // Check if parent node object exists if( !$parentNode ) return $Module->handleError( eZError::KERNEL_NOT_FOUND, 'kernel' ); // Check if current user has access to parent node and can create content inside if( !$parentNode->attribute( 'can_read' ) OR !$parentNode->attribute( 'can_create' ) ) return $Module->handleError( eZError::KERNEL_ACCESS_DENIED, 'kernel' ); $tpl = templateInit(); $tpl->setVariable( 'parentNodeID', $parentNodeID); $Result['content'] = $tpl->fetch( 'design:widget.tpl' ); //if standalone then do pagelayout = false maybe $Result['path'] = array( array( 'url' => '/', 'text' => ezi18n( 'design/plupload', 'Home' ) ), array( 'url' => false, 'text' => 'plupload' ), array( 'url' => false, 'text' => 'widget' ) ); ?>
http://manuele.ath.cx