Plugin Directory

Changeset 1241896


Ignore:
Timestamp:
09/09/2015 08:14:15 PM (11 years ago)
Author:
sparklit
Message:

Added compatability with the customizer interface which will allow live preview and implementation of ads using the widget interface

Location:
adbutler/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • adbutler/trunk/adbutler.php

    r1203350 r1241896  
    55Plugin URI: http://example.com/wordpress-plugins/adbutler
    66Description: AdButler ad management system integration plugin. Simplify deployment of your ad zones with this highly effective manner of deploying your publishing needs
    7 Version: 1.10
     7Version: 1.11
    88Author: Sparklit Networks
    99Author URI: http://sparklit.com
  • adbutler/trunk/includes/adbutler_plugin.class

    r1202608 r1241896  
    3636        add_action('widgets_init', array($this, 'register_widget'));
    3737        add_action('admin_enqueue_scripts', array($this, 'enqueue_admin_scripts'));
     38        add_action('siteorigin_panel_enqueue_admin_scripts', array($this, 'enqueue_admin_scripts'));
    3839        add_action('wp_dashboard_setup', array($this, 'dashboard_widget_register'));
    3940        add_action('add_meta_boxes', array($this, 'abkw_targeting') );
     
    133134    public function enqueue_admin_scripts($hook)
    134135    {
    135         if (!(('widgets.php' == $hook) || ('index.php' == $hook) || preg_match('/adbutler/', $hook) || ('customize.php' == $hook)))
    136             return;
     136       
    137137        wp_enqueue_script('adbutler_script', ADBUTLER_URLPATH . "js/adbutler.js", array('jquery-ui-button', 'jquery', 'jquery-ui-spinner'), '1.05', true);
    138138        $params = array(
  • adbutler/trunk/js/adbutler.js

    r895314 r1241896  
    1616            }
    1717           
    18             if ($('.adbutler_widget').length > 1) {
     18            if ($('.adbutler_widget').length > 0 ||($("[id^='customize-control-widget_adbutler-']"))) {
    1919                adbutler.populate_zone_lists();
    2020            }
     
    179179        }    };
    180180}(jQuery));
    181 adbutler.init(adbutlerParams);
     181jQuery(document).ready(adbutler.init(adbutlerParams));
    182182
    183183
  • adbutler/trunk/readme.txt

    r1202608 r1241896  
    44Tags: Ad serving, AdButler, Ad Server,Ad Management,Ad Rotation
    55Requires at least: 3.3
    6 Tested up to: 4.22
     6Tested up to: 4.3
    77Stable tag: trunk
    88License: GPLv2 or later
     
    6868== Changelog ==
    6969
    70 *1.03 Fixed some connection issues
    71 *1.04 Fixed widgets on customize appearance page
    72 *1.05 Added the ability to associate AdButler keywords with a given post
    73 *1.06 Added Async Javascript support
    74 *1.07 Added Support for shortcodes
    75 *1.08 Fixed development bug
    76 *1.09 Added Secure Tags and Refresh Settings
    77 *1.10 Tag cleanup and secure bug fix
     70*1.03 Fixed some connection issues.
     71*1.04 Fixed widgets on customize appearance page.
     72*1.05 Added the ability to associate AdButler keywords with a given post.
     73*1.06 Added Async Javascript support.
     74*1.07 Added Support for shortcodes.
     75*1.08 Fixed development bug.
     76*1.09 Added Secure Tags and Refresh Settings.
     77*1.10 Tag cleanup and secure bug fix.
     78*1.11 Compatability with customizer. 
    7879
    7980
    8081== Upgrade notice ==
    8182
    82 Added the ability to refresh tag config and Secure tag type
     83Will make the widgets compatible with the customizer interface allowing for live preview of ad inventory
    8384
    8485
Note: See TracChangeset for help on using the changeset viewer.