If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Advanced Poll tempolates: strange behaviour  XML
Forum Index » Support Forum
Author Message
Anonymous



i created a new poll, incremented the poll id in my .php acordingly. the poll showed up, but based on a different template (i didnt change anything about this in the code). all existing polls used the right template. then i copied the polldata file of one of the working polls to a new file. i showed with the right template. then i edited the polldata of this file until i resembled exactly the new poll i wanted to show originally. it still showed with the right template although it was the exactly same string like before when it didn't work.

ok, i just played around a bit with advanced poll; i seems like in case of the following code ID 4 doesn't work, but all other numbers do work:

$php_poll->set_template_set("gdb_ito");
$php_poll->set_max_bar_length(80);
echo $php_poll->poll_process(4);
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum