Custom field in database?
Started by Muneeba, Jun 03 2010 12:19 PM
6 replies to this topic
#1
Posted 03 June 2010 - 12:19 PM
Hi,
I would like to add email address field for each of the page just like we have pagetitle and longtitle, is it possible to add a new field which will be populated throughout the CMS?
Please help.
Thanks
I would like to add email address field for each of the page just like we have pagetitle and longtitle, is it possible to add a new field which will be populated throughout the CMS?
Please help.
Thanks
#2
Posted 03 June 2010 - 08:18 PM
It's not that simple with the current code base... While adding a field into the database isn't a big problem, modifying the manager/actions/dynamic/mutate_document_static.action.php and manager/processors/save_content.processor.php would also be required... And without checking the parser, index.php, I can't say whether modifications would also be required there...
#3
Posted 25 August 2011 - 07:57 PM
I'm interested in the same things...basically to provide mantainers at least 5 different field like description one.
Do you think is a big work?
And more... would this require to modify the sources and make a new install (since tables are populated during install...)?
Thank you,
Ricky
ps. I can't find: manager/actions/dynamic/mutate_document_static.action.php. It is maybe mutate_content.dynamic.action.php ?
Do you think is a big work?
And more... would this require to modify the sources and make a new install (since tables are populated during install...)?
Thank you,
Ricky
ps. I can't find: manager/actions/dynamic/mutate_document_static.action.php. It is maybe mutate_content.dynamic.action.php ?
#4
Posted 25 August 2011 - 09:35 PM
Rickyx, on 25 August 2011 - 07:57 PM, said:
I'm interested in the same things...basically to provide mantainers at least 5 different field like description one.
Do you think is a big work?
And more... would this require to modify the sources and make a new install (since tables are populated during install...)?
Thank you,
Ricky
ps. I can't find: manager/actions/dynamic/mutate_document_static.action.php. It is maybe mutate_content.dynamic.action.php ?
Do you think is a big work?
And more... would this require to modify the sources and make a new install (since tables are populated during install...)?
Thank you,
Ricky
ps. I can't find: manager/actions/dynamic/mutate_document_static.action.php. It is maybe mutate_content.dynamic.action.php ?
What you have in mind would require a lot of work... You would need to modify multiple files, as mentioned, the installer if you intend to do multiple installs, as well as potential changes to be able to call those new fields into documents unless it would only be used by snippets...
Yes, "dynamic" instead of "static"... All dynamics are in the dynamic directory and statics are in the static directory...
#5
Posted 29 August 2011 - 10:01 AM
Ralph, on 25 August 2011 - 09:35 PM, said:
What you have in mind would require a lot of work... You would need to modify multiple files, as mentioned, the installer if you intend to do multiple installs, as well as potential changes to be able to call those new fields into documents unless it would only be used by snippets...
Yes, "dynamic" instead of "static"... All dynamics are in the dynamic directory and statics are in the static directory...
Yes, "dynamic" instead of "static"... All dynamics are in the dynamic directory and statics are in the static directory...
Ok, I'll not dig in to this. The only way to achieve this is using sub-documents: this is specially useful for not technical maintainers.
Thank you,
RIcky
#6
Posted 29 August 2011 - 03:39 PM
What is the intended purpose of these new data fields that you are looking to include in documents...??? Language...??? Pricing...??? You might be better off considering a custom data interface if you are looking to manage inventory or store items... I have written many custom interfaces, which is one of Etomites strengths...
#7
Posted 13 December 2011 - 12:08 PM
Long time passed, I reopen the post.
Yes, custom interface is what I need.
I have completed this website www.stiloarchitetti.it .
Is still needed some expert tweaking to put a new work in the gallery (lavori). Having the possibility to insert custom field will make the website totally manageable my the architects.
There is some docs about custom interfaces or some examples?
Some deeper than: http://www.etomite.c...data-interface/
Thank you Ralph,
really precious help.
Rickyx
Yes, custom interface is what I need.
I have completed this website www.stiloarchitetti.it .
Is still needed some expert tweaking to put a new work in the gallery (lavori). Having the possibility to insert custom field will make the website totally manageable my the architects.
There is some docs about custom interfaces or some examples?
Some deeper than: http://www.etomite.c...data-interface/
Thank you Ralph,
really precious help.
Rickyx
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users










