How I can extend existing model e.g. Node using Modules so don't get my core framework dirty for future upgrades.

I want to extend node model with few more fields, such as product (associated with), source, etc. I can see easiest way is to create new model class and associate that to node. But want to avoid two tables in DB (doesn't make any sense for 1.1 relationship).

Any help would be greatly appreciated.

asked 18 Dec '11, 13:47

nilayparikh's gravatar image

nilayparikh
21135
accept rate: 0%

Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×24
×11
×3
×2

Asked: 18 Dec '11, 13:47

Seen: 198 times

Last updated: 18 Dec '11, 13:47

powered by OSQA