Page 1 of 1

AppGini Helper TilesView Javascript Library NOT Working

Posted: 2024-03-09 09:18
by mohamed
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 ...

Re: AppGini Helper TilesView Javascript Library NOT Working

Posted: 2024-04-02 22:19
by xbox2007
i have same problem but with detail view !!!!

Re: AppGini Helper TilesView Javascript Library NOT Working

Posted: 2024-06-09 06:28
by mohamed
Hello,

Have anybody been able to make the TilesView work!

Thank you

Re: AppGini Helper TilesView Javascript Library NOT Working

Posted: 2024-06-09 09:31
by jsetzer
Sure, are there any specific questions or errors in Console?

Re: AppGini Helper TilesView Javascript Library NOT Working

Posted: 2024-06-09 11:45
by jsetzer
Error message says the library could not be found. Please double check your include tag in header-extras.php.

If this is 100% correct and scripts are at the correct location and you still have problems, please send your order number and relevant php + javascript code by email.

Re: AppGini Helper TilesView Javascript Library NOT Working

Posted: 2024-06-28 03:20
by mohamed
Hi Jan,

Thank you first for all your great efforts ..

Sure, will send all details by email.


Best Regards..