Seems helpful yes, I'll look into it soon, thanks!
Edit: I've taken a quick look at it and it seems quite overpowered for this simple task. Isn't there an easier way? I thought there were some events you could subscribe to in a ApplicationEventHandler?
@Seb - I didn't know that the controlAdapters could be used against pages (guess I never tried that), always thought they were for smaller controls. You learn something new everyday! #h5yr
@Stefan - before seeing Seb's suggestion, if not wanting to use BackOfficePowerScripts - then the only other way that I've done it is using a HttpModule to apply a Response.Filter against the rendered mark-up. It's hacky as hell, but works, (see my old/hacky Disable BackOffice Timeout package for an example.)
Inject javascript in umbraco.aspx
Hi all,
I'd like to inject a javascript reference in the /umbraco/umbraco.aspx page, without modifying the source.
Is this possible somehow?
Thanks!
Could this be your answer?
http://our.umbraco.org/projects/backoffice-extensions/backoffice-power-scripts
Rich
Seems helpful yes, I'll look into it soon, thanks!
Edit: I've taken a quick look at it and it seems quite overpowered for this simple task. Isn't there an easier way? I thought there were some events you could subscribe to in a ApplicationEventHandler?
Use a FormRewriterControlAdapter (see the App_Browsers folder in any Umbraco install).
Check this out as well, my environmentindicator did just that: http://pagenotifications.codeplex.com/SourceControl/latest#App_ Browsers/environmentIndicator.browser
Thanks Sebastiaan, looks good!
@Seb - I didn't know that the
controlAdapters
could be used against pages (guess I never tried that), always thought they were for smaller controls. You learn something new everyday! #h5yr@Stefan - before seeing Seb's suggestion, if not wanting to use BackOfficePowerScripts - then the only other way that I've done it is using a HttpModule to apply a Response.Filter against the rendered mark-up. It's hacky as hell, but works, (see my old/hacky Disable BackOffice Timeout package for an example.)
Cheers,
- Lee
is working on a reply...