Add new domain names 14 Years, 8 Months ago
|
Karma: 0
|
Thanks for creating such a great component.
I am trying to create a form that will allow my users to add domain names to a slave website from the front end.
Right now I am able to modify the two config_multisites.php files to add the domain url to the arrays in those two files, but when I visit the site for the url I have just added to those two config files I get the following error:
"No configuration file found and no installation code available. Exiting..."
I am able to add the domain names to the slave site just fine in the backend and it works just fine, but I can't seem to add domain names that work by simply adding the domain url to the two config files.
So what am I missing here? What other files need to be updated when adding a new domain url to a slave site besides the two multisite config files?
Any help on this would be great. Thanks.
|
|
|
|
|
Re: Add new domain names 14 Years, 8 Months ago
|
Karma: 54
|
Try to hack multisites is not a good idea because JMS perform plenty of task.
This is normal that you get such error as all the additional stuff is not performed.
If you want to create your specific form, use the "layout" system and put a templates into the front-end and just let JMS works with this new templates.
This will create everything.
Get inspired from the /components/com_multisites/templates/black directory
This give you the possibilty to overwrite the list, edit and delete form.
If you need additional processing, you can also write a plugin as documented in user manual chapter 4.
|
|
|
|
|
Re:Add new domain names 14 Years, 8 Months ago
|
Karma: 0
|
I am curious, Why would this not be part of the default functionality of this product? It seems like a very important piece.
Dave
|
|
DaveC
Senior Boarder
Posts: 77
|
|
|
Re:Add new domain names 14 Years, 8 Months ago
|
Karma: 54
|
Create new "layout" under JMS is possible and you can use them and this is done for that like a plugin in joomla or a module.
So you just have to use this facility.
You also have the Plugin that is design for that and is documented in the User manual.
So this "default functinoality" is present and use the facility that we are providing rather than to hack the code.
|
|
|
Last Edit: 2010/05/15 01:07 By edwin2win.
|
|
|