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, ...Two home pages?Two home pages?
Previous
 
Next
New Post
2/6/2008 9:22 AM
 

I have a DNN project utilizing a Flash embedded javascript object located in the home page [.ascx] of the site's Skin package, which then has to be called from within the Default.aspx located in the DNN root directory.  To make it all as universal as I could, I loaded the .js file that the Default.aspx file requests into the 'js' folder.

Everything looks great.  The Flash movie runs just fine - until...

I began to navigate the site, and noticed that if I click the logo I am pointed to: Default.aspx?base

When I click on the 'HOME' link from the solpart menu, I am pointed to: HOME/tabid/36/Default.aspx

The former works the way I want it [identical to how the movie loads and views if an anonymous user hits the site's address in the browser]...

The latter [HOME/tabid/36/Default.aspx] does not...

My question:

How do I change the 'HOME' link on the solpart menu to be something other than: 'HOME/tabid/36/Default.aspx' ?

Or, are there other known workarounds?  I would be happy to inject the proper relative/absolute directory path into this other 'home' page as well, but I'm not sure where to find it?  There must be a second home page being created and running from this 'virtual' directory of some sort...

Thanks in advance for your responses!

 

MJ

 
New Post
2/6/2008 9:56 AM
 

You can set the "Home" page under Admin -> Site Settings. You can also set a "Splash" page. The splash page is hit each time someone comes to your site without specifying a specific tabid (url). The home page is linked with the assigned home page selected in the site settings and the logo click link. I am not sure of the requirements exactly, but if you put a flash module in a dnn page via text/hmtl module and specify full url's it will load properly and you don't have to modify the default.aspx at all. Maybe I misunderstand things, but this should be enough to get the conversation going at least.


Chris Paterra

Get direct answers to your questions in the Community Exchange.
 
New Post
2/6/2008 1:13 PM
 

Hi Crispy,

I've attempted to modify the Admin > Site Settings for the HOME page, as it was set to <None Specified> originally...

I've changed this to HOME, so that at least there would be one home page either way...but, I didn't see any noticeable corrections...

So, I've set it back to <None Specified> for the time being.

The logo still clicked to: Default.aspx?base, and the 'HOME' solpart menu link still clicked to: HOME/tabid/36/Default.aspx

The Flash is loaded directly in the skin code as opposed to dropping a module into a content pane, etc.

Apparently, there are three inherited ways to access the home page:

1.  http://www.domain.com
2.  logo
3.  solpart HOME

It sounds like I might need the solpart HOME to click back to the splash page?...

Is there a way to change the solpart HOME to click to the 'base' location where the logo clicks to?

Thanks again for your help!

 

MJ

 
New Post
2/6/2008 2:14 PM
 

There isn't a "base" location as the URL suggests.  That was just a line of code that was updated to include that and I do not think anyone knows why.  It has since been fixed in newer DNN releases.  (Since v4.05.03, I think).  Here is how to fix that:

Open  ~/admin/skins/logo.ascx.vb (Line: 91)
 Change this line:
  hypLogo.NavigateUrl = GetPortalDomainName(PortalSettings.PortalAlias.HTTPAlias, Request) & "/" & glbDefaultPage & "?base"
 To this line:
  hypLogo.NavigateUrl = String.Concat(GetPortalDomainName(PortalSettings.PortalAlias.HTTPAlias, Request), "/", glbDefaultPage)

As far as the rest of your question, Crispy's method should work.


Will Strohl

Upendo Ventures Upendo Ventures
DNN experts since 2003
Official provider of the Hotcakes Commerce Cloud and SLA support
 
New Post
2/6/2008 8:22 PM
 

I've applied this to the logo, and I've noticed that the URL now takes me to:

http://domain.com/Default.aspx

But, this still leaves me with the HOME link on the solpart taking me to a different home page:

HOME/tabid/36/Default.aspx

Any ideas about what line[s] to change in order to alter any of the solpart menu hyperlinks?

MJ

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Two home pages?Two home pages?


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