Welcome to Geeklog Saturday, January 18 2020 @ 09:23 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.

 Quote

Status: offline

Laugh

Site Admin
Admin
Registered: 27/09/05
Posts: 1385
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.
 Quote

Status: offline

ivy

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

All times are EST. The time is now 09:23 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