Posted on novembre 09, 2009 15:09

Hi,
This small article will show you how to change the metadescription in dotnetnuke.
Simply add this code in your code behind page.
Public ReadOnly Property BasePage() As DotNetNuke.Framework.CDefault
Get
Return DirectCast((Page), DotNetNuke.Framework.CDefault)
End Get
Private Sub Page_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Init
BasePage.Description = “Your new description”
BasePage.Title = "Your page Title"
BasePage.KeyWords = “Your keywords”
BasePage.Author = "Your name"
BasePage.Comment = "Your Comment"
BasePage.Copyright = "Your Organization"
BasePage.Generator = "Your Generator"
End Sub
Francis