Ah yes, keep that in mind, I obviously didn’t. Probably not suited for a content field then – to keep it as a single-object deployment, the aComments (for example) field could be used as an array of objectId references to other dmNews (or the custom post object) items, which each contain a comment. That would allow you to implement file and image submission on the comment, as well as teaser and full body text, and you can create an object like this in an unauthenticated user context with a bit of impersonation ;)

 

Thanks Blair.

 

Chris

 


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Shib71
Sent: Wednesday, 7 December 2005 6:24 AM
To: [email protected]
Subject: [farcry-dev] Re: Web log custom type?

 

Keep in mind that array properties only store 255char strings in each element.

Blair

On 12/6/05, Chris Bauer <[EMAIL PROTECTED]> wrote:


You can create a property of type 'array', similar to how images and files
are associated with objects (eg dmNews, look for aRelated and the images or
files step of the PLP). You don't have to use an objectId / foreign object
reference as in that example, a list (ie, a string) can encapsulate the user
name, email address, ip, time of post, and message with a bit of sanity
checking. It's not too fancy, though I hope it gives you some ideas.

Regards,
Chris

Reply via email to