Re: [GraphicLingoes] Tutorial for plugin ?
Okay, figured it out. Chris had explained to me in an earlier email to check out the hook names through out the system and I didn't comprehend it until now, anyway to get the message I needed I used the hook for "viewer_postinit" so in my plugin I have
addFilter('viewer_postinit', ena_setEmailSentNotice);
function ena_setEmailSentNotice() {
if(isset($_GET['_pluginAction']) && $_GET['_pluginAction'] == 'sendEmail') {
return notice('Email sent.');
}
This will not be the final code, but this is how I got the notice to show at the top of the page.
Graphic Lingoes
www.graphiclingoes.com