Extending Content Types

Hi Guys, looking for some guidance and advice. As we all know we have content sometimes that does not match up with what is available to us in the basic content types. Such as page and blog. Let’s say we needed to add additional fields to a page content type to extend it. I know in Mura you can do class extensions. In ContentBox we have the key value pairs we can add. What is the best approach so that this extended type is available when we get ready to add the custom content type?

Thanks,

GM

George,

You probably need to be a bit more specific, I have blogged a couple of ways one can use the custom fields to add functionality. But without knowing what exactly you’re wanting to achieve, our advice is going to be limited.

Regards,
Andrew Scott
WebSite: http://www.andyscott.id.au/
Google+: http://plus.google.com/113032480415921517411

Andrew, you are correct. I need a custom content type that includes these fields.

property_name: text
property_address: text
property_description: textarea fckeditor
property_photo: file
property_state: select

I know that I can add all of these as key value pairs. But I would like to have the fields already there for this content type when I click create new page. I would like the template to be available for me to select. For lack of a better word lets call it Page Property.

Thanks,

George Murphy

George,

Have a read of this

http://www.andyscott.id.au/blog/another-way-to-store-information-for-an-entry-in-contentbox

It describes how you can do what you want.

Regards,
Andrew Scott
WebSite: http://www.andyscott.id.au/
Google+: http://plus.google.com/113032480415921517411

Andrew,

Thanks I am going to look it over.

George Murphy