multiple attributes or multiple calls

Sep 21, 2011 at 9:12 PM

You'll have to forgive my ignorance, but I'm muddling through the documentation and get it just enough to feel like I'm on the right course. I want the Style helper to do two things - 1) dump the default css files from DNN and 2) redirect to another website if the request is coming from a mobile device.

Here's what i have in the skin:

<%@ Register TagPrefix="fortyfingers" TagName="STYLEHELPER" Src="~/DesktopModules/40Fingers/SkinObjects/StyleHelper/StyleHelper.ascx" %>

<fortyfingers:STYLEHELPER ID="STYLEHELPER1" RemoveCssFile="Default.css,Portal.css,Container.css" runat="server" />

<fortyfingers:STYLEHELPER ID="STYLEHELPER2" RedirectTo="https://www.teeitup.com/golf/mob/bookmob.pl?C=55082" RedirectMode="Session" IfMobile="True" runat="server" />

It looks like the default css files aren't loading, but I can't get the mobile detection and redirection to work. I'd appreciate a shove in the right direction. Thanks

Coordinator
Sep 22, 2011 at 10:02 AM

Seems right, I'll test it and get back to you.

What version of DNN are you using?

Timo

Sep 22, 2011 at 1:39 PM

version 5.6.2. looking to upgrade to 5.6.3

Sep 22, 2011 at 3:25 PM

Call off the dogs - I didn't have the skin I was working on set for the page. It works.

Coordinator
Sep 24, 2011 at 6:33 PM

Ok, thanks for the feedback, I was just going to test it :-)