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...Skins, Themes, ...Skins, Themes, ...Assign skin to portal aliasAssign skin to portal alias
Previous
 
Next
New Post
4/9/2007 11:38 PM
 

Anyone know of any 4.x feature or module that allows assignment of skin / container by portal alias?

ie.  portal id = 1 with 20 aliases. 

need to assign different skins to each alias.

 
New Post
4/11/2007 11:03 AM
 

I would make the skin change automatically accoring to the current portal ID

<div id="Portal<%=portalsettings.PortalId%">

"Put your skin here"

</div>

 

CSS:

#Portal0{

"css for portal 0"

}

#Portal1{

"css for portal 1"

}

etc

 
New Post
4/11/2007 11:25 PM
 

Portal ID is the same for all of the portal aliases.

Lets say we have 15 domains listed as portal aliases for portal id = 7.  I would like to assign different skins to each of the portal aliases.  Content will be the same just the look and feel will be different.

 
New Post
4/12/2007 4:41 AM
 

Your right, sorry didn't read carefiully enough.

I think you could use:

PortalSettings.PortalAlias.PortalAliasID

or

PortalSettings.PortalAlias.HTTPAlias

But the last one will create an invalid ID / classname, you could correct this with some vb code in your skin's code behind.

 
New Post
4/12/2007 5:00 AM
 

Currently, according to my knowledge, the DNN only supports the skining at the portal level not at the portal alias level.

Your idea is excellent. In the skins table if we create a relationship with PortalAlias table by creating a column in the PortalAlias table. then we can define the skinning at the alias level. you also need to modify the page that check the portal skin. I think you can extend the functionality of the portal controls.

This extesion will provide the ability to attach the skin with the portal alias.

There will be some consideration also that can occur during the development.

Hope you will try this and make the community happy by providing the upgrade module of the portal.


"Knowledge Sharing Matters!"
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Assign skin to portal aliasAssign skin to portal alias


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