So... lost...

Author Message

James Carr

Monday 15 August 2005 12:12:13 am

I've read up the documentation, but I am still scratching my head a little bit on where to begin. I'm interested in trying out ezPublish for an online community for my old high school alumni, but am a bit confused on how to do things the "ezPublish" way. :(

For example, I want people to be able to register, and additionally provide their contact information, whether or not it's visible, etc. Then I want that to be tied in to a contacts listing that is sorted by graduation year.

The programmer in me wants to just jump down into the code and rip it apart to do what I want. The learner in me wants to realize that ezPublish provides a mechanism for setting something like described above up.

David Eriksson

Monday 15 August 2005 12:53:24 am

Update the user objects with the new attributes you need, then just use templates to display what you want.

/David

James Carr

Monday 15 August 2005 1:45:11 am

Yeah, but it seems like there would be some kind of "object" to link to a user, like a "user details" object or something that includes their address, graduation date, etc.

Of course, I guess I may just be thinking too much object oriented and expecting the system to behave that way.

David Eriksson

Monday 15 August 2005 3:53:12 am

Well, you could do that, and create an object relation. But if all users should have that data, and the data shouldn't be the same for any two users, wouldn't it make more sense to have it as part of the user?

/David

James Carr

Monday 15 August 2005 6:13:09 am

Thanks, I guess you are right. However, how can I enforce certain rules and such on attributes of an object? Like I spoke earlier, I'd like to let people choose if they ant their address publicly visible or not. Also, I will need to group people by graduation year as well so that people can view them.

Gabriel Ambuehl

Monday 15 August 2005 6:57:28 am

Add checkboxes to define what they want visible and just look for those in the template code.

Visit http://triligon.org

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