Really useful extension -

You need to be logged in to post messages in the forums. New users may register here.

Carlos Revillo

Member since:
09 January 2008

Posts: 48

Friday 12 September 2008 1:52:33 pm

It's nice to have this for ez 4.0. as doc says, if you have a site with a lot of relations between content, this is a must...

it could be nice to add some kind of option to convert your previous attributes with object relation list datatype to object relation browse datatype, so your previous content could be also edited with the cool options of this datatype...

one quick way could be to do an update in the ezcontentclass_attribute and change all the rows with data_type_string = "objectrelationlist" to "objectrelationbrowse"

i'm doing some test and it seems to work as a quick fix, but it would be nice to hear from you about how dangerous this could be...

obviosly, it could possible that someone doesn't want to change all the previous objectrelationlist to objectrelationbrowse, and only change some of them, so i'm thinking in a cli script that would search fields of objectrelationlist dataype and ask for a confirmation to change it to objectrelationbrowse...

main problem i find here is what would be happen if objectrelationbrowse is deleted from the ActiveExtensions list...


Up

You need to be logged in to post messages in the forums. New users may register here.