| home / programming / asp-net-com / 1 | [previous][next] |
|
|
Even though we'll deal with creating the new theme later, we'll prepare its folder structure by following these steps:

2. In Styles, copy the Default.css file from the Default theme. Use the same method to copy the Default.ascx page skin from the Default theme folder to the Blue theme folder. Later, we'll modify this skin to create our own.
3. You'll be asked if you want a new class file created for the control. Choose No:


That's it! The Blue folder will be the playground later when implementing the personalized look for our website. First, we'll add some substance to the website by adding a number of new sections.
We'll populate the website as follows....
1. Create a new Home section.
2. Add the About Me page.
3. Deal with the My Books section.
4. Add the discussion forum.
By default, when creating a new community, the Home section is an HTML Page section without any functionality and without the possibility of changing its appearance. However, if you choose Apply Sample Content when creating the community, the home section is automatically configured as a Parent section.
We will change the Home section to a Parent section. Among other features, this means that we'll get the useful listing of Child sections. Let's do this as follows:
1. Log in as Admin, and go to the Community Administration Menu. Here you need to delete the Home section, but this is not possible since currently it is the only section. For now, edit the Home section to change its Section Name to OldHome. This will allow us to create a new section named Home. Click Apply Changes.
2. In Edit Sections, click on Add New Section, and set the following properties in the General tab:
Name |
Value |
| Section Name | Home |
| Section Title | Home |
| Section Menu Title | HOME |
| Section Description | Welcome! |
| Section Type | Parent Section |


Note that we make use of a style (Home_Header) that doesn't exist in the current Default.css file. Later, when building the layout, we'll create the new styles and modify some of the existing ones.
5. In the Appearance tab, you can also set the meta-description and keywords, helping the website to rank higher in search engine results. Here's an example:
Name |
Value |
| Section Meta Description | Cristian Darie's personal home page |
| Section Meta Keywords | ASP.NET, Community Starter Kit, CSK, C#, programming, SQL Server, Oracle, MySQL |


We'll take care of improving the looks later; but for now the functionality is there. After adding new sections, their links will be listed in the home page, instead of the boring This section has no child sections message.
| home / programming / asp-net-com / 1 | [previous][next] |
Created: March 27, 2003
Revised: July 29, 2004
URL: http://webreference.com/programming/asp-net-com/1