Style Helper Skin Object 01.08.04 (DNN4 version)

Rating: No reviews yet
Downloads: 158
Released: Jan 19, 2012
Updated: Jan 19, 2012 by Timo_Design
Dev status: Stable Help Icon

Recommended Download

application, 8K, uploaded Jan 19, 2012 - 62 downloads

Other Available Downloads

application, 9K, uploaded Jan 19, 2012 - 96 downloads

Release Notes

This is the latest DNN 4 version of this Skin Object.
If you are using DNN 5+, please download the latest version.

The 40FINGERS Style Helper Skin object allows you to add CSS and Javascript links and meta tags to the head of your page.
It can also remove CSS links for the head of the page (like the UnloadCSS skin object).

This skin object also allows you to set conditions for the adding the file links / meta tags, based on browser, role etc.
These filters can be positive (include) or negative (exclude).

From version 1.5 you can also add a CSS class to the Body element of your page.
Either a static value or based on the page name, id or order.

This can all be done from the skin using code too, but this skin object allows you to use these option without any code and from an HTML skin.
Also if you want to add meta tags you don't have to change default.aspx (which is a core hack)

For the current documentation read this:

Examples of use

- Remove certain CSS files from the Head
- Load Browser specific CSS / JS files
- Load a culture specific CSS file
- Load a stylesheet specifically for RTL languages
- Add Meta tags, (for the iPhone) to your page.

I will add some skin examples in the near future.

Version 01.08.04
Fixed issue in GetPageOrder (DNN 5 version) for BodyClass attribute bugs.

Version 01.08.03
Some minor BodyClass attribute bugs.
Add Meta tag is now pipe separated "|" as a meta tag can contain commas.
You can now add a class to the body that shows the which roles with view rights for the current page, the current user is a member of.

Version 01.07.00
Now supports hosted CSS and JS files with AddCssFile & AddJsFile

Version 01.06.01
RemoveCssFile="/" is now internally replaced by "/.*" to make it a valid regex.

Version 01.06.00
Control panel CSS files can be removed now.

Version 01.05.00
- Javascript is now Injected after jQuery
- You can now use spaces after the comma in you RemoveCssFile attribute.
(Example: "default.css, portal.css" )

- AddBodyClass attribute allows for the injection of a CSS class to the body of the page.
This can be a static text or a dynamic string based on the Page Name, Page Id and Page Order.

Version 01.00.01
- FilterRemove defaults to True now
- Fixed bug where !Administrators for IfRole was not working correctly

Reviews for this release

No reviews yet for this release.