Difference between revisions of "Winter"

From TNG_Wiki
Jump to navigation Jump to search
(26 intermediate revisions by 2 users not shown)
Line 14: Line 14:
 
''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 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.'''''
+
'''''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.
 
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.
Line 28: Line 28:
 
| mod_validation =  
 
| mod_validation =  
 
| download_link =  
 
| download_link =  
<div style="display:inline-block;width:95%;">[https://bisbeefamily.com/ccount/click.php?id=150&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}}      version 10.0.0.0.zip]<div style="float:right;">{{Tver|ver=10-11|bgcolor=#BDEEFF|color=#000000|float=left}}</div></div>
 
<!--https://tng.lythgoes.net/wiki/images/c/c4/Template90_v10.0.0.0.zip-->
 
 
 
<div style="display:inline-block;width:95%;">[https://bisbeefamily.com/ccount/click.php?id=149&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}}      version 12.0.0.1.zip]<div style="float:right;">{{Tver|ver=12|bgcolor=#0054A6|color=#ffffff|float=left}}</div></div>
 
<div style="display:inline-block;width:95%;">[https://bisbeefamily.com/ccount/click.php?id=149&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}}      version 12.0.0.1.zip]<div style="float:right;">{{Tver|ver=12|bgcolor=#0054A6|color=#ffffff|float=left}}</div></div>
 
<!--https://tng.lythgoes.net/wiki/images/b/ba/Template90_v12.0.0.1.zip-->
 
<!--https://tng.lythgoes.net/wiki/images/b/ba/Template90_v12.0.0.1.zip-->
 +
 +
<div style="display:inline-block;width:95%;">[https://bisbeefamily.com/ccount/click.php?id=151&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}}      version 10.0.0.2.zip]<div style="float:right;">{{Tver|ver=10-11|bgcolor=#BDEEFF|color=#000000|float=left}}</div></div>
 +
<!--https://tng.lythgoes.net/wiki/images/a/af/Template90_v10.0.0.2.zip-->
  
 
| download_stats =
 
| download_stats =
[https://bisbeefamily.com/ccount/index.php?action=stats&id=114-149-150 View Stats]
+
[https://bisbeefamily.com/ccount/index.php?action=stats&id=114-149-150-151 View Stats]
 
| mod_author = [[User:Kazooter|Rick Bisbee]]
 
| mod_author = [[User:Kazooter|Rick Bisbee]]
 
| mod_url =  
 
| mod_url =  
 
| mod_support = [https://bisbeefamily.com/support.php?mod={{PAGENAMEE}} Support for {{PAGENAMEE}}]
 
| mod_support = [https://bisbeefamily.com/support.php?mod={{PAGENAMEE}} Support for {{PAGENAMEE}}]
| mod_version = v1.0/A15.10.02.140322
+
| mod_version = v10.0.0.2 & v12.0.0.1
 +
| mod_last_update = 17 Aug 2018
 
| mod_contact = As above
 
| mod_contact = As above
 
| use_mod_manager = No
 
| use_mod_manager = No
 
| manual_install = Yes
 
| manual_install = Yes
| min_TNG_ver = 9.0
+
| min_TNG_ver = 10.0
| max_TNG_ver = 11.0.1
+
| max_TNG_ver = 12.0+
 
| TNG_file_list = none
 
| TNG_file_list = none
 
| related_mods =
 
| related_mods =
 
| notes =
 
| notes =
 
}}
 
}}
 +
<ol type="1" start=1>
 +
<li>Download the correct package for your version of TNG at the right.</li>
 +
<li>Unzip and drop the template90 folder into your website's templates directory.</li>
 +
<li>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.
 +
<p>''localhost/templates/templage90''</p>
 +
<p>''localhost/t1201/templates90''</p>
 +
<p>''mysite.com/templates/template90''</p>
 +
<p>''mysite.com/genealogy/templates/template90''</p></li>
 +
<ul>
 +
<li>For Template90_v12+ follow the browser's on-screen instructions to add it to the database.</li>
 +
<li>Template90_v10+ 10+ will install automatically, updating the templateconfig.php file.</li>
 +
</ul>
 +
<li>After installation, go to the TNG Admin Setup page and under Template Settings select template90. Then:</li>
 +
<ol type="1" start=1>
 +
<li>Set the website title
 +
<li>Set the site's main photo (if you want to change it).</li>
 +
<li>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.
 +
<li>Save the settings.</li>
 +
</ol>
 +
</ol>
  
Download the correct package for your version of TNG at the right, unzip and drop the template90 folder into your templates directory and navigate to it with your browser. In TNGv12 follow the on-screen instructions. The previous version will install automatically when you navigate to the folder. After installation, go to the TNG Admin Setup page and under Template settings, select template90, set the website title and the site's main photo (see choices below), and save it. In version 12 you can also enter a Welcome or Description message for display on the main page instead of the long list of links.  Links are still available from the drop down menus.  
+
'''''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.''
  
Prior to version 12 there is no uninstaller. To uninstall it, delete template90 from your templates directory and remove the t90 entries from your '''templateconfig.php''' file.
+
== Removal ==
  
To uninstall version 12 and above, navigate to the template90 folder (just as you did to install it) and follow the on-screen instructions. Be sure to select a different template for your site from the Admin Setup area first.
+
=== 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.
  
''This template 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 it.''
+
=== 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 folderBe sure to select a different template for your site from the Admin Setup area first.
  
 
== Bot-Trap ==
 
== Bot-Trap ==
Line 67: Line 90:
 
! Ver !! 900 all !! all 1000 !! 1100 all !! 1200 all
 
! Ver !! 900 all !! all 1000 !! 1100 all !! 1200 all
 
|-  
 
|-  
| 1.0
+
| 10.0.0.0
 
| style="background-color:green;" |
 
| style="background-color:green;" |
 
| style="background-color:green;" |
 
| style="background-color:green;" |
Line 90: Line 113:
 
{| class="wikitable sortable" style="width:720px;"
 
{| class="wikitable sortable" style="width:720px;"
 
|-
 
|-
! scope="col" width="110" |Version !! Date !! Updates
+
! scope="col" width="110" |Version 12 !! Date !! Updates
|- valign="top"
 
| align="center"|10.0.0.0 || 15&nbsp;Aug&nbsp;2018 ||
 
* adds check for file permissions -- alerts if cannot write
 
* updates text-to-image processing to work with PHP 7.2
 
 
|- valign="top"
 
|- valign="top"
 
| align="center"|12.0.0.1 || 15&nbsp;Aug&nbsp;2018 ||
 
| align="center"|12.0.0.1 || 15&nbsp;Aug&nbsp;2018 ||
 
* Minor update to elements and colors.
 
* Minor update to elements and colors.
 
* Revised for TNGv12 template table vice configuration file.
 
* 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.
 
* Fixed to work with PHP 5.6 and PHP 7.2.
 
* Simplifies Installation.
 
* Simplifies Installation.
Line 104: Line 124:
 
|}
 
|}
  
==Home Page (v12)==
+
{| class="wikitable sortable" style="width:720px;"
 +
|-
 +
! scope="col" width="110" |Version 10 !! Date !! Updates
 +
|- valign="top"
 +
| align="center"|10.0.0.2 || 17&nbsp;Aug&nbsp;2018 ||
 +
* Fixed to work with TNG Template Settings for language support (Site title)
 +
 
 +
|- valign="top"
 +
| align="center"|10.0.0.0 || 15&nbsp;Aug&nbsp;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)===
  
 
[[file:Winter.jpg|frame|left|Winter Template Home Page]]
 
[[file:Winter.jpg|frame|left|Winter Template Home Page]]
 
<br clear='both'>
 
<br clear='both'>
  
==Secondary Pages (v12)==
+
===Secondary Pages (v12)===
  
 
[[file:Winter2.jpg|frame|left|Winter Template Secondary Pages]]
 
[[file:Winter2.jpg|frame|left|Winter Template Secondary Pages]]
 
<br clear='both'>
 
<br clear='both'>
  
==Admin Pages (v12)==
+
===Admin Pages (v12)===
  
 
[[file:Winter3.jpg|frame|left|Winter Template Admin Page]]
 
[[file:Winter3.jpg|frame|left|Winter Template Admin Page]]
 
<br clear='both'>
 
<br clear='both'>
  
==Winter Template Setup (v12)==
+
===Winter Template Setup (v12)===
  
 
[[file:Winter4.jpg|frame|left|Winter Template Setup Page]]
 
[[file:Winter4.jpg|frame|left|Winter Template Setup Page]]
Line 131: Line 166:
 
[[file:Sitephoto1.jpg|frame|left|sitephoto1.jpg]]
 
[[file:Sitephoto1.jpg|frame|left|sitephoto1.jpg]]
 
[[file:Sitephoto2.jpg|frame|left|sitephoto2.jpg]]
 
[[file:Sitephoto2.jpg|frame|left|sitephoto2.jpg]]
 +
<br clear='both'>
 +
== Sites using this mod ==
 +
If you download and install this mod, please add your TNG site to the table below:
 +
 +
{| border="0" cellspacing="1" cellpadding="2" class="wikitable"
 +
|-
 +
! URL
 +
! User
 +
! Note
 +
! Mod-Version
 +
! TNG-Version
 +
! User-language
 +
|-
 +
| [http://www.bisbeefamily.com/ Bisbee Family Connection]
 +
| [[User:Kazooter|Rick Bisbee]]
 +
| Mod Developer
 +
| V12
 +
| TNG V12.0.1
 +
| EN
 +
|-
 +
| [https://test12.acadianfamily.com/ Our Acadian Family]
 +
| [[User:Randal Suire|Randal Suire]]
 +
| Great Addon Rick-Install/Uninstall
 +
| V12
 +
| TNG V12.0.1
 +
| EN
 +
|}
  
 
[[Category:Themes]]
 
[[Category:Themes]]
 +
[[Category:Mods for TNG v12]]
 +
[[Category:Mods for TNG v11]]
 +
[[Category:Mods for TNG v10]]

Revision as of 05:38, 18 September 2018

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
Caution If you have trouble downloading with Google Chrome, Vivaldi, Brave or other Chromium based browser, try using a right-click and select Open in new Window, then F5, or use another browser such as Firefox


Caution


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