Difference between revisions of "Winter"

From TNG_Wiki
Jump to: navigation, search
(Created page with "==Template 90== Winter ''Winter'' is a minimalist template for TNG that is suitable for TNG test sites or even for a live site where the user w...")
 
 
(88 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Template 90==
+
{{restricted}}
 +
{{TNGver
 +
|ver=100120
 +
|notes=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.
 +
}}
  
[[file:Preview1.jpg|frame|left|Winter]]
+
{| style="float:right;"
 +
| __TOC__
 +
|}
  
''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 with easy-to-use links to every part of the website. It is fully integrated into TNG's template setup screen.
+
== Template 90 ==
 +
[[File:preview1.jpg|left]]
  
As the name suggests, the home page uses only white, gray and black. Other more colorful "seasons" using the same or similar structures can be easily created.
+
''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.
+
'''''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 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.
  
''Winter'' is self installing.  Unzip and Drop the template90 folder into your templates directory and navigate to it with your browser. In just a second or two you will be returned to your home page and the template will be installed in TNG.  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. The is no uninstaller.  To uninstall it, delete template90 from your templates directory and remove the t90 entries from your templateconfig.php.
+
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.
  
''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.
+
<br clear='both'>
  
{| style="float:left;"
+
== Installation ==
| __TOC__
+
{{TNGmod
|}
 
{{TNGmod |style="float:right;"
 
 
| mod_name = ''Winter''
 
| mod_name = ''Winter''
 
| mod_summary = Minimalist TNG Template.
 
| mod_summary = Minimalist TNG Template.
 
| mod_validation =  
 
| mod_validation =  
 
| download_link =  
 
| download_link =  
<div style="display:inline-block;width:95%;">[http://ccount.bisbeefamily.com/click.php?id=      version 1.0.zip]<div style="float:right;"></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>
<!--http://tng.lythgoes.net/wiki/images/7/75/Fgw_v10.1.1.27.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 =
[http://ccount.bisbeefamily.com/index.php?action=stats&id= 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 = [http://www.bisbeefamily.com/mod_support.php Support for Winter Theme]
+
| mod_support = [https://bisbeefamily.com/support.php?mod={{PAGENAMEE}} Support for {{PAGENAMEE}}]
| mod_version = v1.0
+
| mod_version = v10.0.0.2 & v12.0.0.1
| mod_contact = [http://www.bisbeefamily.com/mod_support.php Rick Bisbee]
+
| mod_last_update = 17 Aug 2018
 +
| 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 = 10.1.2
+
| max_TNG_ver = 12.0+
 
| TNG_file_list = none
 
| TNG_file_list = none
 
| related_mods =
 
| related_mods =
 
| notes =
 
| notes =
 
}}
 
}}
<br style="clear:both"/>
+
<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>
 +
 
 +
'''''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 ==  
 
== Compatibility ==  
Line 46: Line 88:
 
{| class="wikitable"
 
{| class="wikitable"
 
|+ This Theme Was Tested With TNG Versions
 
|+ This Theme Was Tested With TNG Versions
! Ver !! 900 !! 910 !! 922 !! 1000 !! 1001 !! 1002 !! 1003 !! 1010 !! 1011 !! 1012
+
! 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;" |
 
| style="background-color:green;" |
 
| style="background-color:green;" |
 
 
| style="background-color:green;" |
 
| style="background-color:green;" |
 
| style="background-color:green;" |
 
| style="background-color:green;" |
 
| style="background-color:green;" |
 
| style="background-color:green;" |
 +
| style="background-color:red;" |
 +
|-
 +
| 12.0.0.1
 +
| style="background-color:red;" |
 +
| style="background-color:red;" |
 +
| style="background-color:red;" |
 
| style="background-color:green;" |
 
| style="background-color:green;" |
 
|}
 
|}
Line 63: Line 105:
 
<nowiki>*</nowiki><small>green: compatible&nbsp;&nbsp;&nbsp;red: not compatible&nbsp;&nbsp;&nbsp;white: not tested</small>
 
<nowiki>*</nowiki><small>green: compatible&nbsp;&nbsp;&nbsp;red: not compatible&nbsp;&nbsp;&nbsp;white: not tested</small>
  
Above were tested with PHP 5.3.9 using MySQL 5.5.44.
+
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==
 +
 
 +
{| class="wikitable sortable" style="width:720px;"
 +
|-
 +
! scope="col" width="110" |Version 12 !! Date !! Updates
 +
|- valign="top"
 +
| align="center"|12.0.0.1 || 15&nbsp;Aug&nbsp;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.
 +
|}
 +
 
 +
{| 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)
  
==Screen Shots==
+
|- 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
  
===Home Page===
+
|}
  
[[file:winter.jpg|frame|left|Winter Template Home Page]]
+
==Winter Template Screen Shots==
 +
===Home Page (v12)===
  
===Secondary Pages===
+
[[file:Winter.jpg|frame|left|Winter Template Home Page]]
 +
<br clear='both'>
  
[[file:winter2.jpg|frame|left|Winter Template Secondary Pages]]
+
===Secondary Pages (v12)===
  
===Admin Pages===
+
[[file:Winter2.jpg|frame|left|Winter Template Secondary Pages]]
 +
<br clear='both'>
  
[[file:winter3.jpg|frame|left|Winter Template Admin Page]]
+
===Admin Pages (v12)===
  
===Winter Template Setup===
+
[[file:Winter3.jpg|frame|left|Winter Template Admin Page]]
 +
<br clear='both'>
  
[[file:winter4.jpg|frame|left|Winter Template Setup Page]]
+
===Winter Template Setup (v12)===
  
===Winter Main Photo Selection===
+
[[file:Winter4.jpg|frame|left|Winter Template Setup Page]]
 +
<br clear='both'>
  
Use one of these or provide your own!
+
==Winter Template Main Photo Selection==
  
[[file:sitephoto.jpg|frame|left|sitephoto.jpg]]
+
Use one of these old photos or provide your own!
[[file:sitephoto1.jpg|frame|left|sitephoto1.jpg]]
+
 
[[file:sitephoto2.jpg|frame|left|sitephoto2.jpg]]
+
[[file:Sitephoto.jpg|frame|left|sitephoto.jpg]]
 +
[[file:Sitephoto1.jpg|frame|left|sitephoto1.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
 +
|-
 +
| [https://thebrownfamilytree.info/ The Brown Family Tree]
 +
| [[User:Slowjim|James Brown]]
 +
| Public site
 +
| V12.0.0.1
 +
| TNG V12.2
 +
| EN
 +
|}
  
 
[[Category:Themes]]
 
[[Category:Themes]]
[[Category:Templates]]
+
[[Category:Mods for TNG v12]]
 +
[[Category:Mods for TNG v11]]
 +
[[Category:Mods for TNG v10]]

Latest revision as of 05:46, 22 November 2019

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
The Brown Family Tree James Brown Public site V12.0.0.1 TNG V12.2 EN