C
charltonsantana1
Guest
First point: Instead of using hosted files, I tend to use FTP so I can open the file I need in either Brackets or Atom. Using FTP means we can easily update the file and have it store backups in drop-box so we can rollback when needed. For your second point, here is what I have ended up doing to get the tokens to use for an external js script. //Store Values in Array - On the 'design this page'. var tokens = { pullLinkFull: "{!#LINK.Fitting#action166615421}", quickEditNew: "{!#LINK.Fitting#165726091}", quickEditNewId: getParameterFromUrl('pageId', "{!#LINK.Fitting#165726091}"), }; Then use getScript $.getScript( " www.example.com/examplescript.js" , function( data, textStatus, jqxhr ) { }); When the script is loaded it is able to use the tokens array.
Continue reading...
Continue reading...