+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: Show / Hide: Currency field

  1. #1

    Show / Hide: Currency field

    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

  2. #2
    I had the same done as i only haveone currency on my site, i would submit a support ticket with your request

  3. #3
    Hello all,

    You can change it yourself in ftp:>>templates>>your_template>>tpl>>blocks>>field s_search.tpl at line ~ 132

    Find code:

    Code:
    Only registered members can view the code.
    and replace to:

    Code:
    Only registered members can view the code.
    Viktor,
    Flynax technical department,
    Best wishes.

  4. #4
    Junior Member
    Join Date
    Nov 2012
    Location
    Bangkok
    Posts
    9
    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!

  5. #5
    Hello,

    fields_search.tpl file is for all search forms of the website.

    Simple way to hide it is just replace

    Code:
    Only registered members can view the code.
    with

    Code:
    Only registered members can view the code.
    your_default_key you can get from the Admin Panel >> Data Entries >> Currency|manage >> your currency|edit

  6. #6
    Junior Member
    Join Date
    Nov 2012
    Location
    Bangkok
    Posts
    9
    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>

  7. #7
    Hello Hans,

    You can find this code:

    Code:
    Only registered members can view the code.
    and replace to:

    Code:
    Only registered members can view the code.
    Viktor,
    Flynax technical department,
    Best wishes.

  8. #8
    Junior Member
    Join Date
    May 2013
    Location
    Catania
    Posts
    16
    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

  9. #9
    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.

  10. #10
    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.

+ Reply to Thread