[how to] automatically insert the month/year in message

Solutions for other phpList version 2 users
Forum rules
Please do not ask questions here, this is for Solutions you have discovered or come across.

[how to] automatically insert the month/year in message

Postby seg » 7:07am, Sat 02 Jun, 2007

Hi, I am new to PHPList and so far I am very excited about the quality of emails that can be sent with this program!

I am trying to create a newsletter template and I would like to build the month and year into the template. Is there a placeholder or an automatic way to pull the current date into the template without having to edit the template every time an email needs to be sent? The other option would be to stick the date in [CONTENT] - but I thought I would at least ask.

Thanks!
seg
phpLister
 
Posts: 5
Joined: 6:58am, Sat 02 Jun, 2007

Postby H2B2 » 12:16pm, Sat 02 Jun, 2007

You could take a look at this mod as a starting point: http://forums.phplist.com/viewtopic.php?t=16005
I suppose you will need to modify it in some way to only get the month and year.
Last edited by H2B2 on 8:21am, Thu 06 Mar, 2008, edited 1 time in total.
H2B2
Moderator
 
Posts: 7188
Joined: 1:51am, Wed 15 Mar, 2006

Postby seg » 3:05pm, Tue 05 Jun, 2007

Thank you ... that is exactly what I need.
seg
phpLister
 
Posts: 5
Joined: 6:58am, Sat 02 Jun, 2007

Postby Guest » 2:06am, Tue 18 Nov, 2008

I tied this mod with no success. The fiel I changed was ttled sendemaillib, not senmaillib but I guss that could have cganged in a release.

However, with this mod in place, the Send A Test Message stopped working. AFter clicking that button, the screen as re-displayed down to the "MEssage Saved" line then nothng following it. Removing the mod got things back to normal.

Should this work for the end Test Message fucntion?

Pete
Guest
 


Return to Answers, Howtos, Tips & Tricks

Who is online

Users browsing this forum: No registered users and 3 guests