Yii Framework Forum: New Extension DDNoteBehaviour - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

New Extension DDNoteBehaviour

#1 User is offline   jwerner 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 34
  • Joined: 04-December 08
  • Location:Germany

Posted 29 September 2011 - 08:00 AM


I created a new extension DDNoteBehaviour (http://www.yiiframew...ension/ddnotes/).

This behavior lets you add and view notes attached to all models in your application, similar to the comments in the blog demo.

All notes are stored in one table.

Please feel free to test it.

Any comments are really appreciated!

Best regards,


#2 User is offline   emilykrys 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 4
  • Joined: 28-September 11

Posted 29 September 2011 - 11:17 AM

I'll try to check it out once I get back from vacation.

#3 User is offline   PrplHaz4 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 108
  • Joined: 28-September 09
  • Location:Boston, MA

Posted 27 May 2012 - 03:22 AM

What is the best way to save a note without saving the model the note is attached to? I ask because I don't want my model's last save timestamp to be updated when I add a note to it, it should only be updated when the model information is changed. I'm assuming it's because the behavior is triggered by the parent "afterSave"....

Thanks for the extension btw!

Share this topic:

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users