Author |
Message |
08/02/2004 21:01:29
|
jimwillsher
Newbie
Joined: 08/02/2004 20:47:38
Messages: 1
Location: Dunblane, central Scotland
Offline
|
Hello,
I've installed Advanced Poll 2.02, and it all seem to be working great.
I've made a minor change to the "simple" template to include some <P> and </P> tags. The changes are saved correctly (if I change to a different template, then change back, the changes are in place).
But the changes never appear on the web page.
My template looks like:
<P>$question</P></b></font></td>
and my HTML to display the poll is :
include_once "/var/www/html/poll/booth.php";
$php_poll->set_template_set("simple"); // simple = template name
echo $php_poll->poll_process(5); // Poll 5 = Screen Resolution
but my resulting web page is:
<b>What is your normal screen resolution?</b></font></td>
whereas it should be :
<b><P>What is your normal screen resolution?<P></b></font></td>
I know the <P> tags should be done more tidily, but that's not the issue.
Please can anyone advise what I'm doing wrong? I'm on RedHat 9.0 with all the latest patches (via up2date) and I'm using MySql. My PHP version is 4.2.2 and my MySql version is 4.0.17
Many thanks,
Jim Willsher
PS The same happens with all templates, not just "simple".
|
|
08/02/2004 22:02:35
|
pmonahan
Beginner
Joined: 23/01/2004 03:47:28
Messages: 13
Offline
|
What is the url of the webpage and Poll ?
Did you FTP the changed files to the correct directory ?
Use <p> and </p> not <P> and <P>
<b> is missing it seems in your modified template
What is the desired result ?? Bold or a New Paragraph ??
|
|
09/02/2004 17:49:47
|
Anonymous
|
Hi pmonahan,
The URL is http://www.jwillsher.co.uk/Site/Software/BRU_Intro.php
Basically I want the poll text to appear in a <P> tag. That way it will honour my <P> override in my stylesheet which is loaded at the top of the html.
PANIC OVER.....
Looks like a caching issue! Strange! Works fine now.
Embarrassed...
Jim
|
|
|