Image Map Message Mod
From TNG Wiki
| Image Map Message Mod | |
|---|---|
| Summary | Changes the message for image maps that are not for photos |
| Download link | media-5_image_map_msg_v8.1.0.zip for TNG V8 media-5_image_map_message_v1.0.zip for TNG V7 |
| Author(s) | Ken Roy |
| Homepage | Image Map Message Mod (This page) |
| Mod Support | TNG Forums |
| Latest Mod | 8.1.0 for TNG V8 1.0 for TNG V7 |
| Min TNG V | 7.0.0 |
| Max TNG V | 8.0.0 |
| Files modified | See TNG Modules Involved |
| Related Mods | Media - 1 - Image Viewer Mod (for TNG V7 only) Media - 2 - ShowTable Mod Media - 3 - Body Text for Translation Media - 4 - Tooltip Mod |
| Notes | |
|
Purpose of the mod
This mod was designed to display a different message for image maps that are not photos.
This mod applies to TNG 7.0 and above.
Developer
Ken Roy developed this mod.
Advantages
This mod displays a different message if the image map is not for a photo, since clicking on the image may not display a person page.
Requirements
- Backups of the TNG Modules Involved
- An installed current version of the Mod Manager.
Automated Install
- Download the appropriate distribution for your TNG version from the download links in the status area in the upper right.
- Extract the media-5_image_map_msg.zip to your admin/mod_folder (V7) or mods (v8).
- Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files to install the media-5_image_map_msg.cfg.
Note that the media-5_image_map_message_v1.0.cfg file is part of a series of media display mods where the n in media-n designates the install order of the mods. If you use any of the other mods, they must be installed before this mod.
Note that config file only includes the English language changes, so if you support multiple languages you will need to modify the config file to add the custom text for those other languages.
You will need to make adjustments to the the $mediatypeID for the media collections where you are using image maps which are not photos where you create a link to the person.
Custom Text
English language
The following variable should be added to your English/cust_text.php
$text['mediamytext'] = "<strong>Note:</strong> Move your mouse pointer over the image to show additional information.";
French language
The following variable should be added to your French/cust_text.php
$text['mediamytext'] = "<strong>Notez:</strong> Déplacez votre pointeur de souris au-dessus de l'image pour exposer d'autres informations.";
Visual of Mod
You can view the different message displayed for the image map by looking at my Uncle Bern's Military Ribbons media record, which displays the messages as "Move your mouse pointer over the image to show additional information".
Related Mods
This mod was designed to work with the
The following Media mods may be related. The number indicates the install order if you install more than one of these mods:
- Media - 1 - Image Viewer Mod
- Media - 2 - ShowTable Mod
- Media - 3 - Body Text for Translation
- Media - 4 - Tooltip Mod
- Media - 5 - Image Map Message Mod
TNG Modules Involved
In TNG V8, the following modules are updated:
- showmedialib.php
- languages/English/cust_text.php
- languages/English-UTF8/cust_text.php
and the following modules is added:
- extensions/imagemapmsg.php
In TNG V7, the following modules are updated:
- showmedialib.php
- English/cust_text.php
and the following modules is added:
- extensions/imagemapmsg.php
