Extending Class Attributes

Author Message

Tristan Koen

Thursday 22 May 2003 5:45:04 am

I was wondering if there was an easy way to extend specific class attributes without writing a new one.

I would like to extend the Author attribute to include additional information such as an image and a biography.

If it is not possible, can anyone think of a way to do this without writing a new attribute. I don't mind doing it but it makes upgrading a pain.

An alternate solution I had in mind was to create a new class called Author and then to make instances of these classes for each author. I should then theoretically be able to relate it to the original article. Is this a viable solution? If so, where would I create an instance of the author, considering that the associated article could exist in a number of different folders.

Sorry if this is a newbie question, but I am a newbie!

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