OS Property support center

Defaulting on request more details

More
12 years 2 months ago #25483 by David
Defaulting on request more details was created by David
Great extension and easy to configure. I have come unstuck though.

How do I remove some of the options from the request more details drop down menu?

Please Log in or Create an account to join the conversation.

More
12 years 2 months ago #25504 by Mr. Dam
Replied by Mr. Dam on topic Re: Defaulting on request more details
Please open file:
components > com_osproperty > template > default > details.html.tpl.php
components > com_osproperty > template > default > small.details.html.tpl.php

find

<select name='subject' id='subject' class='inputbox' onchange="javascript:updateRequestForm(this.value)">
<option value='1'><?php echo JText::_('OS_REQUEST_1')?></option>
<option value='2'><?php echo JText::_('OS_REQUEST_2')?></option>
<option value='3'><?php echo JText::_('OS_REQUEST_3')?></option>
<option value='4'><?php echo JText::_('OS_REQUEST_4')?></option>
<option value='5'><?php echo JText::_('OS_REQUEST_5')?></option>
<option value='6'><?php echo JText::_('OS_REQUEST_6')?></option>
</select>

depend on the value in the language file, you can remove the option that you don't need
Good luck
Dam

Please Log in or Create an account to join the conversation.

Moderators: Mr. DamNguyen Phu Quan