Gossamer Forum
Quote Reply
Plugins in GMail
Hi,

I'm starting to do some work with Gmail - and so far its going ok (I've got a couple of cool plugins I want to write: Memo [ for "jotting" notes down, and Calander - which will be a calendar, where they can enter their own "special dates", and these will then show up on the their calander - and also when they login)

I've come across a bit of a roadblock though.

In GLinks, you can use:

Code:
Links::SiteHTML::display('template', { arg => $arg } );

... but I'm struggling to try and get this to work with GMail.

From looking at webmail.cgi, I've found:

Code:
GMail->print_page($page, @tags);

The problem I'm trying to get past - is how do you show a "basic" template (i.e a "core" template page, with folders, general header etc), so I can put my own content where I want it?

I tried:

Code:
GMail->print_page('memo_main.html');

..but that gives me an error:

Code:
A fatal error has occured:

Can't use an undefined value as an ARRAY reference at /path/to/admin/GMail/Folders.pm line 83.

Please enable debugging in setup for more details.

Can anyone shed any light?

TIA!

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Subject Author Views Date
Thread Plugins in GMail Andy 8191 Aug 20, 2007, 5:41 AM
Post Re: [Andy] Plugins in GMail
Andy 8019 Aug 20, 2007, 5:47 AM
Thread Re: [Andy] Plugins in GMail
brewt 8004 Aug 20, 2007, 11:54 PM
Thread Re: [brewt] Plugins in GMail
Andy 8033 Aug 21, 2007, 2:18 AM
Thread Re: [Andy] Plugins in GMail
brewt 7976 Aug 22, 2007, 3:31 AM
Thread Re: [brewt] Plugins in GMail
Andy 8039 Aug 22, 2007, 3:49 AM
Thread Re: [Andy] Plugins in GMail
brewt 8012 Aug 22, 2007, 7:53 PM
Post Re: [brewt] Plugins in GMail
Andy 8019 Aug 23, 2007, 12:54 AM
Post Re: [brewt] Plugins in GMail
Andy 8049 Aug 22, 2007, 1:34 AM