Includes in Your SBI! Template

Introduction

Don't think of a Web page as a single page of HTML. That is what a Search Engine sees, yes. And your human visitors see a single Web page in the browser, yes. But...

You will "assemble" a Web page like you would a jigsaw puzzle. The main piece, masterTemplate.html, contains the overall HTML structure of every Web page. You enter the page-specific information into it.

This page also contains 22 places for you to place special sitewide pieces of HTML (or other coding) into it. Your selected SBI! Template comes with 21 SBI! Include tags coded into masterTemplate.html.

This help discusses what to put into each Include, or, in some cases, what's already in there.

When you view masterTemplate.html in your browser or through your HTML editor's Preview function, you'll see the actual tag code of each SBI! Include (ex., ***z-below-paragraph-1.shtml***) instead of seeing the contents of the SBI! Include file. So...

To see what your page will look like with the content of all your Includes displayed, go to the WebFTP section of Site Central and click on the Quick Preview It! button. Follow the instructions on using it to view any page of your site before you upload it.

Quick Preview It! (QPI!)

Quick Preview It! shows you the masterTemplate.html properly. All images, media files and SBI! Includes will appear on the page. Other SBI! tags (ex., ***TOC***, ***RSSIT***, ***SOCIALIZEIT*** and Content 2.0 tags) do not display with QPI!.

Directions for Use
  • Copy the third-party code you want to put into this Include tag.
  • Paste the code into a z-end-of-head.shtml between the comment tags, and/or type your meta tags or other code.
  • Save the file.
  • Upload the file with other files. Or use Quick Upload It! to upload it after editing it.

***z-end-of-head.shtml***

You'll find this SBI! Include tag just before the </head> tag.

In other words, put page-specific information inside the masterTemplate.html's <head> section. This means you keep the <title> and both <meta> tags where they are, as you'll need to add different information to those tags for each page you build.

But we suggest that you remove this line of code in masterTemplate.html from the <head> section, cutting-and-pasting it into your ***z-end-of-head.shtml*** Include file (between the two comment tags)...

<link href="support-files/style.css" rel="stylesheet" type="text/css">

Important

If you change the file name from style.css to another name, or add a new reference to this Include, you will need to upload using Upload Your Own HTML for at least one page to have the new files uploaded. They can't be uploaded via Quick Upload It!.

As mentioned above, you can add, change, or remove any other sitewide information or coding here at any time. (But page-specific information does not belong in this Include.)

Note

As noted above, if you're going to add javascript references to this Include, place them after your CSS file reference. Otherwise, your site's design will not be able to start loading until all the JS is finished loading. And Asynchronous Analytics code should be last.


All remaining SBI! Includes are between the <body> and </body> tags of the file...

Horizontal Navigation

Directions for Use
  • If you want the horizontal NavBar at the top of your header, do nothing.
  • If you want the NavBar in a different location, cut (Ctrl-X/Command-X) all the code between the comment tags.
  • Paste (Ctrl-V/Command-V) the code between the comment tags of your preferred horizontal NavBar Include file. Save the file.
  • Upload the files with other files. Or use Quick Upload It! to upload them after editing them.

This section discusses SBI! Includes for three possible locations for a top horizontal NavBar.

Only use one of the above, of course. But it's good to Include all three in your template. You never know when you might want to change your top horizontal NavBar location!

In the Content Column

Directions for Use
  • Copy the third-party code you want to put into a Content Column Include file.
  • Paste the code between the comment tags of the relevant Include file, or type in your text or other code.
  • Save the file.
  • Upload the files with other files. Or use Quick Upload It! to upload them after editing them.

This section discusses the six Includes in your Content Column, including...

Directions for Use
  • Update the z-navigation.shtml Include file every time you build a new TIER 2 page. Save and upload the Include.
  • Place your e-zine opt-in form and RSS box code in the Include above or below the NavBar to suit your preferences.
  • Upload the files with other files. Or use Quick Upload It! to upload them after editing them.

This section discusses the three Includes used in the Navigation Column of your template.

In the Extra Column

Directions for Use
  • Edit z-extra-default-nav.shtml to add navigation to certain parts of your site. If you don't want this navigation, remove the code between the comment tags. Save the file.
  • Add text or code in z-top-extra.shtml and/or z-bottom-extra.shtml to suit your needs. Save the file(s).
  • Upload the files with other files. Or use Quick Upload It! to upload them after editing them.

This section discusses the three SBI! Includes used in the Extra Column on the right side of your template.

Directions for Use
  • Edit z-bottom-navigation.shtml to change any of the navigation links at the bottom of the page. Save the file.
  • Edit z-footer.shtml to change the copyright year or add other information to that part of the footer. Save the file.
  • Upload the files with other files. Or use Quick Upload It! to upload them after editing them.

This section discusses the four SBI! Includes used in the Footer section of your template.

  • ***z-above-bottom-nav.shtml***
  • ***z-bottom-navigation.shtml***

    This Include contains your bottom horizontal text NavBar. To edit or add links, open z-bottom-navigation.shtml and make the changes, then save and upload the file with Quick Upload It!

  • ***z-below-bottom-nav.shtml***
  • ***z-footer.shtml***

    This Include contains your copyright notice. Update yearly. Also add anything else you want to z-footer.shtml. Save and upload/re-upload the file.

  • The End of the File

    Directions for Use
    • Edit z-end-file.shtml to add or change tracking code. Save the file.
    • Upload the file with other files. Or use Quick Upload It! to upload it after editing it.

    The last SBI! Include in the template file is ***z-end-file.shtml***. Use this for tracking code that needs to go at the end of every page of your site.

    If you're not ready to use a tracking system (ex., Statcounter, Tynt), leave this Include as is.

    When you're ready to add the tracking code, copy the code from the tracking system, paste it between the comment tags in z-end-file.shtml, then save and re-upload the file.

    Bingo! You'll have sitewide tracking in 2 minutes, a perfect example of the benefits of this system of pre-located SBI! Includes.

    You will never have to do what those who use "regular" templates do... discover that they must change hundreds of pages. A few months later, they discover they need to do it all over again at another location.