Plugin Directory

Changeset 1028985


Ignore:
Timestamp:
11/19/2014 09:52:16 PM (11 years ago)
Author:
blots
Message:

version 1.6.4. fixed bug in map popup display, fixed issue with widgets when no active key is present

Location:
wolfnet-idx-for-wordpress
Files:
113 added
3 edited

Legend:

Unmodified
Added
Removed
  • wolfnet-idx-for-wordpress/trunk/ReadMe.txt

    r980415 r1028985  
    55Requires at least:  3.5.1
    66Tested up to:       4.0
    7 Stable tag:         1.6.3
     7Stable tag:         1.6.4
    88License:            GPLv2 or later
    99License URI:        http://www.gnu.org/licenses/gpl-2.0.html
     
    5151
    5252== Changelog ==
     53
     54= 1.6.4 =
     55* Fixed Widget issue when there is no active key
    5356
    5457= 1.6.3 =
  • wolfnet-idx-for-wordpress/trunk/wolfnet.php

    r980415 r1028985  
    66 * Description:  The WolfNet IDX for WordPress plugin provides IDX search solution integration with
    77 *               any WordPress website.
    8  * Version:      1.6.3
     8 * Version:      1.6.4
    99 * Author:       WolfNet Technologies, LLC.
    1010 * Author URI:   http://www.wolfnet.com
     
    4747     * @var string
    4848     */
    49     public $version = '1.6.3';
     49    public $version = '1.6.4';
    5050
    5151    /**
     
    140140        }
    141141
    142         // Register actions.
     142       
     143       
    143144        $this->addAction(array(
    144145            array('init',                  'init'),
    145146            array('wp_enqueue_scripts',    'scripts'),
    146             array('wp_enqueue_scripts',    'styles'),
    147             array('widgets_init',          'widgetInit'),
     147            array('wp_enqueue_scripts',    'styles'),           
    148148            array('wp_footer',             'footer'),
    149149            array('template_redirect',     'templateRedirect'),
     
    151151            ));
    152152
     153        if ($this->getDefaultProductKey()){
     154            $this->addAction(array(
     155                array('widgets_init',      'widgetInit'),
     156            ));
     157        }
    153158        // Register filters.
    154159        $this->addFilter(array(
  • wolfnet-idx-for-wordpress/trunk/wolfnet/Wolfnet_Api.php

    r972609 r1028985  
    205205    {
    206206        if($productKey == null) {
    207             $productKey = json_decode($this->getDefaultProductKey());
     207            $productKey = $GLOBALS['wolfnet']->getDefaultProductKey();
    208208        }
    209209        $url  = $this->serviceUrl . '/setting/' . $productKey
     
    220220    {
    221221        if($productKey == null) {
    222             $productKey = $this->getDefaultProductKey();
     222            $productKey = $GLOBALS['wolfnet']->getDefaultProductKey();
    223223        }
    224224        $url  = $this->serviceUrl . '/sortOptions/' . $productKey . '.json';
     
    481481                $concatHouseover .= '</a>';
    482482            }
    483             $concatHouseover .= '</td>';
    484             $concatHouseover .= '<td valign="top" style="vertical-align:top;">';
    485             $concatHouseover .= '<div class="wolfnet_wntHOContentContainer">';
    486             $concatHouseover .= '<div style="text-align:left;font-weight:bold">' . $listing->listing_price;
    487             $concatHouseover .= '</div>';
    488             $concatHouseover .= '<div style="text-align:left;">' . $listing->display_address;
    489             $concatHouseover .= '</div>';
    490             $concatHouseover .= '<div style="text-align:left;">' . $listing->city . ', ' . $listing->state;
    491             $concatHouseover .= '</div>';
    492             $concatHouseover .= '<div style="text-align:left;">' . $listing->bedsbaths;
    493             $concatHouseover .= '</div>';
    494             $concatHouseover .= '<div style="text-align:left;padding-top:20px;">' . $listing->branding->content;
    495             $concatHouseover .= '</div>';
    496             $concatHouseover .= '</div>';
    497             $concatHouseover .= '</td>';
    498             $concatHouseover .= '</tr>';
    499             $concatHouseover .= '</tbody>';
    500             $concatHouseover .= '</table>';
    501             $concatHouseover .= '</div>';
    502             $concatHouseover .= '</div>';
    503             $concatHouseover .= '</a>';
    504483
    505484            array_push($houseoverData, array(
Note: See TracChangeset for help on using the changeset viewer.