Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...How would you do this?How would you do this?
Previous
 
Next
New Post
3/20/2007 4:52 PM
 
I need to create a portal that supports two skins: 1) a "normal" skin and 2) a "text-only" type of skin. This second skin is to allow the site to be more accessible to users with disabilities.

One thing I thought of that I couldn't figure out how to do was to create a second portal but have it point at the first portal. That would enable my to apply the two skins. I could then add a link at the top of every page on the 1st portal that said "text-only" version and redirect it the text version.

The site has a boatload of content, so it's imperative that only one physical portal exists.

I'm sure at least some of you have encountered this. How did you deal with it?

Thanks,

Scott

 
New Post
3/20/2007 8:39 PM
 

I know that there is way to change the page skin by passing a parameter in the URL... but do not remember what it is. :(

Its something like: skin=nameofskin...


Maxiom TechnologyAntonio Chagoury | Microsoft MVP
Maxiom Technology
Professional .net & DotNetNuke Solutions
web: www.maxiomtech.com
blog: www.cto20.com
twitter: @antoniochagoury & @maxiomtech

 
New Post
3/20/2007 8:45 PM
 

Ok - I think I got it... it is SkinSrc!

So you would link like this: Default.aspx?SkinSrc=MySkinName

Hope this helps.


Maxiom TechnologyAntonio Chagoury | Microsoft MVP
Maxiom Technology
Professional .net & DotNetNuke Solutions
web: www.maxiomtech.com
blog: www.cto20.com
twitter: @antoniochagoury & @maxiomtech

 
New Post
3/22/2007 8:38 AM
 
Great idea! Thanks. That works, but the only problem I have with it is persisting that parameter throughout the site.

Is there a way to make DNN to do this?

I tried using IIS by creating a new alias to the portal with a new ip address. I configured IIS to redirect to that page and add the ?SKinSrc= to every request. That didn't work because it recursively called itslef.

I then tried enhancing SiteUrls.Config. But I couldn't figure out a regular expression that would pull it off. I think this may be the most promising route. Anyone out there know how to write a url rewrite rule to always append a name-value pair?

Thank again, Antonio.

Scott
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...How would you do this?How would you do this?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out