40FINGERS StyleHelper Skin Object 02.02.02 Legacy

Rating: No reviews yet
Downloads: 754
Released: Oct 19, 2011
Updated: Jun 8, 2012 by Timo_Design
Dev status: Stable Help Icon

Recommended Download

Application 40FINGERS_StyleHelper_02.02.02_Install_DNN5.zip
application, 14K, uploaded Oct 19, 2011 - 754 downloads

Release Notes

!this is a legacy version, please download the latest version from!
http://stylehelper.codeplex.com/

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 and Meta tags from the head of the page (like the UnloadCSS skin object).

This version is DNN 05.03.02+ only, for DNN 4 use the 01.08.04 release



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).

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: http://www.40fingers.net/Weblogsampnews/Weblogs/tabid/58/articleType/ArticleView/articleId/23/First-Beta-release-of-Style-Helper-Skin-Object.aspx

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.
- Set the doctype
- Detect Mobile browsers
- Redirect to another URL (based on filters)
- Set the skins Doctype

I will add some skin examples in the near future.

Changes:
Version 02.02.02
- AddHtmlAttribute, now replaces an attribute if it already exists

Version 02.02.01
- Bug fix in Referrer handling

Version 02.02.00
- Improved Redirect Handling
- Get Backlink to the Page that casued the redirect
- Add anything to the Head of the DotNetNuke page
- Remove Existing DotNetNuke MetaTags
- Links to Style sheets and Javascript files are now templatable

Version 02.00.01
Fixed bug in Mobile detection

Version 02.00.00
Changes:
DNN 5 only release
New:
- Set the Doctype of a skin: Doctype="XHTML 1.0 Transitional"
- New Filter: Check if browser is a mobile browser (or not): IfMobile="True/False"
- Redirect to another URL: RedirectTo="/"
- The way the redirect is handled can be set to always, once per session or once (cookie based): RedirectMode="Always/Once/OncePerSession"
- Add Attributes to the HTML element on the page: AddHtmlAttribute="Attribute,Value"


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

Version 01.08.03
Bugs:
Some minor BodyClass attribute bugs.
Add Meta tag is now pipe separated "|" as a meta tag can contain commas.
Feature:
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
Features:
Now supports hosted CSS and JS files with AddCssFile & AddJsFile

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

Version 01.06.00
Bugs:
Control panel CSS files can be removed now.

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

Enhancements:
- 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.