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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Changing the Displayed Page Title @ RenderChanging the Displayed Page Title @ Render
Previous
 
Next
New Post
2/20/2008 10:15 AM
 

I've managed to get the first chunk of pages working, and am currently in the process of properly linking them together. 

I've used the FriendlyURL functionality as the first iteration of making my 'virtualized' directories, and, so far, it seems to be working moderately well...  We'll see how it does once I get the site up on the staging server to allow internal testing.

Next step is reskinning each 'page set', again, based off the URL... I'll be doing this with CSS (I hope).

But, I also need to rename the page, so that it will show specific text in the program header bar.   Has anybody had any luck doing this within DNN, so that they change it to NOT be whats in the database values for the page, instead using whatever values may be generated by the code in a specific control or such?

Thanks,

Brian

 
New Post
2/21/2008 7:27 AM
 

If you want to change the page title from code, you can do that by this code :

DotNetNuke.Framework.CDefault dnnPage = (DotNetNuke.Framework.CDefault)this.Page;
dnnPage.Title = "Your title goes here";

Just cast your page to CDefault.

HTH.

 
New Post
2/22/2008 12:44 PM
 

Are you sure? I just tried it and it doesn't work.

In this post: http://dnnblog.venexus.com/CDefaultTitle+No+Longer+Supported+In+401.aspx it says that it has been disabled since 4.01. Maybe it's still disabled?


DotNetNuke them!
 
New Post
2/22/2008 2:37 PM
 

I did it and it's working for me...

Have to figure out what it should say now, but it's working.

Brian

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Changing the Displayed Page Title @ RenderChanging the Displayed Page Title @ Render


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