Invisible Gold - Your website should be easy to edit!
Your Website Should be Easy to Edit
Search InvisibleGold.com For:
Creating Invisible Gold Powered Websites
Template Library
Online Documentation
Articles
Technical Support Forum
Product History
Creating Invisible Gold Powered Websites
Surveys

Brilliance Within Coaching
Brilliance Within Coaching

"Invisiblegold let my company take control of our web site. We are able to change things very easily and Invisiblegold is just a phone call or e-mail away if we have any questions. John Keep up the good work!"

Bob Dattilo
RJD Home & Property Inspections LLC

Web Designer Tip: Customize the Page Title

Normally Invisible Gold manages the title tag automatically. It takes the "name" of each page and combines it with the "title" value stored in the settings page.

This doesn't work well when using an external database of products. For example, if you upload an Excel or Access database file with a list of products, the titles are all going to be the same.

The solution is to create a PageTitle.xsl file and put it into the /templates folder. This gives granular control over what the title tag is. There are lots of ways to use it, but the most common are building the title out of request parameters (ex: website.com/page.htm?productname=abc can be accessed via /ROOT/REQUEST/PRODUCTNAME), values loaded from the database directly (/ROOT/OBJECT/NAME), or parameters which are just a fancy way of passing request parameters.

This page is an example of how to use it with a database. Note, it requires version 3.1 or higher. Just create a file called /templates/PageTitle.xsl and paste the following contents into it.

Note: This example uses "params". This is another advanced trick often used for search engine optimization. Basically, you load a regular page and then add values like "directories" at the end of the address. For example, imagine the page website.com/mypage. You can pass params by loading the page website.com/mypage/a/b/c. PARAM0=a, PARAM1=b, PARAM2=c.


Download this file. Then rename to pagetitle.xsl and move to /templates.
Invisible Gold - Your website should be easy to edit!

Still Confused? Have a Suggestion? - We want to help. Type a few words to let us know what's on your mind. Include an email address if you want a response.

Email Address (optional):
Surveys
.... more

Invisible Gold - Your website should be easy to edit!