Closed samac01 closed 6 months ago
Hi, open the following file in app source code:
PROJECT_HOME/packages/houzi_package/lib/widgets/article_box_widgets/article_box_design.dart
Find String _address
around line 40, and there you can change the address line to whatever you want. You can get the country, state, city and area as follow:
String _country = article!.address!.country;
String _state = article!.address!.state;
String _city = article!.address!.city;
String _area = article!.address!.area;
Not working Please i need City,Area like this
Why you removed _address variable.
String _address = article!.address!.city +","+ article!.address!.area;
_adress
is variable used in later lines, and it will generate a compiler error if you remove this.
I'm SOS sorry Mr Adil for last your time but not working
What is not working? Is there any error you getting? Is the address not showing?
It is really hard to guess something front the screenshot.
Yes no thing showing
What is your website address?
Hello @samac01, Please email me imhassan6197@gmail.com
I send him thanks you but still Maby have some problems in my web
Hi, the app relies on address string by default.
Showing city and area requires an additional query for each property. Which means if you are fetching 20 listings per search, it'll add 20 queries to the process. Which can be tiny little bit slower, because with Wordpress api, each listing will need a separate query to fetch area and city separately. I would suggest to add address to each of your property.
OK now I want try with aria no problem because I don't have address, when user add new listing add aria and city only
Hello Please on property location I need call, city and aria like theme on web site on app call address but I'm add only city and aria and map location please any help