Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Changes

Jump to: navigation, search

Add Cloud of Names

5,650 bytes added, 13:09, 4 December 2019
Created page with "{{restricted}} {{Languages|Add Cloud of Names}} {{TNGmod | mod_name = Cloud of Names | mod_summary = Insert a cloud of names on your homepage. | mod_validation =..."
{{restricted}}
{{Languages|Add Cloud of Names}}
{{TNGmod
| mod_name = Cloud of Names
| mod_summary = Insert a cloud of names on your homepage.
| mod_validation =
| mod_last_update = 04 dec 2019
| download_link = for {{Tv120}}<br/> [http://compteur.mkirsch.be/compte.php?id=20&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} add_cousins_button_v12.0.2.1]
| download_stats = [http://compteur.mkirsch.be/collect.php?action=collect Show statistics]
| mod_author = [[User:MichelKirsch|Michel Kirsch]]
| mod_url = [http://genealogie.mkirsch.be/ Racines luxo-hennuyeres]
| mod_support = [http://tng.community/ TNG Community Forums]
| mod_contact = [[Image:Image mail.png|MyMail]]
| mod_version = 12.0.2.1 for TNG v12
| min_TNG_ver = n.c
| max_TNG_ver = 12+
| TNG_file_list = admin_users.php
| related_mods =
| notes =
}}

{| style="margin-right:0.5 em;" align="right"
| __TOC__
|}

<br>
== Purpose of the Mod ==
This mod installs a name cloud on your current home page. <br />
Modify the number of names to display, change the colors, exclude some names, everything is easily configurable thanks to the Easy Edit function. <br />
Want to change your template? uninstall the mod, change the template, reinstall the mod. That's all. <br>
Users of '''templates 12 and 16''' who already have their own surnames cloud will read carefully <br />
the recommendations below before installing! Thank you. <br />
PS: As there were many files to modify and test, it is likely that I could have done better for some templates!<br />
'''Feel free to send me your comments or changes''' that you yourself have brought to the code of your template !''' Thanks again !

== Development ==
Written by : [[https://tng.community/index.php?/profile/12528-michel-kirsch/ MichelKirsch]] de Charleroi - Hainaut - Belgium

== Requirements ==
A '''TNG v 12.0.2''' installation in working order.<br>
For '''templates 12 and 16''', the code of the index.php files restored to their original state.

== IMPORTANT : Before installing ==
Before installing, it is judicious to make a backup copy of the the '''surname_cloud.class.php''' file (It will be modified by this mod)<br />
The file '''templates/templateXX/index.php''' (where XX is the number of the template you actually use) will be modified too.<br />
The mod only modify ONE index.php file at a time!

== INSTALLATION ==

*Unzip the received file directly in the "mods" sub directory of your TNG installation.<br>
*Via Mod Manager, install the Mod.<br>

== Upgrade ==
*Uninstall and eventually Delete the current Mod.
*Proceed as for an installation with the new Mod

== Known Problems ==
Use with '''templates 12 and 16'''.<br />
This mod replaces the name cloud code in these two templates. To make sure that the installation is going well, <br />
it is '''imperative''' that your index.php file (in templates/template12 or template16) has not been modified by you. <br />
For example, you may have changed the number of names to be displayed in the template. These two files must have their original form<br />
to make the installation run smoothly. Here is the original code of the two files for the "name cloud" part: <br />
templates/'''template12'''/index.php (near line 64 and next)
<syntaxhighlight lang="php" enclose="div">
<!-- Surname Cloud -->
<br />
<div>
<?php
$nc = new surname_cloud();
$nc->display(100);
?>
</div>

</syntaxhighlight>
templates/'''template16'''/index.php (near line 209 and next)
<syntaxhighlight lang="php" enclose="div">
<div class="tblock">
<h2><?php echo $text['surnames'] . " | <a href=\"$surnames_url\">" . $text['more'] . "</a>"; ?></h3>
<?php
$nc = new surname_cloud();
$nc->display(100);
?>
</div>
</syntaxhighlight>

'''template 12''' users will also take care to modify their surnames cloud title via the menus<br />
[Administration/Configurations/Configuration of template/First surnames] so that it "matches" the number of names displayed by the cloud...

== In the event of a problem ==

*Try using the Mod Manager Remove capability
* '''Templates 12 and 16''' : Make sure your index.php files are restored to their original state
*Open an issue in the [[http://tng.community/ forums]], or on [[https://tng.community/index.php?/profile/12528-michel-kirsch/ my page]]. At worst, send me an email....
*Copy the backup of the affected files back to your TNG directory

== Historic of modifications ==

{| border="1" cellspacing="5" cellpadding="2" width="100%" class="wikitable"
|-
! Version
! Release&nbsp;Date
! Contents
|-
| V12.0.2.1
| 04 dec 2019
| First online version.
|}

== Sites using this mod ==
If you download and install this mod, please add your TNG site to the table below: <br>
If you have any problem to do it, send me a mail...

{| border="0" cellspacing="1" cellpadding="2" class="wikitable"
|-
! URL
! User
! Note
! Mod-Version
! TNG-Version
! User-language
|-
| [http://genealogie.mkirsch.be Racines luxo-hennuyeres]
| [[User:MichelKirsch|Michel Kirsch]]
| Developper of the Mod
| 12.0.2.1
| 12.0.2
| FR/EN/NL/D/SP
|}

== Screenshots ==
'''the template 14 without surnames cloud.'''<br>

[[Image:AddCloud01.JPG|Without cloud]]

'''Idem with the surnames cloud.'''

[[Image:AddCloud02.JPG|With Cloud]]

'''Access the Easy Edit facility via the button in the Mod Manager.'''<br>

[[Image:AddCloud03.JPG|Easy Edit button]]

'''Teh Easy Edi file with his help file.'''

[[Image:AddCloud04.JPG|Easy Edit and help]]

[[Category:Mods for TNG v12]]
664
edits

Navigation menu