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


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 =..."
{{Languages|Add Cloud of Names}}
| 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/> [{{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} add_cousins_button_v12.0.2.1]
| download_stats = [ Show statistics]
| mod_author = [[User:MichelKirsch|Michel Kirsch]]
| mod_url = [ Racines luxo-hennuyeres]
| mod_support = [ TNG Community Forums]
| mod_contact = [[Image:Image mail.png|MyMail]]
| mod_version = 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__

== 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 : [[ 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!


*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 />
$nc = new surname_cloud();

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>
$nc = new surname_cloud();

'''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 [[ forums]], or on [[ 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"
! User
! Note
! Mod-Version
! TNG-Version
! User-language
| [ Racines luxo-hennuyeres]
| [[User:MichelKirsch|Michel Kirsch]]
| Developper of the Mod
| 12.0.2

== 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]]

Navigation menu