? Success

User tests: Successful: Unsuccessful:

avatar vtolstov
vtolstov
17 May 2015

This pull request provides ability to auto fill joomla settings with predefined values.

Signed-off-by: Vasiliy Tolstov v.tolstov@selfip.ru

avatar vtolstov vtolstov - open - 17 May 2015
avatar zero-24 zero-24 - change - 17 May 2015
Labels Added: ?
avatar zero-24 zero-24 - change - 17 May 2015
Category Installation UI/UX
avatar zero-24 zero-24 - change - 17 May 2015
Title
add placeholders for easy sed-ing
Add placeholders for easy sed-ing
Status New Needs Review
avatar zero-24
zero-24 - comment - 17 May 2015

Moving to Needs Review as we need a top level decision here.

BTW: I don't think we should use a placeholder for the prefix as the prefix should be random. Also i guess that the paceholders will confuse the user more than it helps. But I cant take the decision here. Thanks :smile:


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/6967.

avatar vtolstov
vtolstov - comment - 18 May 2015

@zero-24 Maybe joomla core can autogenerate and use default values in case of sees placeholders, so for user nothing changed, but for devs that try to provide joomla as SaaS this can helps very much.

avatar Bakual
Bakual - comment - 18 May 2015

I don't see the reason for this.

If you want to set up Joomla using a script, you can do that easy without using the installation application at all. All you need to do is create the database, apply the SQL which creates the tables, create the configuration.php file and delete the installation folder.

cPanel and co are already doing that just fine.

avatar Bakual Bakual - change - 18 May 2015
Status Needs Review Closed
Closed_Date 0000-00-00 00:00:00 2015-05-18 06:38:08
Closed_By Bakual
avatar Bakual Bakual - close - 18 May 2015
avatar vtolstov
vtolstov - comment - 18 May 2015

@Bakual in this have we have predefined site name, emails and other unneded stuff, in my case - user have installation gui that have filled inputs for database connection.

avatar Bakual
Bakual - comment - 18 May 2015

The scripts cPanel and co usually use let the user define the site name and email. Not much else needed and it's a simple form they use.

Your solution uses language strings, but doesn't define them. Which is obviously wrong already.
Let's assume you define them with an empty value (or localhost for the server), that would still mean your SaaS needs to hack core (all language files) to achieve what you want.
If they however need to hack the core anyway, they can as well just hack one XML file and add the defaults there, and make them readonly, hidden, or whatever to prevent the user from changing them.

I would still go the route with creating a custom script. It's much simpler in the end.

Add a Comment

Login with GitHub to post a comment