add between radio buttons feedback form?
add between radio buttons feedback form?
how do I add between radio buttons on the feedback form?
-
calguy1000
- Support Guru

- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: add between radio buttons feedback form?
You may need to modify the source to do this..... don't know if there's a template for it.
If you find you do need to modify the source follow these steps:
a) download the latest svn (or get somebody to do it for you, and send you a tarball)
b) expand the tarball
c) rename the tarball to .orig
d) expand the tarball (again)
e) make your changes (test, test, test)
f) generate a "diff" between your version and the .orig version
g) send the diff as a patch to the forge, in the appropriate project, or
post it in the forum.
This will help everybody,
Thanks.
If you find you do need to modify the source follow these steps:
a) download the latest svn (or get somebody to do it for you, and send you a tarball)
b) expand the tarball
c) rename the tarball to .orig
d) expand the tarball (again)
e) make your changes (test, test, test)
f) generate a "diff" between your version and the .orig version
g) send the diff as a patch to the forge, in the appropriate project, or
post it in the forum.
This will help everybody,
Thanks.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: add between radio buttons feedback form?
Thanks for the reply. If anybody knows where to make the changes....RadioGroupInput.class.php looked promising...calguy1000 wrote: You may need to modify the source to do this..... don't know if there's a template for it.
If you find you do need to modify the source follow these steps:
a) download the latest svn (or get somebody to do it for you, and send you a tarball)
b) expand the tarball
c) rename the tarball to .orig
d) expand the tarball (again)
e) make your changes (test, test, test)
f) generate a "diff" between your version and the .orig version
g) send the diff as a patch to the forge, in the appropriate project, or
post it in the forum.
This will help everybody,
Thanks.
Re: add between radio buttons feedback form?
FeedbackForm/classes/RadioGroupInput.class.php is indeed the correct file to edit.
Change line 45 from
to
That should do it (at least in recent versions of the module API).
Good luck,
___Samuel___
Change line 45 from
Code: Select all
echo CMSModule::CreateInputRadioGroup($id, $this->Alias, $opts,
$this->Value,$this->mod_globals->UseIDAndName?'id="'.$this->Alias.$i.'"':'');
Code: Select all
echo CMSModule::CreateInputRadioGroup($id, $this->Alias, $opts,
$this->Value,$this->mod_globals->UseIDAndName?'id="'.$this->Alias.$i.'"':'',' ');
Good luck,
___Samuel___
Many modules available from the http://dev.cmsmadesimple.org
The CMS Made Simple Developer Cookbook is now available from Packt Publishers!
The CMS Made Simple Developer Cookbook is now available from Packt Publishers!
Re: add between radio buttons feedback form?
Samuel,sjg wrote: FeedbackForm/classes/RadioGroupInput.class.php is indeed the correct file to edit.
Change line 45 from
toCode: Select all
echo CMSModule::CreateInputRadioGroup($id, $this->Alias, $opts, $this->Value,$this->mod_globals->UseIDAndName?'id="'.$this->Alias.$i.'"':'');
That should do it (at least in recent versions of the module API).Code: Select all
echo CMSModule::CreateInputRadioGroup($id, $this->Alias, $opts, $this->Value,$this->mod_globals->UseIDAndName?'id="'.$this->Alias.$i.'"':'',' ');
Good luck,
___Samuel___
That did it! Thank you.
Tom

