cancel
Showing results for 
Search instead for 
Did you mean: 

File page on CMIS/Joomla plugin not working

ofrxnz
Champ in-the-making
Champ in-the-making
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-662ae65561f...

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
12 REPLIES 12

mikeh
Star Contributor
Star Contributor
This trick doesn't work for Alfresco 3.1. I suppose the version of these preview files is too old.
Read my post directly above yours.

Mike

anya
Champ in-the-making
Champ in-the-making
ah, didn't notice  Smiley Tongue

bcastillo
Champ in-the-making
Champ in-the-making
Hi,
I copy the file of Hanzo, but I have a problem it shows an error that Alfresco is not defined?
What I have to do??

Thanks in advance!