Welcome, Guest. Please login or register.

ShoutBox!

Scrubmeister

2024-04-19, 10:32:40
Good to see the site back faster than ever. :)
 

Skhilled

2024-04-18, 21:09:09
I've upgraded the server...more resources. ;)
 

Ken

2024-04-18, 20:57:10
Now that you mention it...  :D
 

Skhilled

2024-04-18, 20:47:19
...and, you should notice that the site is much faster.  :o
 

Ken

2024-04-18, 20:31:37
Hey Steve.
 

Skhilled

2024-04-18, 17:56:10
Re-read the message below...
 

Skhilled

2024-03-31, 15:22:06
Oh yeah, you need to upgrade the site first...
 

Ken

2024-03-30, 09:54:54
Whoops! I forgot that the SMF install here on OFF is out of date!  :'(
 

Ken

2024-03-30, 09:44:48
 Conga-Rats Steve!  :thumbup:
Me gonna install it here just for the fun of it!  :)
 

Skhilled

2024-03-29, 22:15:23
Released!  :D

Recent Topics

TP Articles


Search in titles
Search in article texts

Author Topic: Two polls side by side  (Read 2242 times)

0 Members and 1 Guest are viewing this topic.

Offline Ken

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11679
  • Gender: Male
  • View Gallery
Two polls side by side
« on: November 27, 2006, 07:03:49 PM »
This should work .. I havn't tried it though

Create a frontpage block .. in it put something like this (remembering to change the pollnumbers and url's of course)


Code:
Code: [Select]
<table><tr><td>
ssi_showPoll(1904) <br />
<a href="http://www.*********.com/forums/index.php?topic=1904.0" target="_blank">Vote here</a>
</td><td>
ssi_showPoll(384) <br />
<a href="http://www.*********.com/forums/index.php?topic=384.0" target="_blank">Vote here</a>
</td></tr></table>
[ /code]
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline Ken

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11679
  • Gender: Male
  • View Gallery
Re: Two polls side by side
« Reply #1 on: November 27, 2006, 11:27:53 PM »
That won't quite work.. but this should:


Code: [Select]
echo '<table><tr>
<td>
';
ssi_showPoll(1904);
echo '<br />
<a href="http://www.*********.com/forums/index.php?topic=1904.0" target="_blank">Vote here</a>
</td>
<td>';
ssi_showPoll(384);
echo '<br />
<a href="http://www.*********.com/forums/index.php?topic=384.0" target="_blank">Vote here</a>
</td>
</tr></table>
';9/code]
Don't forget to put in a php centerblock, php frontpage block, or php article at your pleasure...
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline Ken

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11679
  • Gender: Male
  • View Gallery
Re: Two polls side by side
« Reply #2 on: August 12, 2008, 08:14:37 AM »
Code: [Select]
echo '<table><tr>
<td>
';
ssi_showPoll(1574);
echo '<br /><br />
<a href="http://www.example.com/index.php/topic,1576.0.html" >View Topic</a>
</td>
<td>';
ssi_showPoll(1575);
echo '<br /><br />
<a href="http://www.example.com/index.php/topic,1576.0.html" >View Topic</a>
</td>
<td>';
ssi_showPoll(1576);
echo '<br /><br />
<a href="http://www.example.com/index.php/topic,1576.0.html" >View Topic</a>
</td>
</tr></table>
';
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.