DotNetNuke 5.4 Cookbook

Over 100 recipes for installing, configuring, and customizing your own website with the DotNetNuke CMS

DotNetNuke 5.4 Cookbook

Cookbook
John K Murphy

Over 100 recipes for installing, configuring, and customizing your own website with the DotNetNuke CMS
$26.99
$44.99
RRP $26.99
RRP $44.99
eBook
Print + eBook
$12.99 p/month

Want this title & more? Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.
+ Collection
Free Sample

Book Details

ISBN 139781849511681
Paperback432 pages

About This Book

  • Create and customize your own DotNetNuke website with blog, forums, newsletters, wikis and many more popular website features
  • Learn custom module development and rich content management with sample code and tips
  • Provides samples of styling and skinning a DotNetNuke portal
  • Offers advanced programming tips combining DNN with AJAX and JQuery
  • Part of Packt's Cookbook series: Each recipe is a carefully organized sequence of instructions to complete the task as efficiently as possible

Who This Book Is For

If you are a .NET developer with beginner to intermediate knowledge of Visual Basic or C# and want to develop a website/CMS using DotNetNuke, this book is for you.

Familiarity with DNN operation, CSS, and basic web development (ASP.NET) skills is required.

Table of Contents

Chapter 1: Installation and Setup
Introduction
Downloading the Microsoft Web Platform Installer
Installing SQLServer Express
Downloading and installing the DotNetNuke package
Running the DotNetNuke installation
Setting the site name and information
Choosing a skin for the site
Choosing a container for the site
Adding a module to a page
Installing standard DNN modules
Downloading an extension (skin or module)
Installing a new extension
Chapter 2: Managing Users and Site Setup
Introduction
Enabling user registration for your site
Creating users and granting access
Creating and assigning security roles
Granting access to modules
Banning and deleting users
Managing profile properties
Creating and organizing pages
Using the Recycle Bin
Setting up a SMTP server with Gmail
Chapter 3: Easy Tricks with Existing Modules
Introduction
Using the HTML module
Creating an announcement
Distributing documents online
Publishing a Newsletter
Creating a calendar of events
Creating a Wiki
Publishing sets of popular links
Displaying RSS news feeds
Configuring RSS news feeds
Publishing a simple report
Publishing a survey questionnaire
Chapter 4: Creating your Own Modules
Introduction
Installing Visual Web Developer 2010 Express
Viewing the database from Web Developer
Installing the DNN 5 Starter Kit
Creating a new module with the Starter Kit
Creating a database table with keys
Creating stored procedures
Connecting a module to the database
Creating an uninstall script
Chapter 5: Building, Debugging, and Deploying Modules
Introduction
Building a View control
Building an Edit control
Editing the Manifest File
Building for release or debug
Deploying a module as a standalone package
Downloading the DNN 5 source code
Setting up a debugging environment
Preparing a module for debugging
Setting a breakpoint and stepping through module code
Creating a Manifest from an installed module
Chapter 6: Data Entry Tricks
Introduction
Displaying labels from the resource file
Creating collapsible panels
Populating a drop-down list from a DNN list
Populating a drop-down list from a stored procedure
Displaying a Datagrid with filter controls
Adding a paging control to a Datagrid
Chapter 7: Cool Web Controls
Introduction
Adding web controls to your Toolbox
Showing an e-mail link in an Datagrid
Showing checkboxes in a Datagrid
Showing a thumbnail image in a Datagrid
Creating labels you can edit
Suggest text while typing
Showing data in a Treeview
Using a TabStrip to separate content
Using a CAPTCHA control for security
Creating a multi-state checkbox
Chapter 8: Basic Skinning
Introduction
Downloading and installing a skin
Creating a simple HTML skin
Creating a simple ASCX skin
Deploying your skins and containers
Exploring Skin Objects
Creating a simple HTML container
Creating a basic ASCX container
Creating custom container images
Styling a container with images
Styling a menu with images
Chapter 9: Working with Foreign Languages
Introduction
Downloading and installing a language pack
Creating a bilingual site with a single portal
Editing the language resource file
Creating your own module translations
Determining controls that need translations
Localizing labels, titles, panels, and links
Localizing a drop-down list with a stored procedure
Localizing a drop-down list with a DNN list
Localizing a stored procedure
Localizing a DataGrid control
Chapter 10: Advanced Tricks with Existing Modules
Introduction
Using the HTML module with jQuery
Using the HTML module with replacement tokens
Using the HTML module with Flash
Displaying an XML feed
Controlling the friendly URL rewriting
Tracking your site with Google Analytics
Publishing calendar events as an RSS feed
Designing your own forms
Styling your own forms
Chapter 11: Challenging Custom Modules
Introduction
Making modules searchable
Exporting module data
Importing module data
Exporting and importing user defined tables
Creating custom module actions
Using HTML in your manifest
Deploying a new module version
Using multiple database connections
Chapter 12: Advanced Modules and Security
Introduction
Creating a secondary View control
Controlling navigation with NavigateURL
Displaying module messages and event logging
Creating your own CBO Hydrator
Using Active Directory with DNN
Synchronizing Security Roles with DNN
Correcting Active Directory issues
Chapter 13: Advanced Skinning
Introduction
Using the Rotator widget
Using the Visibility widget
Using the Stylesheet widget
Creating and deploying a custom widget
Using a custom widget in a skin
Using the rounded corner Super Stylesheet
Showing portal settings in a skin
Adding animation to a menu

What You Will Learn

  • Build a website using the DotNetNuke content management system
  • Create forums, blogs, wikis, and newsletters to publish your content
  • Create multiple portals to manage the pages of your site efficiently
  • Set up and administer users with different security providers
  • Build your own custom modules using VB.NET
  • Configure the development tool for module debugging
  • Customize the look and feel of you DNN website by styling it with custom skins
  • Use the DNN localization tools and API to support multiple languages in one website
  • Create your own reusable skin widgets
  • Use AJAX and jQuery libraries with DotNetNuke

In Detail

DotNetNuke is a powerful and flexible content management system for building websites. It comes with many features for publishing content including tools to create Blogs, Banner Advertising, News Feeds, and much more. But setting up a fully featured website and customizing a complete content management system using the open source DotNetNuke package can be challenging. There are multiple pieces involved and each piece must be correct for the whole to work.

The recipes in this book will safely navigate you around the obstacles and have your own full-featured website using the DotNetNuke CMS with blogs, forums, wikis, user security, and much more up and running in no time. This book will also help you to build your own custom modules using VB.Net and restyle them with your own custom skins.

This book is an indispensible guide for installing, configuring and customizing a DotNetNuke website. It starts by explaining how to download and install DotNetNuke and then covers how to make the most of all the features such as blogs, forums, wikis, banner ads, newsletters, surveys and much more. When you've tried all the available modules, you will find recipes for creating your own custom modules: the tools you need, how to set up a development environment, how to use the DotNetNuke starter kit, and how to compile and deploy modules. Further, there are recipes for designing a database, creating stored procedures and debugging modules. You'll also learn the techniques of styling your website using skins and even how to create a site with multiple languages.

Authors

Table of Contents

Chapter 1: Installation and Setup
Introduction
Downloading the Microsoft Web Platform Installer
Installing SQLServer Express
Downloading and installing the DotNetNuke package
Running the DotNetNuke installation
Setting the site name and information
Choosing a skin for the site
Choosing a container for the site
Adding a module to a page
Installing standard DNN modules
Downloading an extension (skin or module)
Installing a new extension
Chapter 2: Managing Users and Site Setup
Introduction
Enabling user registration for your site
Creating users and granting access
Creating and assigning security roles
Granting access to modules
Banning and deleting users
Managing profile properties
Creating and organizing pages
Using the Recycle Bin
Setting up a SMTP server with Gmail
Chapter 3: Easy Tricks with Existing Modules
Introduction
Using the HTML module
Creating an announcement
Distributing documents online
Publishing a Newsletter
Creating a calendar of events
Creating a Wiki
Publishing sets of popular links
Displaying RSS news feeds
Configuring RSS news feeds
Publishing a simple report
Publishing a survey questionnaire
Chapter 4: Creating your Own Modules
Introduction
Installing Visual Web Developer 2010 Express
Viewing the database from Web Developer
Installing the DNN 5 Starter Kit
Creating a new module with the Starter Kit
Creating a database table with keys
Creating stored procedures
Connecting a module to the database
Creating an uninstall script
Chapter 5: Building, Debugging, and Deploying Modules
Introduction
Building a View control
Building an Edit control
Editing the Manifest File
Building for release or debug
Deploying a module as a standalone package
Downloading the DNN 5 source code
Setting up a debugging environment
Preparing a module for debugging
Setting a breakpoint and stepping through module code
Creating a Manifest from an installed module
Chapter 6: Data Entry Tricks
Introduction
Displaying labels from the resource file
Creating collapsible panels
Populating a drop-down list from a DNN list
Populating a drop-down list from a stored procedure
Displaying a Datagrid with filter controls
Adding a paging control to a Datagrid
Chapter 7: Cool Web Controls
Introduction
Adding web controls to your Toolbox
Showing an e-mail link in an Datagrid
Showing checkboxes in a Datagrid
Showing a thumbnail image in a Datagrid
Creating labels you can edit
Suggest text while typing
Showing data in a Treeview
Using a TabStrip to separate content
Using a CAPTCHA control for security
Creating a multi-state checkbox
Chapter 8: Basic Skinning
Introduction
Downloading and installing a skin
Creating a simple HTML skin
Creating a simple ASCX skin
Deploying your skins and containers
Exploring Skin Objects
Creating a simple HTML container
Creating a basic ASCX container
Creating custom container images
Styling a container with images
Styling a menu with images
Chapter 9: Working with Foreign Languages
Introduction
Downloading and installing a language pack
Creating a bilingual site with a single portal
Editing the language resource file
Creating your own module translations
Determining controls that need translations
Localizing labels, titles, panels, and links
Localizing a drop-down list with a stored procedure
Localizing a drop-down list with a DNN list
Localizing a stored procedure
Localizing a DataGrid control
Chapter 10: Advanced Tricks with Existing Modules
Introduction
Using the HTML module with jQuery
Using the HTML module with replacement tokens
Using the HTML module with Flash
Displaying an XML feed
Controlling the friendly URL rewriting
Tracking your site with Google Analytics
Publishing calendar events as an RSS feed
Designing your own forms
Styling your own forms
Chapter 11: Challenging Custom Modules
Introduction
Making modules searchable
Exporting module data
Importing module data
Exporting and importing user defined tables
Creating custom module actions
Using HTML in your manifest
Deploying a new module version
Using multiple database connections
Chapter 12: Advanced Modules and Security
Introduction
Creating a secondary View control
Controlling navigation with NavigateURL
Displaying module messages and event logging
Creating your own CBO Hydrator
Using Active Directory with DNN
Synchronizing Security Roles with DNN
Correcting Active Directory issues
Chapter 13: Advanced Skinning
Introduction
Using the Rotator widget
Using the Visibility widget
Using the Stylesheet widget
Creating and deploying a custom widget
Using a custom widget in a skin
Using the rounded corner Super Stylesheet
Showing portal settings in a skin
Adding animation to a menu

Book Details

ISBN 139781849511681
Paperback432 pages
Read More