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 ...Navigation menuNavigation menu
Previous
 
Next
New Post
3/26/2008 10:38 AM
 

Hi,

I have created a few pages by Admin->Pages->Add New Pages and give these pages names. (i.e. tool). Then I linked these pages to friendly url by Host->Host Setting->Advanced Settings->Friendly Url Settings. When I type "http://localhost/dotnetnuke/tool.aspx", the webpage is direct correctly to the tool webpage. However, when I click on the navigation menu, the url displayed is  "http://localhost/dotnetnuke/Tool/tabid/79/Default.aspx" instead of "http://localhost/dotnetnuke/tool.aspx". Is it possible to configure the navigation menu? An example I want to achieve is "http://www.engagesoftware.com/". Please take a look at their navigation menu.

Thank you for your help!

-Oliver

 
New Post
3/31/2008 2:29 PM
 

Hi,

I will reply to my own post. For you poor soul out there. There is a simple way of doing this. You only have to replace the following string in web.config file.

name="DNNFriendlyUrl"
      type="DotNetNuke.Services.Url.FriendlyUrl.DNNFriendlyUrlProvider, DotNetNuke.HttpModules"
       includePageName="true"
       regexMatch="[^a-zA-Z0-9 _-]" />

with

           name="DNNFriendlyUrl"
      type="DotNetNuke.Services.Url.FriendlyUrl.DNNFriendlyUrlProvider, DotNetNuke.HttpModules"
       includePageName="true"
       regexMatch="[^a-zA-Z0-9 _-]"
       urlFormat="HumanFriendly"     
        />

If you have more question please refer to the following link: http://www.dotnetnuke.com/Default.aspx?tabid=825&EntryID=1637

This link solved my problem. Thank you Chris Hammond!

-Oliver

 
New Post
3/31/2008 4:41 PM
 

Just make sure you also know how to swap it back, there are numerous times when you will want to know that tab id for a certain page. :) but it is a good thing to know how to do.

 
New Post
4/10/2008 4:33 PM
 

Hi,

Another problem arises when the languages is installed by log in as host and choose from the navigation menu: Host -> Languages -> Language (such as Francais (Canada ) ). Once the languages is setup. The respective naitonal flag appear on the right hand side of the navigation menu. You can click on the navigation menu to choose the language. Once this is setup, the friendly url does not seem to work well anymore. For example, the original url link for home page is

http://localhost/dotnetnuke/Home.aspx

now becomes

http://localhost/dotnetnuke/Home/tabid/76/language/fr-CA/Default.aspx.

Is there any solution for this problem? Thank you for your help!

-Oliver

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Navigation menuNavigation menu


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