Smarty PHP - Create a Function or Plugin/Modifier to Output into JSON
$10-60 USD
In Progress
Posted 12 months ago
$10-60 USD
Paid on delivery
I need a Smarty PHP developer to:
A) Create an Action or Function OR a Plugin/Modifier for my smarty php website to output only specific values from database converted into JSON.
B) Compare 2 php files and find why my file [login to view URL] made for php5.5 works on my website [apache/php7.2] but [login to view URL] made for php7.2 does not work.
Right now on my website i filter items and output their values into json by :
{load_bo bo='bo_search' action='search' assign='action_object'}
{$action_object->m_list_objects|@json_encode} - but this dumps an array of all of the items' db column values, it's a huge JSON [see example json file attached].
I also can retrieve individual values of items from the loop, example:
{foreach name=loop_listings item=list_object from=$action_object->m_list_objects}
{$list_object->listing_type}
What i need: a PHP Function inside native [login to view URL] file, OR a Modifier like {$action_object->m_list_objects|MODIFIER|@json_encode} that would
1) PRINT ONLY SPECIFIC VALUES INTO JSON (see nodes in attached json file): listing_id, listing_status, title, price, price_status, listing_main_type, listing_type_title, listing_type_id, no_bedrooms, no_bathrooms,no_half_bathrooms, lat, lng, highlight, total_square, board, featured, photo(*), in_wishlist, in_comparelist
(*) i believe that main photo is selected from photos array and printed by m_list_objects, if not in photos array we pick listing_photo_file(ONLY 1 photo from Photos array that has "hierarchy": "1",) and the photo's width and height values.
2) OR, if 1) is too complex task, then maybe we could JUST REMOVE PHOTOS JSON node array from the json to reduce it.
I have a few questions regarding the specifications that you have provided.
Could we please have a word?
My Skills:
JSON, PHP, Smarty PHP and JavaScript
Hello there,
Hope you are doing well!
I am expert in design and development.
I am available 24/7 for the support . Hello There, I gone through your project details and I am confident to deliver what you are looking for. However to proceed further I need some details from your side.✅ Kindly message me Thanks!!
Looking forward to have a great business relationship with you.
Regards with thanks,
Pooja
Hi, i have read your Create a Function or Plugin/Modifier to Output into JSON project. I'm interested in your project. Please message me i'm ready to start the work from now.
Hi there! I have read your job description carefully and I can complete these tasks within a day.
I have extensive experience in PHP and JSON, and know well how to migrate PHP from the old version to the new version.
Please get in touch with me and lets start work soon.
Best regards.
Phillip
Hello ,
Hope you are well today. This is Jansher
I have just landed on freelancer.com while I have been building websites for the last 5 years. I assure you the best result and will develop completely in a custom manner rather than template or theme based work. The beauty of a custom work is that you can ask anything in terms of functionality.
Let’s initiate a chat and you will know how professional I am once you see my past work.
★★★ Dear, Max ★★★
Going through your job description, I felt that you are looking for Smarty PHP developer to implement your requires.
I have read your explanation carefully and I think I can implement your requires.
As over 5 years of PHP expert, i can implement your requires perfectly.
My experience and passion to deliver quick results will help you and your website become what you want it to be.
Looking forward to hearing good news from you soon.
Best regards & Thanks.
Vitalii Popkov