Custom poll class

Author Message

Nick Olaros

Thursday 07 December 2006 7:23:54 am

Hi,

I'm new into ez development and have a few questions to start the right way.
I would like to customize the Poll class to add an image attribute to it (not associate an image to the object in order to be more user-friendly).

So I duplicated the poll class, gave it another name, added my image attribute. Then I updated my override ini file so that the default poll templates apply to my new class. It's working fine except for the result page. How does this template work ?

Secondly I'd like to build image options for poll, instead of just text options. Which is the better way to do that ?

Thanks for your advice.

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