SiteGrinder

How do I set the name of a page as it appears in the browser's window title?


Firstly, give your page layercomps and your buttons intelligent names. This is the simplest method for controlling the names of your pages.

Browsers display the name of a page in their window title bars based not on the name of the html file for the page but based on a setting that appears within the html. SiteGrinder sets this for you.

SiteGrinder determines this name from the name of the button that represents the page.

Thus if you have a button layer or layer set named "Media Lab Home-button" then the page SiteGrinder generates for that button will appear as "Media Lab Home" in the title bar of the browser window when it displays this page.

Secondly, the SiteGrinder Pages UI Pane will let you change or adjust the page name (globally, or on individual pages). Both the Default setting of this pane and it's individual page dialogs have a field named "Title" and the default value for that field is [[ pagename ]].

[[ pagename ]] is using SiteGrinder's metadata syntax. This symbol stands in place for whatever the page name is as it is defined by the button or layercomp. If you'd care to add something to that name, simply edit the field, leaving the [[ pagename ]] marker in place.

Example

[[ pagename ]] - www.medialab.com
If this page is named "Technical Support-page", then this pages full title will be "Technical Support - www.medialab.com"

(not recommended)If you want to reject the layercomp or button define name entirely, then simply replace [[ pagename ]] with whatever you'd like the page name to be. But note, if you do this in the Default Settings section of the Pages UI Pane, then every page in your site will have the exact same title. This will be a big detriment to your users. And, setting page titles this way in the individual page settings dialogs, while possible, is much more work than simply naming your buttons, menu items, and page layercomps intelligibly in the first place.