Ask Your Question
1

Get the message identifier

asked 2013-05-06 12:24:39 -0500

Geotopic gravatar image

updated 2013-05-10 21:47:57 -0500

Evgeny gravatar image

Hello,

I wish, when I post a message (just after its validation and recording), retrieve the message identifier as recorded in the database.

Is there a way to retrieve this value when the message is saved? My goal is to bind the identifier to another external object (not defined in Askbot).

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-05-10 21:47:30 -0500

Evgeny gravatar image

Try using the extra context hooks, signals and use of custom forms available at some views. Please look at the code.

The discussion in this thread should help you: http://askbot.org/en/question/10482/what-is-the-best-way-to-extend-askbot/

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2013-05-06 12:24:39 -0500

Seen: 51 times

Last updated: May 10 '13