Page 1 of 1

Getting the entry body in a backend_save

Posted: Thu Jul 06, 2006 10:50 pm
by satollo
I know, it's a stupid question by I'm not able to get out by myself: haw can I extract the body (anche the extended) in ba backend_save hook?

Thank you!

Satollo

Re: Getting the entry body in a backend_save

Posted: Fri Jul 07, 2006 11:45 am
by garvinhicking
Hi!

In backend_save, the body of your entry is in this variablE:

Code: Select all

$eventData['body']
$eventData['extended']
HTH,
Garvin

Re: Getting the entry body in a backend_save

Posted: Thu Sep 26, 2013 5:38 pm
by Timbalu
I just grab this thread and would like to ask:

Can we do something similar to

Code: Select all

                case 'backend_publish':
                case 'backend_save':
                    do something with $eventData['nuggetXX']
              
with staticpage entries too, without setting new hooks into event_staticpages?

Edit: Found them

Code: Select all

                case 'backend_staticpages_insert':
                case 'backend_staticpages_update':
;)

Are there any other plugins which provide backend textareas, like the serendipity_html_nugget_plugin, which I have to include also?