Gossamer Forum
Home : Products : Gossamer Mail : Discussion :

adding new pages to template set

Quote Reply
adding new pages to template set
I am adding some new pages to the template set (not a new set of templates) and wanted to know do I just need to add the page/html file to the default template directory and the admin/GMail/ConfigData.pm file to make it work?

For an example, I'm setting up a free/pay service. I have created a new template called join_pay.htm which when a user signs up for a premium account, they will get sent to the payment page to enter their credit card info (instead of sending them to the validation page). In the join.cgi, it parse the tags properly. However, I am also adding a new link in the left_menu.htm page, which is an upgrade now link and will only appear for users with free accounts and sends them to this new template.

The problem, it isn't parsing the tags from the database when run from webmail.cgi, only the ones I have listed in the globals.txt file, which seems really weird. The link I use is:
a href=webmail.cgi?<%url_hidden%>;page=join_pay.htm
Do I need to pass it some sort of do= as well to get it to parse the info? Or is there some other place I need to let the system know about this new template or something special I have to do in the admin?

Thx.
Quote Reply
Re: [JerryP] adding new pages to template set In reply to
Hi,

What tags are you referring to that aren't getting loaded?

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] adding new pages to template set In reply to
Things like <%username%> <%dgraph_first_name%> <%dgraph_last_name%> etc... And when I call this new page through webmail.cgi and view the source, I don't see the tags, the data just isn't getting in there. But what's interesting is this tag is getting loaded <%GMail::domains%> and this one which is in globals.txt is getting loaded <%pay_memtypedesc%> with the correct info.