Jump to content

Table Helper


Recommended Posts

Posted

I seen app.js is loaded when init dispatcher, It includes

\IPS\ROOT_PATH . "/applications/{$app}/dev/js/{$location}/mixins",
\IPS\ROOT_PATH . "/applications/{$app}/dev/js/{$location}/models",
\IPS\ROOT_PATH . "/applications/{$app}/dev/js/{$location}/ui"

if you respect this format your mixin could be automatically loaded, then create inside app/dev/js a folder "front" and move mixins folder inside.

note: not tested ?

  • Replies 53
  • Created
  • Last Reply
Posted
54 minutes ago, BomAle said:

I seen app.js is loaded when init dispatcher, It includes


\IPS\ROOT_PATH . "/applications/{$app}/dev/js/{$location}/mixins",
\IPS\ROOT_PATH . "/applications/{$app}/dev/js/{$location}/models",
\IPS\ROOT_PATH . "/applications/{$app}/dev/js/{$location}/ui"

if you respect this format your mixin could be automatically loaded, then create inside app/dev/js a folder "front" and move mixins folder inside.

note: not tested ?

So the file I found that makes the magic happen is located in /dev/js/admin/mixins/ips.core.table.js

It's not located in the applications/core/dev/js directory. So is the root /dev/ directory considered the core app as well? I guess I'm not sure how the root /dev/ directory works

Posted
1 minute ago, BomAle said:

You must download the SDK files

and upload into your installation, enable IN_DEV constant into constants.php file

I think you misunderstood me. I know of the SDK and whatnot. I've written a few applications before, just haven't messed with the front end much. But apparently I just need to triple check things before I write them off. I just tested the js include from your original post and it works now. I have no idea what I missed the first time, but it's working. Much appreciated.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...