Balanced Media
Downloads of Balanced Media 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 | ||
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 |
Balanced Media | |||||||||
---|---|---|---|---|---|---|---|---|---|
Summary | Balance both sides of the Media view of the Ancestors tab | ||||||||
Validation | The mod is XHTML compliant. | ||||||||
Mod Updated | 7 Jul 2021 | ||||||||
Download link | For
For
for
| ||||||||
Download stats | Currnet download statistics Previous download statistics | ||||||||
Author(s) | Bart 'Roebie' Degryse Current support by Ken Roy | ||||||||
Homepage | Balanced Media | ||||||||
Mod Support | TNG Community Forums | ||||||||
Contact Developer | TNG Community Forums | ||||||||
Latest Mod | 13.0.0.3a for TNG v13+ 12.0.0.2 for TNG v12+ 11.0.0.0 for TNG v11+ 10.1.0.2 for TNG v10.1+ 9.0.0.1 for TNG v9.0.0 - v9.0.2 9.0.3.1 for TNG v9.0.3 | ||||||||
Min TNG V | 9.0.0 | ||||||||
Max TNG V | 14+ | ||||||||
Files modified | extrastree.php | ||||||||
Related Mods | |||||||||
Notes |
Purpose of the mod
This TNG modification adds placeholders for the missing people in the Media view of the Ancestors tab balancing both sides. Additionally it will add ancestor chart numbering just as on the Ahnentafel view and the Text view.
Developer
This mod was developed by Bart 'Roebie' Degryse. Current support by Ken Roy.
Idea and initial proof of concept by Doug Couch
Updated for TNG 10.1 and TNG V11 by Ken Roy
Updated for TNG 12 by Ken Roy and Michel Kirsch to eliminate conflict with the Sosa mod
Requirements
- A working TNG installation.
- A backup of all affected files (see the list in the summary to the right)
- An installed current version of the Mod Manager.
Revision History
Mod Version | TNG Version | Date | Contents |
---|---|---|---|
13.0.0.3a | 13.0 | 07 Jul 2021 | Updated by Ken Roy and Brent Hemphill to fix CSS definitions |
13.0.0.3 | 13.0 | 05 Sep 2020 | Updated by Ken Roy and Ron Krzmarzick for TNG 13. |
12.0.0.2 | 12.0 | 26 Jul 2019 | Updated by Ken Roy and Michel Kirsch to eliminate the conflict with Michel's Sosa mod. Some of the table ID style was also moved to genstyle.css to facilitate incorporating into TNG. |
11.0.0.0 | 11.0 | 07 Mar 2016 | Updated by Ken Roy for TNG 11 |
10.1.0.2 | 10.1 | 10 Jan 2014 | Updated by Ken Roy for TNG 10.1 MySQLi changes and new Mod Manager Syntax rules |
9.0.3.1 | 9.0.3 | 02 Jul 2012 | PHP short tags replaces by full tags |
9.0.0.1 | 9.0 | 02 Jul 2012 | PHP short tags replaces by full tags |
9.0.3.0 | 9.0.3 | 29 Jun 2012 | Initial config file release for TNG 9.0.3 |
9.0.0.0 | 9.0 | 29 Jun 2012 | Initial config file release for TNG 9.0.0 |
Conflicts and Issues
No known conflicts.
Installation
- Uninstall and delete previous version of this mod (if installed)
- Download the appropriate zip file as shown in the mod summary in the upper right corner of the page.
- Extract the file from the downloaded zip file into the mods folder or FTP the extracted file to your mods folder.
- Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files to install the mod.
In the event of a problem
- Try using the Mod Manager Remove capability.
- Copy the backup of the affected files back to your TNG directory.
- Retry installing mod.
- Contact us through the TNG Community Forums.
Uninstalling the mod
If you want to completely Remove (uninstall) this mod and any tables if created, you should
- click the Uninstall button to uninstall the mod
- click the Delete button to delete the config file from the mods folder.
Upgrade
- Uninstall and eventually Delete the current Mod.
- Proceed as for an installation with the new Mod.
Feature List
All versions of this mod do two things:
- Add placeholders for the missing people in the Media view of the Ancestors tab. The result is that both sides get balanced.
- Add ancestor chart numbering. These numbers are already on the Ahnentafel view and the Text view and this mod adds them to the Media view too.
The 9.0.0.0 version of this mod also
- fixes one of the inconsistencies regarding how living, private and LDS information are handled that were fixed in TNG v9.0.3 (see issue 20 in the v9.0.3 change history)
What this mod does NOT do is
- styling the new balanced Media view (see the next paragraph for more)
Styling the balanced Media view
The main thing to keep in mind is that this mod only structures the data in a table. It does nothing to style the display. At least nothing more than the default extrastree.php does. The classes that were in the default are still available after installing this mod. I have however added a whole bunch of classes (+ an id for the table itself), so it should be possible to style whatever part of the table to your liking by adding some css to the mytngstyle.css file of your template.
Here's a list of all classes I've added:
- bmm_table: this is not a class but an id for the table.
- bmm_left: the left part of the table, eg De Wilde side in my screenshots (columns 1 and 2)
- bmm_right: obvious
- bmm_number: the columns with the "ancestor chart number" (columns 1 and 3)
- bmm_name: the columns with the names of the ancestors (columns 2 and 4)
- bmm_title: the row with "Media: Family of..."
- bmm_legend: the row with the camera image and the text "At least one photo, history or other media item exists for this individual"
- bmm_side: the row with the text "De Wilde side" and "Degryse side" in my screenshots
- bmm_genheader: each row with a generation name (parents, grandparents, ...)
- bmm_gendata: each row with two ancestor chart numbers and two ancestor names on it ("2. De Wilde, Geert and 3. Degryse, Tina")
- bmm_lastrow: the last bmm_gendata row within each generation also gets this class
Note that some cells in the table thus have two classes: eg. each ancestor chart number cell has the class bmm_number but also bmm_left or bmm_right. The same goes for the cells with ancestor names in it.
There are also some structural elements available:
- colgroup + col: the table structure is predefined with the colgroup and col html tags. The first colgroup also has class bmm_left, the second bmm_right, the first col in each colgroup also has class bmm_number, the second bmm_name.
- thead: the first three rows in the table (the ones with classes bmm_title, bmm_legend and bmm_side) are grouped in the thead html tag.
- tbody: each generation (that is one row with class bmm_genheader and one or more rows with bmm_gendata) is grouped in the tbody html tag (eg 1 bmm_genheader row + 4 bmm_gendata rows for great grandparents)
Visualization
The following screen captures show the changes made by the mod and shows some examples of styling for this mod. The examples have only been tested with template 3, but should work with other templates without much changing. Especially the colors would need changing!
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 | |
---|---|---|---|---|---|---|
Bart 'Roebie' Degryse | Mod developer | 9.0.3.0 | 9.0.3 | NL,EN,ES,FR | ||
Treichel-Familie.de | Andreas Treichel | Public & Private | 13.0.0.3a |
|
DE,EN,FR,ES,PL | |
Roger's Ramblings | Roger Moffat | Changed css for my colours and centred the table on the page | 10.1.0.2 | 10.1.0 | EN | |
Our Acadian, French-Canadian, and Maine Ancestors | Ken Roy | Now support the mod developed by Bart 'Roebie' Degryse | 13.0.0.3a |
|
EN,FR | |
R G Strong Family Genealogy | Russell G. Strong | 13.0.0.3a | 14.0.4 | EN,DE,FR,NL | ||
Mitchell Families Online | Roger Mitchell | Formatted to suit my site | 9.0.3.1 | 10.0.0.0 | EN | |
Roots & Relatives Remembered | Ron Krzmarzick | Public & Private, modified | See here | See here | EN,DE,CS | |
R G Strong Family Genealogy | Russell Strong | Public Site | 13.0.0.3a | 14.0.3 | EN,FR,DE,NL | |
Avery Genealogy | Jim Kratoville | 11.0.0.0 | 11.0.2 | EN | ||
OurLife Family History - McMullen Clan | Sean Thompson | Not a public site. | 11.0.0.0 | 11.1.0 | EN | |
The Larlee Genealogy | Heather Feuerhelm | 11.0.0.0 | 11.1.0 | EN | ||
Bumbery-Wangler | Bob Bumbery | Public/Private site | 13.0.0.3 | 13.0.0 | EN | |
Racine d'Alsace | J-Louis Valory | Public/Private - T17 customized | 11.0.0.0 | 12.0.2 | FR | |
Our Family Histories | Bryan S. Larson | Public - T8 customized | see here | see here | EN | |
Racines Luxo-hennuyères | Michel Kirsch | Public site (registration) | 13.0.0.2 | 13.0.3 | FR,EN,DE,NL | |
Huygens - Van de Moortel | Tom Huygens | Public/Private on WordPress | 13.0.0.3a | 13.1.2 | NL | |
Your Roots are Showing | Harold Craswell | Public / Private | See Here | See Here | EN | |
Les Lapierre d'Amérique | Normand Lapierre | Public/Private site | 13.0.0.3a | 14.0 | FR,EN | |
Solem Genealogy | Jan-Thore Solem | Private | 13.0.0.3a | 14.0.2 | EN,NO |