OS Property support center

Overriding Advanced Search layout

More
6 years 9 months ago #100942 by BWS
Is there a way to override the layout of the advanced search? I noticed that code is in the helpers/common.php and trying to override that file isn't working.

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

More
6 years 9 months ago #100950 by Mr. Dam
Replied by Mr. Dam on topic Overriding Advanced Search layout
Hi,
Currently, OS Property doesn't have feature to override the Advanced search layout, but i will consider to add it into component in next version.
Thanks
Dam

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

More
6 years 7 months ago #103618 by Josh
Replied by Josh on topic Overriding Advanced Search layout
I second this, a chance to keep customizations done on common.php would be great!!

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

More
6 years 6 months ago #103773 by Mr. Dam
Replied by Mr. Dam on topic Overriding Advanced Search layout
Hi Giuseppe,
In next OS Property version, we will move Advanced search layout to one layout file, by that way, you or other customers will able to make the overridden layout for Advanced search form
Thanks
Dam

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

More
2 years 10 months ago #144365 by Digigreg
Replied by Digigreg on topic Overriding Advanced Search layout
Hello Dam,
I'm wondering if this modification has been done. I'm looking to override common.php as well but I see there is no possibility. And the advanced search layout is still printed by common.php.
Are you planning to move forward with this modification?

Thanks,
Greg

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

More
2 years 10 months ago #144384 by Mr. Dam
Replied by Mr. Dam on topic Overriding Advanced Search layout
Hi Didigreg,
To override the Advanced Search layout, please following below steps:
1. Create folder
root -> templates -> your_using_template -> html -> com_osproperty -> layouts
2. Copy file: root -> components -> com_osproperty -> helpers -> layout -> advsearchform.php into your created folder and making changes in that file.
Thanks
Dam

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

Moderators: Mr. DamNguyen Phu Quan