<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Using templates in Advanced Poll"]]></title>
		<link>https://proxy2.de/forum/posts/list/3.php</link>
		<description><![CDATA[Latest messages posted in the topic "Using templates in Advanced Poll"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Using templates in Advanced Poll</title>
				<description><![CDATA[ How do I change the template used.  I tried using the admin panel to no avail. <img src="https://proxy2.de/forum//images/smilies/136dd33cba83140c7ce38db096d05aed.gif" />]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4493/15564.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4493/15564.php</link>
				<pubDate><![CDATA[Tue, 12 Apr 2005 05:00:57]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
			<item>
				<title>Advanced Polls</title>
				<description><![CDATA[ Also, is it possible to archive old polls for viewing by web site visitors?]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4493/15565.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4493/15565.php</link>
				<pubDate><![CDATA[Tue, 12 Apr 2005 05:02:29]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Specify the template in your poll code:<br /> [code]$php_poll-&gt;set_template_set&#40;&quot;plain&quot;&#41;;<br /> [/code]<br /> See the example code in the left column of the demo pages, as in:<br /> http://proxy2.de/poll/demo_3.php<br /> <br /> Edit templates in the Admin Panel.  I think the template files' permissions need to be set to 777 for editing, but once satisfied with the template, lower the permissions.<br /> <br /> I am using a poll as in Demo 3.  It uses "poll List."  I need two different files to achieve this, but I like the results.<br /> [code]&lt;?php<br /> <br /> /* path */<br /> $poll_path = &quot;/home/xxxxxxxx/public_html/poll&quot;;<br /> <br /> require $poll_path.&quot;/include/config.inc.php&quot;;<br /> require $poll_path.&quot;/include/class_poll.php&quot;;<br /> require $poll_path.&quot;/include/class_pollcomment.php&quot;;<br /> require $poll_path.&quot;/include/class_plist.php&quot;;<br /> <br /> $php_poll = new plist&#40;&#41;;<br /> <br /> /* poll */<br /> $php_poll-&gt;set_template_set&#40;&quot;plain&quot;&#41;;<br /> $php_poll-&gt;set_max_bar_length&#40;125&#41;;<br /> $php_poll-&gt;set_max_bar_height&#40;10&#41;;<br /> if &#40;isset&#40;$HTTP_GET_VARS&#91;'poll_id'&#93;&#41;&#41; &#123;<br />    echo $php_poll-&gt;poll_process&#40;$HTTP_GET_VARS&#91;'poll_id'&#93;&#41;;<br /> &#125; else &#123;<br />    echo $php_poll-&gt;poll_process&#40;&quot;random&quot;&#41;;<br /> &#125;<br /> <br /> /* poll list */<br /> $php_poll-&gt;set_template&#40;&quot;poll_list&quot;&#41;;<br /> $php_poll-&gt;set_date_format&#40;&quot;m/d/Y&quot;&#41;;<br /> echo $php_poll-&gt;view_poll_list&#40;&#41;;<br /> echo $php_poll-&gt;get_list_pages&#40;&#41;;<br /> <br /> ?&gt;[/code]<br /> You can see the results of this code, with the links to expired polls shown at the bottom at:  http://www.thepraisegates.net/modules.php?name=OpinionPolls]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4493/15567.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4493/15567.php</link>
				<pubDate><![CDATA[Tue, 12 Apr 2005 08:13:50]]> GMT</pubDate>
				<author><![CDATA[ amber222]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ The templates are stored in the database, editing files like "poll_list.html" won't do any good... you'll need to edit those templates in the database itself.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4493/19938.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4493/19938.php</link>
				<pubDate><![CDATA[Sat, 18 Mar 2006 17:40:48]]> GMT</pubDate>
				<author><![CDATA[ Eelco]]></author>
			</item>
	</channel>
</rss>