Open My Page

From TNG_Wiki
Revision as of 17:53, 13 August 2015 by Janbastiaanssen (talk | contribs)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Open My Page
Summary Adds an Info-menu selection: My Page
Validation
Mod Updated {{{mod_last_update}}}
Download link for
TNG 10.0
Open My Page mod v10.0.0.1
Download stats Open My Page mod v10.x
Author(s) Erik Hoppe
Homepage Open My Page (this page)
Mod Support My Mod Support
Contact Developer My Mod Support
Latest Mod 10.0.0.1
Min TNG V 10.0.0
Max TNG V 10.1.2
Files modified
Related Mods
Notes
Author of TNG Colouring Book
Mods by me: At my user page.


Purpose of the mod

One more that my users asked for:
If the logged in user is also registered in the database (i.e. has an individual-ID), the Info-menu will have a selection at the bottom: My Page.
Selecting it will open the user's getperson.php.


Developer

This mod was developed by Erik Hoppe.
See all my mods at my Wiki user page.


Requirements

TNG version: 10.0
  • A working TNG installation.
  • A backup of all affected files (see the list below)
  • An installed current version of the Mod Manager (is already included in TNG v10)


Installation

  1. Click on the download link, shown in the summary in the upper right corner of the page.
  2. Un-zip the file and move/copy/FTP the .cfg file to the mods folder of your TNG system.
  3. 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


Custom Text Additions

The config file includes the English language custom text.
There are German and Swedish translations if they are present in your TNG system.
For other languages you can modify the config file to add the custom text or manually add to whatever language you like.

(English custom text for reference)


$text['xerxxMyPage'] = "My Page";


Uninstalling the mod

If you want to completely Remove (uninstall) this mod and all its tables, you should

  1. click the Remove button to uninstall the mod and then
  2. click the Delete button to delete the config file from the mods folder.


Revision History

Version Date Description
v10.0.0.1 10 Aug 2015 Did not work properly in some situations/templates. Solved.
v10.0.0.0 9 Aug 2015 Introduction.


Visualization of this mod

The bottom of the Info menu when the logged in user is also registered:
Openmypageimg1.png


Sites using this mod

As the selection is only visible for logged in users, I can't show anything but the screenshot above.

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
Andersson, Hoppe, Sahlin, Thorell Erik Hoppe Mod author. Please read above Pre-mod 9.1.1 Swedish, German, English
MOTYER Family Genealogy John Mark Motyer Public site 10.0.0.1 10.1.2 EN, NL, ES
Bastiaans(s)en Genealogy Jan Bastiaanssen Public site see here see here EN, DE, RU

TNG Modules Impacted

The following TNG Modules are modified, and should be backed up prior to installing this mod:

  • genlib.php


The custom texts will be added to these files, which should also be backed up prior to installing this mod:

  • languages/English/cust_text.php
  • languages/English-UTF8/cust_text.php
  • languages/German/cust_text.php - if present
  • languages/German-UTF8/cust_text.php - if present
  • languages/Swedish/cust_text.php - if present
  • languages/Swedish-UTF8/cust_text.php - if present