AnsweredAssumed Answered

File page on CMIS/Joomla plugin not working

Question asked by ofrxnz on Apr 21, 2009
Latest reply on Mar 3, 2010 by bcastillo
So, I am attempting to use the CMIS plugin for Joomla & Alfresco. 

The plug in mostly works well. 

It connects, populates folders, is navigable, searchable, and even the thumbnails show up.

When I click on a file the preview is supposed to come up with links on the page.

Here is the demo equivalent http://joomla.demo.alfresco.com/joomla/index.php/alfresco/file/1/371a3d6a-3c28-481f-ac15-662ae65561fd

In my case, a blank page pops up.  This page has no source code or scripts or well anything.  it is literally blank as in a null page.  It does not come back with an error though

I noticed some errors in the default_preview_flash.php folder but when i edited them out and basically told it to echo some static string nothing popped up.

My guess the issue is a controller issue or it is jumping to the wrong template. 

Does anyone have any idea what needs to be fixed so the file view works? 

My guess is there was a share update that this plugg in was not updated to handle


Below her are the bugs i found in it already.  These dont seem to be causing my issue. 

In default_preview_flash.php here are some lines that seem to be for an older version of alfresco.


$document->addScript($this->profile->share.'/yui/selector/selector-beta-min.jss');
is miss typed and should be ".js" at the end not ".jss" as seen below
$document->addScript($this->profile->share.'/yui/selector/selector-beta-min.jss');

The following files dont exist.  There is a new script and css in that folder but their is only one not two

// Document Preview
$document->addStylesheet($this->profile->share.'/components/preview/preview.css');
$document->addScript($this->profile->share.'/components/preview/preview.js');

$document->addStylesheet($this->profile->share.'/components/preview/full-preview.css');
$document->addScript($this->profile->share.'/components/preview/full-preview.js');

i am running Labs 3 stable/final and Joomla! 1.5.8 Production/Stable

I dont think php is the newest version so i am going to try upgrading

Outcomes