Hi,
I would like to add an additional field to the general config form, is this possible? I have looked at the available hooks and couldn’t spot a suitable one.
Thanks,
Dave.
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
September 12, 2012 5:50am
Subscribe [1]#1 / Sep 12, 2012 5:50am
Hi,
I would like to add an additional field to the general config form, is this possible? I have looked at the available hooks and couldn’t spot a suitable one.
Thanks,
Dave.
#2 / Sep 13, 2012 11:08am
Hi, Dave -
No, this is not possible. What kind of information are you hoping to store? That will help us give you some more guidance.
Thanks!
#3 / Sep 13, 2012 11:20am
Hi,
I was looking at making a script that would add a dropdown menu to the Global Config form which would allow me to select the folder that the sites template files are being pulled from. At the moment they are always pulled from the ‘default_site’ folder.
Dave.
#4 / Sep 14, 2012 5:39pm
Hi Dave,
Thanks for clarifying, but the end-game is still a bit fuzzy.
What would setting that path allow you to do that you can’t do already?
“default_site” is the default short name assigned to your first ExpressionEngine site. If you add MSM, then additional sites have their own short name. So, ExpressionEngine uses that value pretty extensively.
That doesn’t mean there isn’t a way to get what you are after!
Cheers,
#5 / Sep 17, 2012 4:53am
Hi Dan,
I want to use it to test different layout variations without having to create new template groups or adding MSM.
Thanks,
Dave.
#6 / Sep 18, 2012 4:35pm
I see what you’re trying to accomplish, though this wouldn’t be a good way to do it. Because of the way EE handles templates in the database vs templates as files, it’s not set up for quick switching like that. Perhaps you could perform similar tests by using different template groups.