Model template

Once you've installed phpList... ask questions here!
Forum rules
Please help the volunteers to help you by supplying the version of phpList you are using, browser & version and if possible, a link to your phpList installation.

Model template

Postby DenDen60 » 4:03pm, Fri 02 Jan, 2015

Can someone share the source code of a model template using a logo on the top. I seem to have a lot of difficulty creating a template. The images don't appear. :-(

Thanks for sharing.
DenDen60
phpList newbie
 
Posts: 1
Joined: 11:54pm, Fri 26 Oct, 2012

Re: Model template

Postby Dragonrider » 9:51am, Sat 03 Jan, 2015

As requested, below I've put the basic message template with logo code.
You will need to
1) Upload your image to your /lists/images directory

2) change the path in the line starting <img alt="" to match your domain.

3) you may also need to change the height and width in the same line to match your image dimensions

Remember, using this method, your images MUST exist on the Internet somewhere, in this example they are stored (manually) in lists/images/

Code: Select all
<div style="margin:0; text-align:center; width:100%; background:#EEE;min-width:240px;height:100%;">
<img alt="" src="http://your_domain.com/lists/images/logo.jpg" style="border-style:solid; border-width:0px; float:left; height:108px; width:550px" />

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<div style="width:96%;margin:0 auto; border-top:6px solid #369;border-bottom: 6px solid #369;background:#DEF;">
<h3 style="text-align:center">[SUBJECT]</h3>

<div style="text-align:justify;background:#FFF;padding:20px; border-top:2px solid #369;min-height:200px;font-size:13px; border-bottom:2px solid #369;">[CONTENT]
<div style="clear:both">&nbsp;</div>
</div>

<div style="clear:both;background:#69C;font-weight:normal; padding:10px;color:#FFF;text-align:center;font-size:11px;margin:5px 0px">[FOOTER]<br />
[SIGNATURE]</div>
</div>
</div>


There is a plugin which allows you to include inline template images.

Also a FAQ page, admittedly meant for version 2 of phpList, but the info included is still valid for version 3 here.
My sites:- http://wharfedalefestival.co.uk, http://ilkleygardeners.org.uk, http://emergencyaid.net, http://dragonrider.co.uk
Latest phpList version is now 3.0.12 (3 February 2015) and requires a minimum of MySQL 5.0 and PHP 5.3.x
Dragonrider
Moderator
 
Posts: 3460
Joined: 6:58am, Sun 02 Jul, 2006
Location: Ilkley, West Yorkshire, United Kingdom


Return to Questions and Problems after Installing

Who is online

Users browsing this forum: No registered users and 3 guests