c# - js and css control in Dotnetnuke SPA Module -


how can add js lib module if module on edit mode or pass condition

<!-- if have admin permission --> [javascript:{ path: "~/resources/shared/scripts/manager.js"}] <!-- else --> [javascript:{ path: "~/resources/shared/scripts/user.js"}]  <div id="items-[modulecontext:moduleid]">   <!-- module content --> </div> 


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -