cancel
Showing results for 
Search instead for 
Did you mean: 

Display trouble folders in joomla with component

khyron
Champ in-the-making
Champ in-the-making
hi everyone

I have a couple of questions for you and hopefully you can help me out with them.

I have installed alfresco lab 3 in OpenSuse 11.1 , with a mysql database version 5.O.67
I have installed joomla with apache2 and php version 5.2.6

I also downloaded the Joomla & Alfresco Integration component and I installed it as a Joomla extension with no problems.
In Joomla adminisration´s console, specifically in components>Afresco I added Alfresco data

Name:  Alfresco_test
Server: http://myserverdireccion:8080/alfresco
Share: http://myserverdireccion:8080/share
Username: admin
Password: admin
Published: yes

In menu> main menu i added a new entry and at Internal link >Alfresco>Repository >Spaces
In menu item details I added the information about link´s name.
In selected space i choose Alfresco_test which is the name i gave to it, as i show you in the configuration above.

Well…so far so good, the problem occurs when i am in joomla and i click the link that i´ve created. Right there the system shows the next text:


Company Home
Folders
Name                  Description
title; ?>                  Site Collaboration Spaces
title; ?>                  The guest root space
title; ?>                  User Homes
title; ?>                  Web Content Management Spaces

If i place the mouse over title; ?> it swows me the next web address
http://myserverdireccion/joomla/<?=$folder->url?>

If i click the link an error shows up saying:
404 object not found

Is there any step or configuration that i´ve missed here?

Thanks a lot for your help in this case.

Best Regards
3 REPLIES 3

johanjanssens
Champ in-the-making
Champ in-the-making
You found a small bug indeed. I made the mistake of using short tags instead of full tags in the templates. You can fix this in two-ways :

1. Enable short tags in your PHP ini file
2. Change any occurrences of <?= to <?php echo, in the following files mysite/components/com_alfresco/views/folder/tmpl/default_files.php and default_folders.php

That should do the trick. I made the necessary fixes on SVN and will release a maintenance version in the coming days.

Thanks !

Johan

khyron
Champ in-the-making
Champ in-the-making
hi Johan,
First of all ,thank you for your quick response, actually activate the option short_open_tag = On in my php.ini and now works perfectly, this integration is very powerful,  great work !!!

thank you very much!!! Smiley Very Happy

Best Regards.

johanjanssens
Champ in-the-making
Champ in-the-making
Thanks and enjoy !