Custom Fields in the result of the search page

ClassiBase classifieds script Forums General help Custom Fields in the result of the search page

This topic contains 2 replies, has 2 voices, and was last updated by  totranquilo 2 years, 6 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1861 Reply

    totranquilo
    Participant

    Hello as had previously been in contact with the Intent to create a guide yellow pages , due to the difficulty in finding a developer with extensive knowledge in classibase I decided to do the job on their own.

    My doubt is related to the file below :

    / themes / olxer / views / index / _listing_row.php

    _listing_row.php

    What I need is the following :

    Title of the ad ( solved )
    Field Phone : ( solved )
    Address location of ads ( address custom field )

    I wonder how can I call this field to be listed on the search page .

    This is an example of the expected result :

    http://yelb.com.br/all/s_1-avenida_q-academia/
    ———————————————————————————————————–
    Linda Academy ! gymnastics and aesthetics (21) 2524-0333

    Avenida Almirante Barroso, 97th Centro, Rio de Janeiro, RJ

    Female Academy , Rio de Janeiro
    ————————————————————————————————————-

    Custom Fields in the result of the search page

    #1868 Reply

    ClassiBase
    Keymaster

    We have function for getting custom field by type or by ID. In your case by type will be good solution. Use following line for getting address custom field for given ad.

    AdFieldRelation::getByType($ad, AdField::TYPE_ADDRESS);

    #1875 Reply

    totranquilo
    Participant

    Many thanks for the help thank God I’m slowly getting my portal to create yellow pages with classibase.

    would be good if it had a manual of how to manipulate the fields of thema and we can customize to our liking.

    was still useful

    http://yelb.com.br/all/s_q-academia/

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Custom Fields in the result of the search page
Your information: