Adding labels for poll options

Tutorials for creation, installation and management of phpBB styles.

Moderator: Moderators

Adding labels for poll options

Postby GHS on Wed Jan 31, 2007 7:04 pm


This topic will explain how can you add labels for poll options (when you click on option text, the radio button will be checked).

Open the file templates/your_template/viewtopic_poll_ballot.tpl and find:

Code: Select all

In line, after add:

Code: Select all

Now, find:

Code: Select all

And replace with:

Code: Select all
<label for="option_{poll_option.POLL_OPTION_ID}">{poll_option.POLL_OPTION_CAPTION}</label>

Done. :)
Porting ExtremeDark Red to phpBB 3 :]
User avatar
Posts: 109
Joined: Sun Oct 01, 2006 3:21 pm
Location: Rio Grande do Sul - BR

Postby Gabriel® on Fri Feb 02, 2007 11:37 am

Whats result for this? :D
I need support about CSS... Help me?
Registered User
Registered User
Posts: 48
Joined: Mon May 08, 2006 2:51 pm

Postby PostBot on Fri Feb 02, 2007 12:59 pm

[quote user="Gabriel®" post="87260"]Whats result for this? :D[/quote]
Easily clickable poll options if you are using modern browser (aka not IE)
Do NOT pm me, I don't visit this forum anymore, don't own it, don't provide any support and don't moderate.
User avatar
Posts: 10659
Joined: Sat Aug 02, 2003 3:52 pm
Location: Mars

Return to phpBB Styles Tutorials

Who is online

Users browsing this forum: No registered users and 1 guest