WordPress.org

Ready to get started?Download WordPress

Forums

IPU-Chart
[resolved] plugin code broken under paglines theme (3 posts)

  1. Kristof Bernaert
    Member
    Posted 10 months ago #

    Hi

    I'm using the framework Pagelines, which results in a broken plugin.
    Actually, it's quite clear, under pagelines, this code is generated and not functioning:
    > http://www.stichtingklassiekedans.be/test-2
    <div class="entry_content"><div id='data' class='csv' style='display:none;white-space:pre;'>Country,Population China,1343.24 India,1205.07 USA,313.85 Indonesia,248.22 Brazil,205.72</div> <img title="Top five most populous countries of the world..." src="http://chart.apis.go...chf=bg,s,ffffff" alt="Top five most populous countries of the world..." />

    In another theme, the ipu plugin is well rendered:
    <div id='data' class='csv' style='display:none;white-space:pre;'>Country,Population
    China,1343.24
    India,1205.07
    USA,313.85
    Indonesia,248.22
    Brazil,205.72</div>
    <figure id='c793767' class='chart'>
    <script type='text/javascript'>
    renderChart("c793767", "#data", "", "", "return data;", "bar", "Country",
    "Population", "string, number", "auto",
    "width:100%;height:300px;", "Top five most populous countries of the world...", "The top five most populous countries of the world...", "true", "linear",
    "medium", "", "false");
    </script>
    </figure>

    Do you see where to problem is?
    I updated Pagelines already about this, but after a while of debugging they sent me back to you.

    Can you have a look on this? Cause would like to buy this for several websites ... and pagelines is frequently used.
    thx!
    kristof

    http://wordpress.org/plugins/ipu-chart/

  2. thmufl
    Member
    Plugin Author

    Posted 10 months ago #

    Hi,

    So the scripts and the svg are not even rendered with Pagelines. Just this strange image tag.

    Does Pagelines (or any other component of your site) load Google Chart? There is a name collision between this plugin and IPU-Chart with the 'chart' shortcode. Please, try with the shortcodes 'ipu-chart' and 'ipu-csv' instead of 'chart' and 'csv' to verify this.

    If this does not work, please contact us again. Best via our support forum (https://www.ipublia.com/support/forums/).

    Thomas

  3. Kristof Bernaert
    Member
    Posted 10 months ago #

    Hi Thomas

    That makes the charts working with the alternative shortcodes!

    thx a lot for quick response. appreciate it.
    kristof

Reply

You must log in to post.

About this Plugin

About this Topic