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, ...Site Settings - Homepage complete link displayedSite Settings - Homepage complete link displayed
Previous
 
Next
New Post
1/9/2008 7:58 PM
 

Hi all,

  I am working on a DNN skin. I had to make a small Javascript code inserted in the skin ASCX page, which applies "OnClientLoad". It uses "location.href" to retrieve complete URL address of the current page. I parse this string and extract the tabid number which is compared to specific homepage tabid. This script is needed in order to have different behavior for a 3rd party panelbar skniobject. I want that its three items to be collapsed on the first page and the first one to be expanded on my inside pages.

  My problem is that when the site is launched for the first time, I don't get in the address bar the complete link for the homepage (just like I obtain if I click on "First Page" inside my menu, and for any other page  inside my site).

   How can I set the homepage to be displayed with its full URL, so I can achieve my particular behavior for this page ?

Thanks a lot,

Alex

 

 
New Post
1/9/2008 11:32 PM
 

Hey Alex,

If you have a host header set up in IIS for www.yourwebsite.com that covers the portion from initial request to your DNN site. But what happens next is it hits your site and takes a look at the matching portal alias.....point being -- if you remove www.yourwebsite.com and add www.yourwebsite.com/tabid/57/default.aspx as your portal alias instead -- I would expect your site to redirect to that URL. Give it a try and see if that works out for you.

take care,

Ian


Software Engineer
Co-Founder, dnnGallery
Stack Overflow: Ian Robinson
Twitter: @irobinson
Linked In: Ian Robinson
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Site Settings - Homepage complete link displayedSite Settings - Homepage complete link displayed


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