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