Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Globals in newsletter templates

Quote Reply
Globals in newsletter templates
Hi,
I added a global in the Template Globals Section, but it seems that I can't use it in the newsletter template.
What I want to do is display the number of news links in the newsletter. So I added a global called <%num_newlinks%>:
In Reply To:
sub {
# show number of new links
return $DB->table('Links')->count ( { isNew => 'Yes', isValidated => 'Yes' });
}
But all I get in the newsletter is a 'Unknown Tag' error.

In Reply To:
From here you can quickly edit globals that can be used in any template
Maybe the same problem as 'Unknown Tag' error in email-del.txt (this error showing up in textarea field "Delete and email reason" when validating links)??

Regards
Andreas

--------------------------------------------
http://www.archaeologie-online.de
Quote Reply
Re: Globals in newsletter templates In reply to
Hi,

Currently the emailer does not look at the globals as it doesn't know what template set to use. I'll have to look into changing this somehow.

Cheers,

Alex

--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] Globals in newsletter templates In reply to
I would like to create an email that I can send to all users that uses a global. Have you worked on this at all, or is this something that may be included in the new Community product GT will be offering?

Bryan
Quote Reply
Re: [BryanL] Globals in newsletter templates In reply to
Hi,

We haven't made any progress on this unfortunately. We will look at a mass mailer that is template based and can work with globals though.

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] Globals in newsletter templates In reply to
Hi, I'm looking for a way to include the category name with the newsletter... should I hang out and wait for the global fix, or does anybody know something else I could do?
Quote Reply
Re: [Alex] Globals in newsletter templates In reply to
hi alex,

it would be great if the mass mailer would also be able to handle attachements!



Cheers,

Regards,
Manu

Shopping Portal Shop-Netz.de® | Partnerprogramme | Flugreisen & Billigflüge | KESTERMEDIA e.K. | European Affiliate Marketing Forum.

Last edited by:

ManuGermany: Mar 8, 2002, 12:56 PM
Quote Reply
Re: [ManuGermany] Globals in newsletter templates In reply to
Hi,

We have built a new GT::Mail module that is designed for easily creating emails from a web form. It supports attachments, html editor, text/html parts, etc. We plan on updating the mass mailer to use this in a future version.

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] Globals in newsletter templates In reply to
hi alex,



that sounds great! i'm looking forward for it! Cool



cheers,

Regards,
Manu

Shopping Portal Shop-Netz.de® | Partnerprogramme | Flugreisen & Billigflüge | KESTERMEDIA e.K. | European Affiliate Marketing Forum.