OS Property support center

Select order of featured properties on home page

  • Stefano
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
10 years 7 months ago #50409 by Stefano
Hello!

I'm using osProperty 2.6.4.

I would like to choose the order for featured properties to display on the home page of my website.

I've tried to search a parameter on property list in back-end, without success.

Where I can set an order for these properties?

Thanks!

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

More
10 years 7 months ago #50476 by Mr. Dam
Hi Stefano,
To list the "Featured" properties at front-end, you can use layout: Property listing layout and select field "Show featured" properties.
Thanks
Dam

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

  • Stefano
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
10 years 7 months ago #50491 by Stefano
Uhm, honestly I did not find what you suggest.

But, with this method I can choose the order of properties? I mean, I would like to display a specified property at the top of my featured properties page. Is it possible?

Thanks!

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

More
10 years 7 months ago #50549 by Mr. Dam
Hi Stefano,
Unfortunately, it's impossible
Thanks
Dam

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

  • Stefano
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
10 years 7 months ago #50786 by Stefano
Suppose I create a page to update a custom column in db with the order of isFeatured='1' properties.

Then, where I can modify the query that retrieve featured properties to ORDER BY my custom column? Is it in listing.php?

Thx

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

Moderators: Mr. DamNguyen Phu Quan