Selecction attribute issue

Author Message

Jorge estévez

Thursday 24 July 2008 8:31:52 am

Hello community,

I have a product class with a selection attribute (material), each time I stumble with a new kind of product I have to go to the class and add the new material to the selection attribute. This is not a human way to do things....

I just need some kind of workarround that will not make me go to the class and add a new value to the selection attribute... Any ideas? thanks

Diseño Web Cuba
Web Design Cuba
www.elfosdesign.com

André R.

Thursday 24 July 2008 8:53:02 am

I didn't quite get what you have problems with, but:

If you only want to be able to reorder and remove selections without having to reedit every object: enhanced selection

If you want to let the editors add selections and re order then without given them access to editing classes: ezobjectrelation with drop down setup or ezobjectrelationlist in drop down mode if you need multi selection*.

* you need to set the folder to fetch possible relations from in both these cases.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Jorge estévez

Friday 25 July 2008 4:19:41 am

I create a class with a selection attribute (product class)
I add 3 values to the selection attribute (material)

I start creating instances of the class (nodes) and when I stumble with a new type of product I go again to the class and and the new material to the selection attribute...

I go again and reate new items, and so on...

The problem is that there are 250 000 products to add to the site, so materials could be a long list, in fact as I develop the site, new products are always arriving, so there is no way I could tell all the materials I will have in the page!

I would like to have some kind of "link" in wich the selecetion values should feed themselves from a "bunch of nodes", a "list" of values or else. The issue here is not to mess with the class so often.

Is there some way this could be handled?

Diseño Web Cuba
Web Design Cuba
www.elfosdesign.com

André R.

Friday 25 July 2008 5:26:29 am

Yes there is:

If you want to let the editors add selections and re order then without given them access to editing classes: ezobjectrelation with drop down setup or ezobjectrelationlist in drop down mode if you need multi selection*.

* you need to set the folder to fetch possible relations from in both these cases. 

If you want to let your editors edit the options or not is entirely up to you of course.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.