AppGini Helper TilesView Javascript Library NOT Working

Topics related to AppGini plugins/add-ons go here.
Post Reply
mohamed
Veteran Member
Posts: 80
Joined: 2020-04-19 16:18

AppGini Helper TilesView Javascript Library NOT Working

Post by mohamed » 2024-03-09 09:18

Hi,

I have installed the new AppGini Helper TilesView Javascript Library as per the instrucitons in
https://www.appgini.de/docs/TilesView-J ... rview.html
(PHP settings and Script details down)
BUT
I am getting this error when I do INSPECT in the browser:

Uncaught ReferenceError: AppGiniHelper is not defined
<anonymous> http://localhost/rfq/hooks/Form-tv.js:83

which is refering to this line in Form-tv.js

Code: Select all

var card = new AppGiniHelper.TV.Tiles.CardTemplate();

Anybody bought and used this library and able to make it work?




hooks/header-extras.php

Code: Select all

<script src="hooks/AppGiniHelper.min.js"></script>

<link rel="stylesheet" href="hooks/AppGiniHelper.tv.tiles.css" />
<script src="hooks/AppGiniHelper.tv.tiles.min.js"></script>

Form-tv.js

Code: Select all

jQuery(function(){ // wait for table being loaded

    var tile = new AppGiniHelperTVTiles.CardTile();
  
    var html = '<h5 class="clearfix">'
      + '<span class="label label-default pull-right">id: %_pk%</span>'
      + '</h5>'
      + '<p><small>Typ</small> put placeholder here</p>';
  
    tile.front.html = html;
  
    // finally render the Tile View
    new AppGiniHelperTVTiles.TilesView().render(tile);
  
  });

  var card = new AppGiniHelper.TV.Tiles.CardTemplate();
card.setPage(`<%Department% %Section%`);
// ...
new AppGiniHelper.TV.Tiles.Handler().setCardTemplate(card).init();


THANKS ...
Attachments
Flip Card Problem.PNG
Flip Card Problem.PNG (251 KiB) Viewed 147 times
THANK YOU...
AppGini Pro 24.11 -
Calendar - Search Page Maker - Summary Reports - Mass Update - DataTalk -
bizzworxx AppGini Helper JabaScript Library - bizzworxx Inline Detail-View - bizzworxx Helper Pack - AppGini Helper Packaging Tool -
Udemy course

xbox2007
Veteran Member
Posts: 134
Joined: 2016-12-16 16:49

Re: AppGini Helper TilesView Javascript Library NOT Working

Post by xbox2007 » 2024-04-02 22:19

i have same problem but with detail view !!!!

Post Reply