Showing posts with label dotnetnuke. Show all posts
Showing posts with label dotnetnuke. Show all posts
Thursday, February 19, 2009
Dotnetnuke: how to force dotnetnuke to send welcome e-mail as HTML not plain text
To force dotnetnuke to send welcome e-mail as HTML, you just have to modify MAIL_USER_REGISTRATION_PUBLIC_BODY.Text or EMAIL_USER_REGISTRATION_PRIVATE_BODY.Text strings in language editor. DNN Framework check if the mailbody contains html code and send e-mail in corresponding mode.
Thursday, February 5, 2009
How to change in code the title of web page in Dotnetnuke based website?
In the ordinal web page to change programmatically the title of the .aspx page is simple:
In dotnetnuke's module that code will not help. The title of the web page will be created by DNN's core.
But we can solve this problem. The code below shows how to achieve this:
protected void Page_Load(object sender, EventArgs e)
{
this.Title = "The ordinal web page";
}
In dotnetnuke's module that code will not help. The title of the web page will be created by DNN's core.
But we can solve this problem. The code below shows how to achieve this:
Ярлыки:
ASP.NET,
C#,
CMS,
DNN,
dotnetnuke,
Page.Title,
programming,
title,
web page,
website
Friday, January 30, 2009
Remember Me not working for Login in DotNetNuke based website
The "Remember Me" feature of the DotNetNuke Login is implemented by placing an encrypted authentication cookie on the user's machine.
The expiration of this cookie is controlled through the timeout value in the Forms Autentication node the web.config.
< forms name=".DOTNETNUKE" protection="All" timeout="60" cookieless="UseCookies" />
The default setting is 60 minutes, so it can't remember anyone for very long (I call it goldfish mode).
To extend the time your users are remembered make the timeout value larger.
The expiration of this cookie is controlled through the timeout value in the Forms Autentication node the web.config.
< forms name=".DOTNETNUKE" protection="All" timeout="60" cookieless="UseCookies" />
The default setting is 60 minutes, so it can't remember anyone for very long (I call it goldfish mode).
To extend the time your users are remembered make the timeout value larger.
Ярлыки:
authentication,
CMS,
code,
cookie,
dotnetnuke,
expires,
remember me,
slidingexpiration,
timeout
Wednesday, December 24, 2008
How to change string "You are here" in Dotnetnuke web site to other language
How to change string "You are here" in Dotnetnuke's web site to other language?
If you want to translate it, you need access to you DNN installation via file system. Look for the Skin folder (/Portals/_defauls/Skins/MinimalExtrophy) and inside there is a folder /App_localResources with a single file "index.ascx.resx" you need to copy to index.ascx.sv-SV.resx and edit using a text editor. you will find "you are here" near the end of the file and may overwrite it with your localization.
This works to DNN version 4.9 and above. How it works you may see here
If you want to translate it, you need access to you DNN installation via file system. Look for the Skin folder (/Portals/_defauls/Skins/MinimalExtrophy) and inside there is a folder /App_localResources with a single file "index.ascx.resx" you need to copy to index.ascx.sv-SV.resx and edit using a text editor. you will find "you are here" near the end of the file and may overwrite it with your localization.
This works to DNN version 4.9 and above. How it works you may see here
Wednesday, October 8, 2008
Dotnetnuke site constantly to recreate the domain application: "The AppDomain shut down because of the hosting environment."
I've made a site using CMS DotNetNuke. On my developing machine it worked very good. After placing It into the hosting I've noticed that pages, especially the first opened very slowly. I looked into site's Event Viewer and see that the application domain recreated several times a minute. There are consistent records:
Application Shutting Down. Shutdown Details: The AppDomain shut down because of the hosting environment.
Application Started.
Operation of Re-creation of domain application is not fast, and it leads to lower the productivity of the website (slowly loading of pages).
Application Shutting Down. Shutdown Details: The AppDomain shut down because of the hosting environment.
Application Started.
Operation of Re-creation of domain application is not fast, and it leads to lower the productivity of the website (slowly loading of pages).
Ярлыки:
AppDomain,
application,
ASP.NET,
CMS,
DNN,
dotnetnuke,
error,
hosting,
issue,
recreation,
session,
web
Subscribe to:
Posts (Atom)