Welcome to Geeklog Sunday, July 22 2018 @ 07:54 pm EDT

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: 1292
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 EDT. The time is now 07:54 pm.

  • 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