On Jun 10, 8:25 pm, John Cox <
john.cox...@gmail.com> wrote:
> I was thinking instead of configuration in the single page
> admin screen (whatever it will be called), why not have another text
> file that executes the mod var sets. Something like this in the
> configuration file:
>
> // Mail Configuration
>
> xarModSetVar('mail', 'adminname', 'Enter your name here');
Sounds like a straightforward alternative/addition. You probably have
a good picture in your head about how this is going to work, but I
need to get a better idea still to comment usefully.
Re the variables, ,I think you raised this earlier but now I'm
reminded that we probably should look at how all the variable types
are handled now in xaraya, and see if we want to keep them all and
operating the way they do. At least some discussion on what we need/
don't and a clean up required there and I could do something useful
then in code :)
> Updating the configuration vars after changed would be rather easy.
> We could put a listener on it, or we could just refresh it when coming
> to the main page that lists the modules to be installed and run.
The listener is a neat idea. Refreshing when it comes to the main page
might a simpler option for now until we get more of the requirements
down.