siteaccess

You need to be logged in to post messages in the forums. New users may register here.

Fraser Hore

Member since:
09 January 2008

Posts: 5

Thursday 22 July 2010 4:06:27 am

This seems like a very useful extension, especially for people without shell access to their server.

I would like to use this extension to install eZ Teamroom, but the eZ Teamroom installation instructions require the passing of two parameters to the php script:

php extension/ezxmlinstaller/bin/php/xmlinstaller.php --template=teamroom/installezteamroom --siteaccess=<SITEACCESS_NAME>

How would I pass the siteaccess parameter to the script using the xa_xmlinstaller extension?

Thanks,

Fraser
Up

Matthieu Sévère

Member since:
18 March 2009

Posts: 26

Thursday 22 July 2010 5:02:58 am

Hi Fraser,

There should be no problem to install eZ Teamroom. You just need to define a the eZ teamroom installer as a task and define which template to use.

- Define a new task :
[Tasks]
AvailableTasks[demo2]=Demo task

- Link to a template with eZ XML Installer syntax:
[demo2]
TemplateFile=xmlinstaller/demo2

Then the task will appear in the back office and you will be able to run it and the system will ask you about needed parameters.

Cheers.

Matthieu

--
eZ certified developer: http://ez.no/certification/verify/346216

Up

Fraser Hore

Member since:
09 January 2008

Posts: 5

Thursday 22 July 2010 5:23:07 am

Hi Matthieu,

Thanks for the quick response. I created the ini settings as instructed and selected "run once" for the task in the list. It then brought up a form to fill in the parameters. None of the "integer" type parameters seem to be recognized as there is an "Unidentified Type" message and no input field. When I click "run" at the bottom of the form I get an error that data is missing or invalid, listing all the parameters that are "integer" types.

Any suggestions?

Thanks,

Fraser
Up

Matthieu Sévère

Member since:
18 March 2009

Posts: 26

Thursday 22 July 2010 5:44:48 am

Indeed there was no support for integer parameters.

It now done, see : http://websvn.projects.ez.no/wsvn...nstaller/edit.tpl?op=diff&rev=50

--
eZ certified developer: http://ez.no/certification/verify/346216

Up

You need to be logged in to post messages in the forums. New users may register here.