• Resolved thexconcept

    (@thexconcept)


    Hi, I have been working on your plugin to put in place with my client’s information. I double checked on your demo, and I see that there as well, the Bedroom, bathroom and rent pricing information is not displaying on the listings page.

    Values not displaying:

    .$db[“bed”].
    .$db[“baths”].
    .$db[“RENT”].

    Please let me know

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • in the wp-content/plugins/listings-for-appfolio/inc directory, I changed the listings.php file as shown below. I’m not sure that this *ever* worked correctly???

    --- listings.php.orig   2021-01-08 12:38:43.360406710 -0800
    +++ listings.php        2021-01-08 12:39:36.343651401 -0800
    @@ -185,7 +185,7 @@
                                            $listingItemBody = $listing->find('.listing-item__body', 0);
                                            $listingItemAction = $listing->find('.listing-item__actions', 0);
                                            $listing_Img = $listing->find('img.listing-item__image', 0)->{'data-original'};
    -                                       foreach($listingItemBody->find('dl.detail-box__item') as $db_itm){
    +                                       foreach($listingItemBody->find('dl .detail-box__item') as $db_itm){
                                                    $label = $db_itm->find('.detail-box__label', 0)->innertext;
                                                    $val = $db_itm->find('.detail-box__value', 0)->innertext;
                                                    if($label == 'Bed / Bath'){
    
    Plugin Author Deepak Khokhar

    (@deepakkite)

    Hi @thexconcept

    Thanks for reporting the issue. It has been fixed in the latest version of the plugin.

    @byrnemanagement Thanks for you help, I have updated the plugin’s code and it’s working now. Please use the latest version of the plugin.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Parsing Data’ is closed to new replies.