Setup - Site Design
Site Design and Definition
The Setup >> General Settings >> Site Design and Definition provides several parameters that are key on how your TNG pages are generated.
The Home Page value specified is what TNG will use for the Home link displayed on your TNG dynamically generated pages, if the Show Home Link is set to Yes, which is the default.
If you want to link your Home Page to be your main site web page, when TNG is installed in a sub-directory like genealogy, then you can set the Home page value as ../index.php or whatever your main site web page is.
The Site Name specified in the Site Design and Definition is used as the second part of the page title.
The Site Name is also used in the PDF generated page footer.
The PDF generated footer for each page shows
Site Template Look and Feel
The Custom Header, Custom Footer, and Custom Meta control the look and feel of your site pages. TNG provides a default template in the install folder and 14 predefined templates distributed in the templates folder.
The value you specify for Custom Header, normally topmenu.php, is used to generate the page banner and menu. If your site allows dynamic language switching, you must use topmenu.php file in order for the $text variables to be resolved.
shows the banner and menu generated by Template 2.
shows the banner and left menu generated by Template 4 as outlined in red.
|TNG version:||≤ 9.2.2|
The value you specify for Custom Footer, normally footer.php, is used to generate the page footer.
shows the footer generated by Template 2.
shows a custom footer based on Template 4.
|TNG version:||≥ 10.0|
The code that generates the TNG footer was moved to genlib.php so that it would work differently for mobile devices.
The User Footer Copyright mod was provided to generate a site copyright based on the values defined in the Site Design section.
The value you specify for Custom Meta, normally meta.php, is used to generate the links for the style sheets:
- genstyle.css defines the TNG styles
- templatestyle.css defines the template overrides to the TNG styles and other styles used by the template
- mytngstyle.css defines the user overrides to the genstyle.css and templatestyle.css
The Site Design section also allows you to control the TNG links shown on each page.
Home Search Login/Logout Print Add Bookmark
These menu options are normally located at the top left of every page, just under the page heading and above the row of tabs. Each of these options can be turned on or off by setting the options to Yes (default) or No.
If you set individual items to