Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Thomas Beckert 193 posts 469 karma points
    Jul 20, 2016 @ 16:59
    Thomas Beckert
    0

    Running Javascript Code after Backend-Init has finished

    Hi,

    is there a way to run JS Code or integrate an own angular controller, that runs custom code after the backend has been loaded and the umbraco client api can be accessed?

    Cheers,

    Tom

  • Alex Skrypnyk 6148 posts 24097 karma points MVP 8x admin c-trib
    Jul 20, 2016 @ 20:59
    Alex Skrypnyk
    0

    Hi Tom,

    What do you mean when the backend has been kiaded and the umbraco client api can be accessed?

    Do you mean after restart of application?

    Thanks,

    Alex

  • Thomas Beckert 193 posts 469 karma points
    Jul 21, 2016 @ 06:10
    Thomas Beckert
    0

    Hi, Alex,

    I mean, if a backend-User logs in, after the login process and all the client script of umbraco has been loaded, I want to hook up and run some custom javascript code. I can do this, if I add a custom dashboard and start my code in the dashboard's angular controller. But I want to do that without integrate a dashboard. And the code should actually run in any section, not only content section.

  • Alex Skrypnyk 6148 posts 24097 karma points MVP 8x admin c-trib
    Jul 21, 2016 @ 14:18
    Alex Skrypnyk
    0

    Hi Thomas,

    This is really interesting issue.

    Trully said I don't know how to do it in right way, except change source code of Umbraco.

    Thanks,

    Alex

  • Thomas Beckert 193 posts 469 karma points
    Jul 31, 2016 @ 09:35
    Thomas Beckert
    0

    Hi, everyone,

    I found this article, that fits my need:

    http://24days.in/umbraco/2015/umbraco-7-back-office-tweaks/

    Just add a App-Plugin without view, only the JS-File and get the job done.

Please Sign in or register to post replies

Write your reply to:

Draft