OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



selectMenu to radio button

Are you responsible for making OCS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, michael, John

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.

selectMenu to radio button

Postby mendesrocha » Thu Dec 09, 2010 4:41 pm

Hi!

My Conference Manager is asking if is it possible to change a form element. He wants to change the Track list on author submission, step 1, from a selectMenu to something like a radio button list.

Could you please help me?

I found something on templates/presenter/submit/step1.tpl, but I couldn't make the proper modifications near to line 38.

The Conference Manager has said that the Select Menu sometimes confuses some authors when they need to select the Track of their submission.

Thanks in advance.

-
Renato
mendesrocha
 
Posts: 178
Joined: Mon Nov 05, 2007 11:10 am
Location: Brazil

Re: selectMenu to radio button

Postby mendesrocha » Thu Dec 09, 2010 5:32 pm

In templates/presenter/submit/step1.tpl, I changed the line 38

from

Code: Select all
<td width="80%" class="value"><select name="trackId" id="trackId" size="1" class="selectMenu">{html_options options=$trackOptions selected=$trackId}</select></td>


to

Code: Select all
<td width="80%" class="value" {html_radios name='trackId' id='trackId' output=$trackOptions separator='<br />' options=$trackOptions selected=$trackId} </td>


And it is seems to be working.
mendesrocha
 
Posts: 178
Joined: Mon Nov 05, 2007 11:10 am
Location: Brazil


Return to OCS Technical Support

Who is online

Users browsing this forum: No registered users and 1 guest