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, biapar, Willr, Ingo, swaiba, simon_w

Random content display - Newbie


9 Posts   3052 Views


12 April 2011 at 12:21pm Community Member, 73 Posts


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