Dear Readers This is actually a very simple trick to do inside of your modules, though you might need to setup an option to allow this to be turned on or off depending on what the site administrator wants the page title to be.
In C# you can use the following code
DotNetNuke.Framework.CDefault tp = (DotNetNuke.Framework.CDefault)this.Page;
tp.Title = "This is my page title";
So the next time you're coding a module and need to change the page title, it's that simple.
Regrads
Rashid Imran Bilgrami
http://www.bestvisualization.com
In C# you can use the following code
DotNetNuke.Framework.CDefault tp = (DotNetNuke.Framework.CDefault)this.Page;
tp.Title = "This is my page title";
So the next time you're coding a module and need to change the page title, it's that simple.
Regrads
Rashid Imran Bilgrami
http://www.bestvisualization.com
Comments
Post a Comment
Thanks for the Comments , Your review will display soon