DotNetNuke 5.4 Cookbook

Book description

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

  • 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

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.

Create and customize your own fully featured DotNetNuke website

Table of contents

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

Product information

  • Title: DotNetNuke 5.4 Cookbook
  • Author(s): John K Murphy
  • Release date: September 2010
  • Publisher(s): Packt Publishing
  • ISBN: 9781849511681