coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: nanothree on April 10, 2005, 01:15:00 PM

Title: New admin fields
Post by: nanothree on April 10, 2005, 01:15:00 PM
How can i add new options in the ACP?
Title: Re: New admin fields
Post by: Joachim Müller on April 10, 2005, 01:42:29 PM
Does "No support" mean anything to you?
Title: Re: New admin fields
Post by: nanothree on April 10, 2005, 01:45:44 PM
sorry, shall i satrt a new thred soemwhere else and you delete this one? or do you wanna move it?
Title: Re: New admin fields
Post by: Joachim Müller on April 10, 2005, 01:50:51 PM
You should post (by replying here) what version of coppermine you have and I (or another mod) will move this thread for you.
Additionally, you should describe in more details what you want to accomplish. A link to your site and as many details as possible might help as well.

Joachim
Title: Re: New admin fields
Post by: nanothree on April 10, 2005, 02:29:34 PM
version 1.3

I am playing around with a mod, the email on comments one, and want to make it possible to turn it on and off from the admin panel, so i need to be able to make another option in the admin panel
Title: Re: New admin fields
Post by: Nibbler on April 10, 2005, 02:33:02 PM
You need to add an entry into the lang file you are using (at $lang_config_data), and a new row into the config table. The name you specify in the lang file must match the name of the new row in the table. Look at the existing settings for an example.

Title: Re: New admin fields
Post by: nanothree on April 10, 2005, 03:30:34 PM
thanks alot