Ning Developer Docs

Hi guys,

I'm having problems working out how to delete something from the Content Store. I found this link:

http://pastie.textmate.org/126735

That is supposed to delete an object. But it does nothing. If I try a print_r, the $content variable has the right bits, but the executed tagQuery is empty. How's that happened?

For reference, I'm trying to delete a message board category. I know it's simple using the GUI, but I'm trying to learn about how the content store works first...

Views: 3

Replies to This Discussion

I think you need something like:

XN_Content::delete($content)

(Based on the documentation)
Hi Alastair, did you find the key? I need to remove content too.

RSS

© 2026   Created by Ning Developer Admin.   Powered by

Badges  |  Report an Issue  |  Terms of Service