Terry's Second Site Tips

Customizing Your Site - Examples

This page updated 5 May 2009

Version note: Applies to Second Site 2 & 3

My Overview of Second Site article describes some basic steps creating a personalized website. My Customizing Themes article provides further details on ways to "fine tune" the appearance of your site to get it exactly as you prefer. This article provides some specific examples of ways I have used the techniques described in those articles to produce exactly the site I wanted.

My objective was to match the appearance of my Terry's Tips website. An example of the results can be seen in my Family History pages. While you may want different results, these examples may illustrate methods you may find useful.

Topics Included in this Article
Colors and Fonts
Modifying the colors and fonts specified in your selected Theme
User Styles
More control of colors, fonts, and the like for advanced users
Other Options
Options to have your site "your way"
Changing Standard Phrases
Many of the standard phrases can be changed
Site Icon
Setting up a graphic icon on each page of your site

Setting Colors, Fonts and the Like

When choose a Theme for your site you set a variety of features, including colors, font size and style, and much more. Many of these choices can then be modified with the many options available on the Second Site screens, as described in my Customizing Themes article. I used the Plain Theme for my site because it is " intended as a base from which you modify color properties and supply graphics to create a custom look," to quote the description in Help. You can modify some of the properties of the other Themes too, but they are already designed present an integrated appearance as provided.

Here are some of the controls I used to create the custom colors, fonts, and text layout, listed in the order they appear on the Second Site screens:

These illustrate just a few of the many ways you can customize the colors and fonts used on your site. The specific changes allowed, and the effect of the various controls, varies depending on the Theme selected. Review the available options, read what Help offers, and experiment to see what changes appeal to you.

User Styles

Only a few hundred of the myriad of styles used by Second Site can be changed in the Stylesheets sections for Theme, Menu, and System. As described in my article on Customizing Themes, User Styles, which are entered in the Stylesheets > User section allow the advanced user to change the others.

User Styles require more knowledge of CSS than the options described above, and thus should be considered an advanced feature. Help provides some useful examples, there are many Internet articles that can be helpful if you are not already comfortable with writing CSS codes, and John Cardinal's Second Site support list has many helpful people who can assist. But if such things seem like Greek to you, you may prefer to stay with the options illustrated in the section described above.

User Styles 1 through 5 are designed to allow a knowledgeable user to construct their own CSS styles, and then apply them to text entered in the various text content fields.

User Styles 6 through 20 are intended to allow users to override the standard styles that cannot be changed in the other screens, and are the ones I used in the following examples. In each of these, you must first identify which style you want to modify in the "selector" field, then enter the appropriate CSS codes to make your desired modification in the "other" field. The following are some changes I made of this type for my family history pages:

I could have entered just the ul parameter, but I also wanted to number the children. Specifying only the ul parameter would cause the numbers to be converted to colored dots as well. The "ul.bull" class is used for the Tag bullets, but not for the list of children, so I was able to apply to colored dots only where I wanted them on the people pages. Since I also have bullets on my main page, I added the second term to change them as well.

Note that the three link styles (a, a:visited, and a:hover) must appear in this order to work properly. Also, note that parameters specified in earlier styles of the set do not need to be repeated unless they are to be changed; the later styles inherit those parameters from the earlier ones.

The key in each of these examples (except the last one) is to identify the CSS parameter that Second Site uses to control the portion of the web page you want to change. In some cases this is obvious from looking at the source code of the finished pages, but in other cases it is more difficult to discern. No doubt those skilled in CSS can be more successful, but I found that a good web-page editor was invaluable in seeing which parameters control the specific items I wanted to modify.

Selecting Other Options

There are large number of options in Data, Pages, and Layouts sections by which you can customize various aspects of your sit. They are well worth scanning through to see if there are some changes you would like to make. Some alter the overall impression of the pages, while others control specific aspects of the way your data is presented. I list here a number that I found interesting, arranged by the section in which they appear in Second Site:

This HTML code produces the table with the note and links seen at the bottom of each of my Person Pages. By placing it in this field the note appears after every person. Since I've gone to one person per page, that places it at the bottom of every page.

I wanted a line across the bottom of each Person Page, followed by a small note about how the pages were produced, and a copyright notice. I did that by checking the "Extra Footer Override" box, then adding in the "Extra Footer" field:
<hr>
<div align="center">For information about how these pages were produced, see <a href="http://tmg.reigelridge.com/About%20Our%20Pages.htm" TARGET="_top">About Our Pages</a>.
<p align="center">Copyright 2000-2009</p>
</div>

The "<hr>" term is the HTML code for a "horizontal rule." it produces the line. Following that is the text of the note about how the pages are produced, including a link to a page on my site that explains that. The final line is the copyright notice.

I also place here the codes for Google's amazing site tracking system, which tells me which pages have been visited, where the reader came from and went next, and much more. For details see Google Analytics. It's free, at least currently.

I don't like the person pages to have a "Person Page - 3" subtitle. So in the "Header Script" field I selected:
       No Page Number

The function of the Layouts section is described more fully in my Customizing Themes and Layouts article.

Changing Second Sites's Standard Phrases

Many of the words and phrases that Second Site produces (as opposed from the text produced by Tags in your TMG data) can be easily edited. Second Sites's Strings section contains a long list of phrases used to construct your site. These fields are initially populated with standard terms in the language you select when you initially create your site definition - Language Issues in my Special Issues article. You can then edit any of these phrases if you prefer. Here are some I like to change:

In order to delete the "Person Page" subtitle on each person page, I deleted the text in the "Person Page Name" field.

These are just a few of the many ways you can customize your site. If you see phrases you would prefer to change, look through the Strings section. You can most likely change to something you would prefer.

Setting Up a Site Icon

Themes control the general "look" of the site - the colors and graphics used on the site. There are a variety of standard Themes that provide several distinctly different overall site styles, including in some cases fairly extensive graphics. But I prefer a fairly simple style of my own design. So I start with the Plain style, which is designed to be a simple foundation for user customization. In addition to the changes to fonts, spacing, and colors that I made as described in the first two section so this article I wanted to add my site's trademark "ReigelRidge" house on a mountain graphic.

Adding such a graphic as a "Site Icon" is pretty simple, once you locate or create a suitable graphic image. It's done as follows:

Page
Filename
Page
Filename
Main Page
siteicon1
Chart Pages
siteicon6
Surname Index
siteicon2
List Pages
siteicon7
Person Indexes
siteicon3
Image Pages
siteicon8
Person Pages
siteicon4
User Pages
siteicon9
Source Pages
siteicon5
Place Indexes
siteicon10

Conclusion

There are lots of ways to customize your webpages. How much you might choose to do depends on how much time you want to spend on the project, how picky you are, and what resources you have available. Hopefully, some of the ideas offered here will be helpful in creating a set of webpages that meet your needs.


ReigelRidge Home
Terry's Tips Home
Contact Terry

 

My sellout book, A Primer for The Master Genealogist, is now available.

Details are can be seen here.

 

Copyright 2000-2010