compose_button_row hook is never call

nimrod cohen <[email protected]>
Newsgroups gmane.mail.squirrelmail.devel
Message-ID <[email protected]>
hi


i'm using squirrelmail version 1.5.2 with address book database backend enable


i want to add a group button to the compose screen




seem like compose_button_row hook is never call !


i think do_hook('compose_button_row',&$temp) should be add to ../src/compose.php


about line 1474 (befor $oTemplate->display('compose_buttons.tpl')


is it correct or there is another option .




the line at compose_buttons.tpl is


<?php if (!empty($plugin_output1['compose_button_row'])) echo $plugin_output['compose_button_row']; ?>


$plugin_output1['compose_button_row']) doesn't exist .. instead there is $plugin_output1[0]) which is empty .


also i tried to modify it by $oTemplate->assign('plugin_output',array(0=>$temp)) in compose.php


but in compose_buttons.tpl it always get the old value ..meaning empty .. i know it's php/smarty problem ..


any help on this thing ….




nimco




----------

Walla! Mail - Get your free unlimited mail today

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev

-----
squirrelmail-devel mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: [email protected]
List archives: http://news.gmane.org/gmane.mail.squirrelmail.devel
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.