OS Property support center

Bug on Page Navigation in the Layout List properties of city!

  • Gerry Na
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
4 years 5 months ago #130264 by Gerry Na
osproperty.cloudaccess.host

Os Property version 3.16.1


I created the menu item Layout: List properties of city, one is called Atlanta and the other New York.

When I go from page 1 to page 2 of Atlanta, I find myself on the New York page

When I go from page 2 to page 3 of New York, I find myself on the Home page

I also tried clicking multiple times on Optimize SEF Urls

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

More
4 years 4 months ago #130502 by Mr. Dam
Hi,
To solve the problem, you can follow below steps:
1. Open file: root -> components -> com_osproperty -> helpers -> pagination.php
2. Find:
Code:
$priority_task = array('company_properties','property_advsearch','property_manageallproperties','agent_editprofile','agent_default','category_details','agent_listing','agent_layout'); $priority_view = array('lmanageproperties','aeditdetails','lagents','ladvsearch');

and change to
Code:
$priority_task = array('company_properties','property_advsearch','property_manageallproperties','agent_editprofile','agent_default','category_details','agent_listing','agent_layout','property_city'); $priority_view = array('lmanageproperties','aeditdetails','lagents','ladvsearch','lcity');

Thanks
Dam

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

Moderators: Mr. DamNguyen Phu Quan