This project is read-only.

Extensions: Get current post on Post.Serving?

Apr 10, 2008 at 2:32 PM
Edited Apr 10, 2008 at 2:33 PM

i'm doing some extensions for our internal blog and got stuck on retrieving the current post within the Post.Serving event, not just the served content of the post. Of course i could check the url of the current page, but somehow that doesn't sound like a proper way to me. Proof me being wrong ;)

Cheers and thanks,
Apr 11, 2008 at 1:20 PM
Solved, casting the sender argument to a Post does the job.