Hello my friends
I want to hide a currency field
But I can not do that
How?
---------------------------------------
You can see the picture
http://s13.postimage.org/6poqj1ktz/4354364554765765.gif
Hello my friends
I want to hide a currency field
But I can not do that
How?
---------------------------------------
You can see the picture
http://s13.postimage.org/6poqj1ktz/4354364554765765.gif
I had the same done as i only haveone currency on my site, i would submit a support ticket with your request
Hello all,
You can change it yourself in ftp:>>templates>>your_template>>tpl>>blocks>>field s_search.tpl at line ~ 132
Find code:
and replace to:Code:Only registered members can view the code.
Code:Only registered members can view the code.
Viktor,
Flynax technical department,
Best wishes.
Hi,
I adjusted the field s_search.tpl file.
But I see it only works for rent on the quick search on the home page. But not for sale.
Do others have the same problem?
And in which files can I also adjusted for the quick and advanced files on the search page?
Thanks in advance!
Hello,
fields_search.tpl file is for all search forms of the website.
Simple way to hide it is just replace
withCode:Only registered members can view the code.
your_default_key you can get from the Admin Panel >> Data Entries >> Currency|manage >> your currency|editCode:Only registered members can view the code.
I replaced it with the new code.
But still shows the currency dropdownmenu.
shouldn't you also remove:
<td class="field">
<div>{$lang.currency}</div>
</td>
and
<select name="f[{$field.Key}][currency]" class="w80">
<option value="0">{$lang.any}</option>
{foreach from='currency'|df item='currency_item'}
<option value="{$currency_item.Key}" {if $currency_item.Key == $fVal.$fKey.currency}selected="selected"{/if}>{$lang[$currency_item.pName]}</option>
{/foreach}
</select>
Hello Hans,
You can find this code:
and replace to:Code:Only registered members can view the code.
Code:Only registered members can view the code.
Viktor,
Flynax technical department,
Best wishes.
Hello Viktor,
I tried to make changes to the file fields_search.tpl you have indicated, but I do not delete the currency field!
I would like to delete it as I do?
Thanks in advance
Hello Giuseppe Zappala,
Would you please send me ftp access details in PM I will check it on your site and solve ASAP.
Then I will write you what was wrong.
Viktor,
Flynax technical department,
Best wishes.
Hello Giuseppe Zappala,
Code written above is correct but your site has 2 currencies and that's why system cannot hide currency field. Please remove 1 currency from admin panel >> data entries. and system hide currency field.
Viktor,
Flynax technical department,
Best wishes.