10 years ago
0
Topic
Greetings Seblod Custom Field creators!

I have searched the forums, and recently even asked a couple of Seblod custom field creators this question, but I'm yet to get an answer to it.

I'm creating a generic custom plugin that needs to be used in five(5) different content types simultaneously.
One of the things I need to do within this plugin is to save into the DB record, the content_type that my user is viewing.

How do I, via JCck rendering object(or any other code), figure out the "machine_friendly" name of the current content type being viewed?

Any code insights and help will be greatly appreciated...

Get a VIP membership