Winter

From TNG_Wiki
Revision as of 05:38, 18 September 2018 by Randal Suire (talk | contribs) (Sites using this mod)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Restricted Downloads of Winter are restricted to logged in users. If you do not have a user account on the TNG Wiki use the Request Account link to request a user account Restricted


Ambox notice.png TNG versions prior to v12 handled template configuration using a configuration file. TNGv12 moved template configuration to the database, so different versions are required for automated installation and removal.
TNG 12.0
TNG 11.0
TNG 10.0


Template 90

Preview1.jpg

Winter is a minimalist template for TNG that is suitable for TNG test sites or even for a live site where the user wants an uncluttered home page. It is fully integrated into TNG's template setup screen.

Winter is an experiment in providing add-on templates using scripted installation. We may convert it to a mod in the future.

The website title is an image created on the fly from text entered into the template setup. The image uses an Old Script font to give it a bit of an antique look, but other TrueType fonts could be used as well.

Version 12 substitutes the home page links list with an area for a welcome message or site description. Links are still available from the drop down menus.


Installation

Winter
Summary Minimalist TNG Template.
Validation
Mod Updated 17 Aug 2018
Download link
Download stats View Stats
Author(s) Rick Bisbee
Homepage
Mod Support Support for Winter
Contact Developer As above
Latest Mod v10.0.0.2 & v12.0.0.1
Min TNG V 10.0
Max TNG V 12.0+
Files modified
none
Related Mods
Notes


  1. Download the correct package for your version of TNG at the right.
  2. Unzip and drop the template90 folder into your website's templates directory.
  3. Navigate your browser to template90. For example, in your browser's address bar, enter something like one of the following, substituting your own TNG domain for mysite.com.

    localhost/templates/templage90

    localhost/t1201/templates90

    mysite.com/templates/template90

    mysite.com/genealogy/templates/template90

    • For Template90_v12+ follow the browser's on-screen instructions to add it to the database.
    • Template90_v10+ 10+ will install automatically, updating the templateconfig.php file.
  4. After installation, go to the TNG Admin Setup page and under Template Settings select template90. Then:
    1. Set the website title
    2. Set the site's main photo (if you want to change it).
    3. In version 12 you can also enter a Welcome or Descriptive message for display on the home page. Version 10 just contains a list of website links in this area.
    4. Save the settings.

Note: Template90 looks best if you edit your Admin Setup >> Configuration >> General Settings >> Site Design and Definition -> Menu location, select "Top left, over heading." Don't forget to save your changes.

Removal

Version 10

Version 10 has no uninstaller. To uninstall it, delete template90 from your templates directory and remove the t90 entries from your templateconfig.php file.

Version 12

To uninstall version 12 and above, navigate your browser to the template90 folder (just as you did to install it) and follow the browser's on-screen instructions to remove it from the database. To completely uninstall it, delete the template90 folder. Be sure to select a different template for your site from the Admin Setup area first.

Bot-Trap

Winter checks to see if Bryan Larson's Bot-Trap mod is installed and provides a built-in, invisible link inside the body element. The Winter template link will validate and will not increase the height of page headers. Just install the Bot-trap mod, then manually remove the link from meta.php. The Winter template will take care of the rest. This is a topmenu.php technique that can be used in your other templates if you choose to modify them.

Compatibility

This Theme Was Tested With TNG Versions
Ver 900 all all 1000 1100 all 1200 all
10.0.0.0
12.0.0.1

*green: compatible   red: not compatible   white: not tested

Above were tested with PHP 5.6.16 using MySQL 5.5.44.

See Multisite Testbed for information on how this mod is tested and managed.

Revision History

Version 12 Date Updates
12.0.0.1 15 Aug 2018
  • Minor update to elements and colors.
  • Revised for TNGv12 template table vice configuration file.
  • Works with language support provided in Admin Template Settings
  • Fixed to work with PHP 5.6 and PHP 7.2.
  • Simplifies Installation.
  • Automates removal.
Version 10 Date Updates
10.0.0.2 17 Aug 2018
  • Fixed to work with TNG Template Settings for language support (Site title)
10.0.0.0 15 Aug 2018
  • adds check for file permissions -- alerts if cannot write
  • updates text-to-image processing to work with PHP 7.2

Winter Template Screen Shots

Home Page (v12)

Winter Template Home Page


Secondary Pages (v12)

Winter Template Secondary Pages


Admin Pages (v12)

Winter Template Admin Page


Winter Template Setup (v12)

Winter Template Setup Page


Winter Template Main Photo Selection

Use one of these old photos or provide your own!

sitephoto.jpg
sitephoto1.jpg
sitephoto2.jpg


Sites using this mod

If you download and install this mod, please add your TNG site to the table below:

URL User Note Mod-Version TNG-Version User-language
Bisbee Family Connection Rick Bisbee Mod Developer V12 TNG V12.0.1 EN
Our Acadian Family Randal Suire Great Addon Rick-Install/Uninstall V12 TNG V12.0.1 EN