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
Getting the entry body in a backend_save
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Getting the entry body in a backend_save
Hi!
In backend_save, the body of your entry is in this variablE:
HTH,
Garvin
In backend_save, the body of your entry is in this variablE:
Code: Select all
$eventData['body']
$eventData['extended']
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Re: Getting the entry body in a backend_save
I just grab this thread and would like to ask:
Can we do something similar to
with staticpage entries too, without setting new hooks into event_staticpages?
Edit: Found them
Are there any other plugins which provide backend textareas, like the serendipity_html_nugget_plugin, which I have to include also?
Can we do something similar to
Code: Select all
case 'backend_publish':
case 'backend_save':
do something with $eventData['nuggetXX']
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?
Regards,
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian