Products

Solutions

Resources

Partners

Community

About

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, ...Flash IntroFlash Intro
Previous
 
Next
New Post
6/15/2007 6:14 PM
 

Excellent point on skin watering down.

What do you, "it'll work as you expect a splash page to work"? It really doesn't... Clicking logo takes you to that page every time - It should go to home page, though... Do you know what, if anything, can be done about it?


Vitaly Kozadayev
Principal
Viva Portals, L.L.C.
 
New Post
6/15/2007 7:09 PM
 

Hmmm...I'll have to look into that. Meanwhile, three possibilities:

1) If it's a custom skin for a single portal, the easiest solution is to not use the Logo control and instead just embed the HTML for it directly.

2) Add a bit of Javascript to the skin for the splash page to set a cookie and redirect to the home page if the cookie is present.

3) Don't use a splash page and create the home page skin so it's like this:

<div id="SplashPage" style="display:none">   splash content </div>

<div id="HomePage" style="display:block> regular skin content </div>

You can then add some script to the page to check for a cookie and if the cookie is not present, toggle the "display" style attribute on both divs, but if it is present, do nothing.

If you need help with the JS code for #2 or #3 let me know and I'll post snippets.

Nik


Nik Kalyani
Co-founder
DotNetNuke Corporation
Blog | Twitter | FaceBook
 
New Post
6/15/2007 7:34 PM
 

Excellent ideas!!! (I won't need help with JS, however, I bet there will be many that do - so, if you have the code, post it, please!)

I will be back on Sunday, if you don't have JS by then, I'll offer mine :)


Vitaly Kozadayev
Principal
Viva Portals, L.L.C.
 
New Post
6/15/2007 8:07 PM
 

Vitaly Kozadayev
Principal
Viva Portals, L.L.C.
 
New Post
6/15/2007 9:27 PM
 

...or if you really want to simplify things, use getCookie() and setCookie() from the built-in DNN ClientAPI. ;-)

Nik


Nik Kalyani
Co-founder
DotNetNuke Corporation
Blog | Twitter | FaceBook
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Flash IntroFlash Intro


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