Add Cloud of Names
|Downloads of Add Cloud of Names 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|
|Cloud of Names|
|Summary||Insert a cloud of names on your homepage.|
|Mod Updated||04 dec 2019|
|Download stats||Show statistics|
|Mod Support||TNG Community Forums|
|Latest Mod||126.96.36.199 for TNG v12|
|Min TNG V||n.c|
|Max TNG V||12+|
Purpose of the Mod
This mod installs a name cloud on your current home page.
Modify the number of names to display, change the colors, exclude some names, everything is easily configurable thanks to the Easy Edit function.
Want to change your template? uninstall the mod, change the template, reinstall the mod. That's all.
Users of templates 12 and 16 who already have their own surnames cloud will read carefully
the recommendations below before installing! Thank you.
PS: As there were many files to modify and test, it is likely that I could have done better for some templates!
Feel free to send me your comments or changes that you yourself have brought to the code of your template ! Thanks again !
Written by : [MichelKirsch] de Charleroi - Hainaut - Belgium
A TNG v 12.0.2 installation in working order.
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)
The file templates/templateXX/index.php (where XX is the number of the template you actually use) will be modified too.
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.
- Via Mod Manager, install the Mod.
- Uninstall and eventually Delete the current Mod.
- Proceed as for an installation with the new Mod
Use with templates 12 and 16.
This mod replaces the name cloud code in these two templates. To make sure that the installation is going well,
it is imperative that your index.php file (in templates/template12 or template16) has not been modified by you.
For example, you may have changed the number of names to be displayed in the template. These two files must have their original form
to make the installation run smoothly. Here is the original code of the two files for the "name cloud" part:
templates/template12/index.php (near line 64 and next)
<!-- Surname Cloud --> <br /> <div> <?php $nc = new surname_cloud(); $nc->display(100); ?> </div>
templates/template16/index.php (near line 209 and next)
<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>
template 12 users will also take care to modify their surnames cloud title via the menus
[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
|V188.8.131.52||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:
If you have any problem to do it, send me a mail...
Template 14 without surnames cloud.
Idem with the surnames cloud.
Access the Easy Edit facility via the button in the Mod Manager.
The Easy Edit file with the help file.