Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

[Contribution] Easy Configuration File


Recommended Posts

This contribution is compatible with anything.

I also use it for other projects.

It is a Universal one-file configuration script.

While developing, I got tired of making changes to the database or making entire configuration-pages for all the settings I was creating, so I created this file.

It can be used as temporary solution, but turned out usable enough to use in a production site too.



- Generates/Displays settings in tabs, separated by headings

- Generates/Displays a help tooltip for each option

- Uses Textfields and various Dropdowns (seconds, numbers, yes/no, colors, align....)

- Save settings as a variable or a define

- Saves a configuration file to be directly included

- Configuration file is automatically commented

- Ability to Delete entries that are also found in the DataBase


Options to set:

- SettingsFile: File to save the settings to

- DeleteDB: Set to anything to delete duplicate values from DataBase

- CommentPre: Text to add to each comment

- Settings: Array with all the settings. Contains: Tab => Heading => Row => Option => Option Settings

The file has some example settings to get you started.


Download the contribution from: http://addons.oscommerce.com

Please post questions, comments, request, etc. right here!

Edited by Zappo

Like Eek said... It never hurts to help!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...