OS Property support center

How to hide the Subject of "Request More Details"

More
10 years 1 month ago #42978 by Tami
The Subject line generated from the "Request More Details" form is unnecessary in my case.
Is there a way to hide it without a hack?
If hack required, please indicate the file and code lines.

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

More
10 years 1 month ago #42980 by Mr. Dam
Hi Tami,
You can remove the options in the drop-down at "Request more details" form in this file
components > com_osproperty > templates > your_current_template > details.html.tpl.php
find:
<select name='subject' id='subject' class='input-medium' 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 content of options (were defined at language files), you can remove corresponding options if you need.
Thanks
Dam
The following user(s) said Thank You: Tami

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

More
3 years 6 months ago #138763 by Farrell
In Version 3.18.0 is this in small.details.html.tpl.php

And there is a bug in com_osproperty/helpers/common.php
Line 3590

for($i=1;$i<=7;$i++){

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

Moderators: Mr. DamNguyen Phu Quan