Jump to content


Photo
* * * - - 1 votes

plugin IPU-chart broken by theme code

plugin IPU charts

  • Please log in to reply
7 replies to this topic

#1 kristofb

kristofb

    Member

  • Members
  • 14 posts

Posted 16 August 2013 - 01:03 PM

Dear

 

I have a big issue when using the plugin IPU-CHART with your pagelines framework.

After testing a while with other themes, eg the standard wordpress theme, it seems that your theme is breaking the plugin.

 

The chart is not showing up and results in a broken image icon. and that's it.

Can you have a look on this where pagelines  crack down the IPU-chart code?

 

This is the plugin page:

Please Login or Register to see this Hidden Content

 

Thx, looking forward to a solution.

 

My best,

kristof



#2 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 16 August 2013 - 01:09 PM

Hi kristof, 

 

Would you provide a link to your page where the chart is located?  Thanks.  It will help.



#3 kristofb

kristofb

    Member

  • Members
  • 14 posts

Posted 16 August 2013 - 01:13 PM

www.stichtingklassiekedans.be/test-2



#4 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 17 August 2013 - 02:41 PM

The Google API for that link is showing a 404.  I believe there's a problem with the plugin itself.

 

Additionally, you haven't updated from 2.4.2 to 2.4.4. Please do so.



#5 kristofb

kristofb

    Member

  • Members
  • 14 posts

Posted 17 August 2013 - 08:55 PM

Hi

 

I updated pagelines to 2.4.4, which didn't change anything.

 

1/ The code of the chart plugin in a well rendered page looks like this:

Please Login or Register to see this Hidden Content

 

<div id='

Please Login or Register to see this Hidden Content

' class='

Please Login or Register to see this Hidden Content

' style='

Please Login or Register to see this Hidden Content

'>Country,Population
China,1343.24
India,1205.07
USA,313.85
Indonesia,248.22
Brazil,205.72</div>
<figure id='

Please Login or Register to see this Hidden Content

' class='

Please Login or Register to see this Hidden Content

'>

<script type='

Please Login or Register to see this Hidden Content

'>
                    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>

 

2/ The exact same chart rendered through the pagelines framework results in this:

Please Login or Register to see this Hidden Content

 

<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="

Please Login or Register to see this Hidden Content

" alt="Top five most populous countries of the world..." />

 

Does that work for you if you use this plugin in pagelines?



#6 Danny

Danny

    Is Awesome!

  • Moderators
  • 15052 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 18 August 2013 - 08:37 AM

It isn't work as the URL for the SRC isn't correct, can you provide the exact code and wrap the code using the

Please Login or Register to see this Hidden Content

bbcode please.

 

For example:

 

Please Login or Register to see this Hidden Content

 

Your chart URL is giving this link, which leads to a 404 - 

Please Login or Register to see this Hidden Content



 



#7 kristofb

kristofb

    Member

  • Members
  • 14 posts

Posted 18 August 2013 - 06:48 PM

Hi Danny

 

I understand what you say. But the google api link code hasn't to be in the code itself, as I posted you a good and a bad example above here.

The bad rendering results with the link to the google api, which isn't the correct rendering of the code.

 

Good rendered code looks like:

<div id='

Please Login or Register to see this Hidden Content

' class='

Please Login or Register to see this Hidden Content

' style='

Please Login or Register to see this Hidden Content

'>Country,Population
China,1343.24
India,1205.07
USA,313.85
Indonesia,248.22
Brazil,205.72</div>
<figure id='

Please Login or Register to see this Hidden Content

' class='

Please Login or Register to see this Hidden Content

'>

<script type='

Please Login or Register to see this Hidden Content

'>
                    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>

 

You can't find this correct code with the pagelines framework.

 

My best,

Kristof



#8 Danny

Danny

    Is Awesome!

  • Moderators
  • 15052 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 19 August 2013 - 10:13 AM

Hi,

 

Not sure why this isn't working, you will probably be best contacting the plugin developer.

 

However, we do include a Google Chart shortcode which you can use.

 

Please Login or Register to see this Hidden Content







Also tagged with one or more of these keywords: plugin, IPU charts