TUTOSMain Page | About | Help | FAQ | Special pages | Log in
The Free Knowledgebase
Printable version | Disclaimers | Privacy policy

Table custom

From TUTOS

Database customization is handled by a file called [tutoshome]/php/db/table_custom.pinc. If this file exists its content will be used to query display and edit TUTOS objects. You don't have to modify other php code. To create localization you can edit tutos/php/localization/lang_custom.p3 or <lang_id>_custom.p3 file.


To make changes happen you have to run tutos/php/admin/update.php?id=0


This feature allows to add addtional fields to an object. Like

But be aware after you have defined a custom field you can't change its characteristics. Only after deletion and recreation.


Currently nearly all objects support custom fields.

Some good example is shown in the file [tutoshome]/php/db/table_custom_example.pinc

Retrieved from "http://wiki.tutos.org/index.php/Table_custom"

This page has been accessed 8,292 times. This page was last modified on 29 March 2010, at 06:31.
Content is available under GNU Free Documentation License 1.2.


Find

Browse
Main Page
Recent changes
Random page
Help
sitesupport
Edit
View source
Editing help
This page
Discuss this page
New section
Printable version
Context
Page history
What links here
Related changes
My pages
Log in / create account
Special pages
New pages
File list
Statistics
More...