[phpBB Debug] PHP Notice: in file [ROOT]/includes/session.php on line 2208: Array to string conversion
[phpBB Debug] PHP Notice: in file [ROOT]/includes/session.php on line 2208: Array to string conversion
[phpBB Debug] PHP Notice: in file [ROOT]/includes/session.php on line 2208: Array to string conversion
[phpBB Debug] PHP Notice: in file [ROOT]/includes/session.php on line 2208: Array to string conversion
[phpBB Debug] PHP Notice: in file [ROOT]/includes/session.php on line 2208: Array to string conversion
[phpBB Debug] PHP Notice: in file [ROOT]/includes/session.php on line 2208: Array to string conversion
[phpBB Debug] PHP Notice: in file [ROOT]/includes/session.php on line 2208: Array to string conversion
[phpBB Debug] PHP Notice: in file [ROOT]/includes/session.php on line 2208: Array to string conversion
[phpBB Debug] PHP Notice: in file [ROOT]/includes/session.php on line 2208: Array to string conversion
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Poco Forums • View topic - New message using template

New message using template

Scripting questions and ideas

Moderators: Eric, Tomas, robin, Michael

New message using template

Postby Casey » Tue Dec 04, 2007 10:07 am

Instead of selecting "New / New Message From Template", I would like to use one of the custom menu buttons to create new messages using a specific template.

Can somebody help me with a script that opens a new message using one of my existing templates?
Casey
Poco Tourist
 
Posts: 40
Joined: Fri Nov 19, 2004 5:33 pm

Postby Tomas » Tue Dec 04, 2007 12:48 pm

Please see
http://www.pocosystems.com/extras/mfaq/commandtags.html

particularly
/menu/newmessage
and
/perform/newmessage/TEMPLATE/RECIPIENT

And here is how to configure it for a button:
http://www.pocosystems.com/extras/mfaq/ ... ttons.html

Courtesy of Michael Motek's great FAQ !
Tomas
Tomas
Pillar of the Community
 
Posts: 1418
Joined: Sun Jul 25, 2004 1:34 am

Postby Casey » Tue Dec 04, 2007 1:29 pm

Thanks Tomas! That's exactly what I needed.

(And thanks to Michael Motek!!!)
Casey
Poco Tourist
 
Posts: 40
Joined: Fri Nov 19, 2004 5:33 pm

Postby blakelyg » Fri Dec 14, 2007 8:58 pm

Tomas wrote:Please see
http://www.pocosystems.com/extras/mfaq/commandtags.html

particularly
/menu/newmessage
and
/perform/newmessage/TEMPLATE/RECIPIENT

And here is how to configure it for a button:
http://www.pocosystems.com/extras/mfaq/ ... ttons.html

Courtesy of Michael Motek's great FAQ !


Quick note here that it also works for groups, just substitute the group name (from the contact book) instead of the Recipient.
blakelyg
Resident Poster
 
Posts: 167
Joined: Sun Jul 25, 2004 10:13 pm
Location: Laval Quebec


Return to PocoScript Help and How-To

Who is online

Users browsing this forum: No registered users and 1 guest

cron