Solved

phpList layout will not change

Posted on 2009-05-07
6
1,113 Views
Last Modified: 2012-05-06
Hi There,
I am using PHPlist for a newsletter subscription used here:

http://rileyburnett.com/newsletter

I am having troubles changing the layout of this page.  I have added the header and footer form the admin panel configuration section, but for some reason I cannot change the position of the text and make the background of the main frame, white for example.

Can someone please help me?

I have tried added in div tags and adding to the css, but it doesn't register.

I hope someone can help me solve this.  

0
Comment
Question by:Amanda Watson
  • 4
  • 2
6 Comments
 
LVL 3

Expert Comment

by:mharfouch
ID: 24332809
you have defined any classes or id's for css according to your source code.

try putting the cell you want with text alignment and a white background table class="main"

and in your css file make a #main{text-align:"center";background-color:"#fff";}
and it should work.
0
 
LVL 11

Author Comment

by:Amanda Watson
ID: 24333320
Yep, your suggestion should work.
I have discovered a problem though!
Whenever I edit the header or footer within the configure section of the admin panel, nothing is getting added!!

You can see what I have added as the header in the attached code, but when you go to this page http://rileyburnett.com/newsletter/ and view the source, its not the same.

I have tried editing header.inc from within the config folder here http://rileyburnett.com/newsletter/config/header.inc  but again nothing is changing.

I have checked my file permissions on the folders in config and they are writable.  What is going wrong?  I was able to make some changes (as you can see I was able to add my own header)  but now I can't make any.  



<link href="styles/phplist.css" type="text/css" rel="stylesheet">

</head>

<body bgcolor="#ffffff">

<a name="top"></a>

<div align=center>

<table class="main" cellspacing=0 cellpadding=0 width=710 border=0>
 

<tr>

<td bgcolor="#000000" rowspan=3><img height=1 alt="" src="images/transparent.png" width=1 border=0></td>

<td bgcolor="#000000"><img height=1 alt="" src="images/transparent.png" width=708 border=0></td>

<td bgcolor="#000000" rowspan=3><img height=1 alt="" src="images/transparent.png" width=1 border=0></td>

</tr>
 

<tr valign="top">

<td>

<!--TOP TABLE starts-->

<table class="main" width="708" border="0" cellspacing="0" cellpadding="0">

  <tr>

    <td><img src="images/header.jpg" width="729" height="95" /></td> 

  </tr>

</table>

<div id="content">

Open in new window

0
 
LVL 3

Expert Comment

by:mharfouch
ID: 24333398
You dont have a footer in your html code...You haven't defined your header either. Your header is here
<img src="images/header.jpg" width="729" height="95"
it is just a basic rip from your ftp server of the image, so when you change it from the admin panel it wont change because it is not a defined field.

Same problem for the footer.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 11

Author Comment

by:Amanda Watson
ID: 24333496
Ok, I need further explanation here.....

What can I add in the defined header and footer code to get this to work.
Why isn' t it reading what I have entered in the config section?
0
 
LVL 11

Author Comment

by:Amanda Watson
ID: 24340721
Do you think upgrading to the latest version would help?

I don't understand why updating my header and footer doesn't work
0
 
LVL 11

Accepted Solution

by:
Amanda Watson earned 0 total points
ID: 24360135
I needed to change the header and footer in the subscribe page, not the main config page
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
MySQL Grouping 2 25
PHP: concatenate query 13 45
Divi Them Help with Full Width header 20 28
How to count in a table in php 22 19
Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
In this tutorial viewers will learn how to style a decorative dropcap for the first letter in a paragraph using CSS. In CSS, create a new paragraph class by typing "p.fancy": Then, to style only the first letter of the first sentence, include the ps…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now