Documente Academic
Documente Profesional
Documente Cultură
DotNetNuke Community 07
Installation, Administration
& Theming Step-by-Step
by Vinod Dangudubiyyapu
Contents
Whos this is for ................................................................................................................................................................ 1
Author ............................................................................................................................................................................... 2
Requirements .................................................................................................................................................................... 2
Installation ........................................................................................................................................................................ 2
DNN Setup..................................................................................................................................................................... 2
Database Setup ............................................................................................................................................................. 4
Configuration Settings .................................................................................................................................................. 7
Website Administration .................................................................................................................................................. 11
Disable Update Feature .......................................................................................................................................... 11
Add Users ................................................................................................................................................................ 12
SMTP Settings ......................................................................................................................................................... 14
Edit Page.................................................................................................................................................................. 15
Theming DNN .................................................................................................................................................................. 16
DNN Structure ......................................................................................................................................................... 16
Change Skin /Container .......................................................................................................................................... 17
Upload New Skin/Container.................................................................................................................................... 17
Delete Installed Skins / Containers ......................................................................................................................... 18
Artisteer Theming ( updating soon) ........................................................................................................................ 19
Resource.......................................................................................................................................................................... 20
Links / Reference..................................................................................................................................................... 20
Skinning Help Links.................................................................................................................................................. 20
Modules .................................................................................................................................................................. 20
Rescue: .................................................................................................................................................................... 20
Author
My Self Vinod Dangudubiyyapu is a Web and Graphic Designer and exploring to new technologies on CMS for Look
and feel with full understanding on Platform from Setting up environment to Maintenance. This guide is to referred
from self-exploration to relevant issues on search result base information and clubs them at one place
Requirements
1.
2.
3.
4.
5.
Installation
DNN Setup
1. Download DotNetNuke Community Edition and Extract to a folder
4. Open IIS from run command by typing inetmgr (if windows feature not enable you not able to open IIS to
enable the IIS. Goto Control Panel > Programs and Features > on Left side click Turn on windows feature >
Select Internet Information service > click ok. Open browser type in address bar http://localhost to check IIS
installed and working)
5. Create New Website under Site node and Point to the folder where DNN Extracted, Provide Port number
7. Click on Basic settings under Edit Application Pool select .Net version 4.0 from Dropdown
Database Setup
1. Open SQL Server
2. Create Database with name DotNetNuke Click ok
3. Create USER under Login Security with admin user > select as SQL Authentication uncheck Enforce Polices >
Select Database Name from default database Dorpdown . Note : Remember the passwords
5. Goto the tab User Mapping and check the Database name and in below section check the db_owner
6. Goto the tab Status and make sure Permissions Grant and the Login is Enabled
7. Select database > Login > user properties and select the db_owner in both sections
Configuration Settings
1. Edit the web.config file for pointing the database to start DNN instalation, Edit parameter
a. passwordFormat="Clear" for lost password retrieval
b. Comment in both <connectionStrings> and <appSettings>
<add name="SiteSqlServer" connectionString="Data Source=.\SQLExpress;Integrated
Security=True;User Instance=True;AttachDBFilename=|DataDirectory|Database.mdf;"
providerName="System.Data.SqlClient"/>
c. Comment in both and change database name with credentials <connectionStrings> and
<appSettings>
<add name="SiteSqlServer" connectionString="Data Source=.\SQLExpress;Initial
Catalog=Dotnetnuke;User ID=dnnadmin;Password=dnnadmin@123"
providerName="System.Data.SqlClient" />
2. Run the DNN Site and install wizard start follow simple steps for database configuration. Enter User name &
Password (Tip: use the system password to remember, Note: Remember the passwords) and Website Name.
3. Configure Database
a. Select Custom in Database Information section
b. Select SQL Server/SQL Server Express Database from Database Type section
c. Enter Server Name: .\SQLExpress
d. Enter Database Name: DotNetNuke
e. Select User Defined from Security
f. Enter Database Login name and Password
g. Check the Database Owner
Website Administration
Disable Update Feature
1. After Installation finished you will notice a update notification icon on next to DNN logo to disable this goto
Host menu and click on Host Settings
a. To do changes in site level login with Host Account
Add Users
1. Click on Users Menu and Click Add New User
4.
SMTP Settings
Edit Page
1. Login with Host Account and Click on Edit Page tab on Top Ribbon bar
2. After Selecting Edit Page you will see regions to move the controls, change settings & add new controls
3. After Editing finish Click Edit Page tab and click Close edit button
4.
Theming DNN
To Create DNN a there are certain ways. HTML structure with DNN defined attributes or using software
called Artisteer
DNN Structure
1. Logo
2. Search
3. Login
4. Menu
5. Banner
6. Grouping of three Content
7. Grouping of four Content
8. Another piece of Content
9. Footer which is grouped by four as well
DotNetNuke structure is through Panes and Containers. Essentially a Pane will always be wrapped within a
Container.
Skin is the Look and Feel of Website
Container is contentment area the part of the website.
Skin Location: C:\inetpub\wwwroot\DotNetNuke\DotNetNuke\Portals\_default\Skins
Containers Location: C:\inetpub\wwwroot\DotNetNuke\DotNetNuke\Portals\_default\Containers
2. Under Skin Editor change the skin and container related to skin > click update to change the skin
4. Choose the upload type Skin or Container or Not a Skin/Container (other extension).
5. Check the Accept License > Click Next > Next > Return
Delete Installed Skins / Containers
1. Goto Host > Extensions
4. Check the Delete Files check box > Click the Uninstall Package > Click Ok for Confirmation
DNN Skinning
Include your css and js files to your ascx page by registering "DotNetNuke.Web.Client.ClientResourceManagement" namespace to
page and using its "DnnCssInclude, "DnnJsInclude" control element.
Resource
Links / Reference
http://www.ifinity.com.au/2012/11/12/The_Top_5_Things_in_DotNetNuke_7_that_you_will_love
Skinning Help Links
http://stackoverflow.com/questions/16396350/dotnetnuke-7-skinning-tutorial
http://artisteertutorial.com/
http://artistutorial.blogspot.in/
http://www.dnnskins.com/
Modules
http://store.dnnsoftware.com/
http://www.codingstaff.com/products/dotnetnuke-modules
Rescue:
Lost Password Host or Admin Accounts
As there are frequent requests from users, who lost the password of the host account (and you cannot
request the host password by email), the following solution will help
For all DNN 3 and 4 installations
(http://www.deutschnetnuke.de/AboutDotnetNuke/V3V4TippsTricks/HostLoginvergessen.aspx,
http://knowledge.3essentials.com/web-hosting/article/376/Reset-DNN-host-password.html)
Please note, that your need direct access to the database to succeed with the issue:
1. If "register" is not displayed for the portal, go to table "Portals" in your database and enter
value "2" into column "UserRegistration".
2. Create a new user account by registration (this time, please remember the password you
enter!)
3. go to database, enter table "ASPNet_Membership"
4. go to new user account (usually the last one) and copy the encrypted values of columns
"Password" and "PasswordSalt" into the same columns of user account "host" (usually th first
entry in this table)
5. Login as user "host" using the new password and delete the reshly created other user.
6. if changed, revert UserRegistration mode in Site Settings
7. Keep remembering your password ;)