Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Random content display - Newbie

Go to End

9 Posts   3975 Views


Community Member, 73 Posts

12 April 2011 at 12:21pm


I'm going to use this code, but in my case i will need an imagefield also....

So the question is, where should i insert that field...

it is ok if i put the image in that array?

class Quote extends DataObject
static $db = array (
'Author' => 'Varchar(100)',
'Quote' => 'Text'
'ImagenArea'=> 'Image'

thanks in advance


Go to Top