Welcome to Geeklog Tuesday, December 11 2018 @ 05:55 am EST

Geeklog Forums

Google chart does not work on Static pages plugin?


Google

Anonymous
https://developers.google.com/chart/interactive/docs/quick_start

paste Google charts


from:
PHP Formatted Code
<html>
  <head>
    <!--Load the AJAX API-->
    <script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
    <script type="text/javascript">
...
 


to:
PHP Formatted Code
<html>
  <head>
    <!--Load the AJAX API-->
    <script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
    <script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
  </head>

  <body>
    <!--Div that will hold the pie chart-->
    <div id="chart_div"></div>
  </body>
</html>



many text removed automatically.
So Google charts does not on staticpages.


Status: offline

Laugh

Site Admin
Admin
Registered: 27/09/05
Posts: 1317
Yes this is an issue with Geeklog 2.1.2. It has been fixed for Geeklog 2.1.3 (which is not released yet).

See this forum post for more information.
One of the Geeklog Core Developers.

Status: offline

ivy

Forum User
Full Member
Registered: 25/11/04
Posts: 301
Location:Tokyo Japan
Thanks!
It works correctly.
Geeklog Japan https://www.geeklog.jp

All times are EST. The time is now 05:55 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content