Auto Population

Auto Population

November 23, 2017
 Steve

  • Steve
    Newbie 17 points

    Hi, So I was recently setting up search fields etc and for Region it auto populated all cities etc which was very helpful got me, but I only need the UK regions and not any other countries. Is there any way I can make it so new users can only choose from the UK populated list when creating a listing? I would like to remove the other regions.

    Thank you so much in advance!!
    -Ste

    November 23, 2017 at 7:08 pm

  • Steve
    Newbie 17 points

    Also do you happen to know why on my home page search bar even when a listing has been created with a selected region, That region wont appear in the drop down menu? It is Just United Kindom label that drops down.

    November 23, 2017 at 7:17 pm

  • Julian
    Newbie 90 points

    cheers have you tried custom fields and taxonomies ,,I had to create location city country ect,,,then they will show up in search..if you go into your members area go up to the more and hit video tutorials it shows how to do this..its easy ..I hope this may help…if you choose users listings when you set it up it will only display whom is registered in what country.(not full listings)..and if you dont see the plus sign beside the custom fields on right…its there..its just invisible hover over it and click

    November 23, 2017 at 10:11 pm
  • Josh
    Josh
    Super Guru 13,888 points

    Hello Steve,
    You can remove countries and cities you don’t need from the file DT >framework >class >class_search.php

    November 24, 2017 at 12:07 pm
    This reply was awarded the best answer by the topic poster.

  • Steve
    Newbie 17 points

    Thanks for the response, I managed to sort it out by editing the class_search.php.

    November 26, 2017 at 5:07 pm
  • Josh
    Josh
    Super Guru 13,888 points

    Thanks for updating Steve :)

    November 27, 2017 at 12:12 pm
Viewing 6 posts - 1 through 6 (of 6 total)

Didn't find what you were after?

Chat with us now

or contact our support team