Forums / Setup & design / Object rel. list browsing (user site)-> Template issue

Object rel. list browsing (user site)-> Template issue

Author Message

Marco Zinn

Saturday 14 May 2005 3:55:21 am

Hi,
I'm using ez 3.5.2 and am happy with the enhanced object relation lists.
Now, i have some UI issue with this:
I created classes A and B. A has an attribute, which is an objects relation list of objects of class B.
Users are allowed to create objects of both classes A and B throught the "user site" (not admin site). This works quite fine, once you edit the "edit" templates.
Now, when a user creates an object of class A, he can can create objects of class "B" in this object relation list attribute of A (still with me?). This works quite fine, too.
But he can also browse for existing "B"-objects. And here is an UI-issue: The "browse"-templates makes use of the "line"-template of the existing nodes. But these line-templates don't have any checkbox or any other option to "select" them. Also, these templates leave the browse mode immediatly, as the links do not contain the "browse" URLs. Why? Because the "browse" templates (from admin interface, not overridden yet) uses the "line" templates of the user site.
Of course, i can override the browse template and all line templates (creating some kind of "browse" view mode).
Is the the only way to do this? Why does the "browse" template not present any checkboxes or radio boxes in order to "pick" the objects, that i need?

So: How to do (template-wise) the perfect "browse objects for objects relation attributes" concept on the <i>user</i> site?

Marco
http://www.hyperroad-design.com

Xavier Dutoit

Monday 16 May 2005 7:34:27 am

Hi,

Just to be sure I understand you, what is the selection method you use ?

I don't get when you get the browse view.

X+

http://www.sydesy.com

Marco Zinn

Saturday 21 May 2005 5:45:00 am

Hi,
i have removed that attribute for now, so i need to re-produce this first ;)
I think, i used the defaults. What do you mean by "selection method"?
I don't understand your sentence "I don't get when you get the browse view." ... you don't get what?
Thanks for trying to help me out ;)

Marco
http://www.hyperroad-design.com

Xavier Dutoit

Saturday 21 May 2005 8:14:33 am

Hi,

when you add a enhanced object relation attribute, you can set several selection method (check box list...), what is the one you've selected ?

Anyway, try to download the latest version, it has been improved.

X+

http://www.sydesy.com

Marco Zinn

Saturday 21 May 2005 1:39:04 pm

ah, okay, i got you.

i didn't use the contribution, i used the datatype, that is included in ez 3.5.2.
I'll give the new&improved operator a try.
thx.

Marco
http://www.hyperroad-design.com