Office viewer

From TNG_Wiki
Jump to navigation Jump to search
Obsolete The Office viewer is now obsolete with TNG v14 which added the functionality. Obsolete


Restricted Downloads of Office viewer 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 Restricted
Caution If you have trouble downloading with Google Chrome, Vivaldi, Brave or other Chromium based browser, try using a right-click and select Open in new Window, then F5, or use another browser such as Firefox Caution


Ambox notice.png The latest version of this mod uses the guidelines for TNG v12+ cust_text.php files. If you are using TNGv12+, and any cust_text.php file in this mod is marked with a Bad Target error, you need to update your cust_text.php files before you can install this mod. [Show instructions]

If you upgraded to TNGv12+, and did not update your cust_text.php files as instructed in the upgrade readme script, then you must use the TNG Mod Manager to update them. To do so:

  1. Go to Mod Manager, and select its "Recommended Updates" tab.
    (If the "Recommended Updates" tab is not visible, then go to the Mod Manager Options tab, select "Display Settings", and turn on the "Recommended Updates" tab.)
  2. Click the "Update" button in the "Recommended Updates" tab.
    Installed mods do not interfere with the update, and if you already have (or think you may have) run this update, it will not hurt for you to run it again.

[See details in the TNGv12 Change Impacts Article][Hide the instructions]

TNG 14.0
TNG 13.0
TNG 12.0



Office viewer
Summary Display doc and docx files into your browser.
Validation
Mod Updated 16 Mar 2022
Download link v12.3.0.1
TNG 13.0
TNG 12.0
Download stats Show statistics
Author(s) Michel Kirsch
Homepage Racines luxo-hennuyeres
Mod Support Mod Support Form
Contact Developer MyMail
Latest Mod for TNG v12+
Min TNG V v12.3
Max TNG V n.c.
Files modified
genlib.php
showmedialib.php
Related Mods
Notes


Important note

This mod will be integrated to TNG 14 and CAN'T be used with TNG14 !

Purpose of the Mod

Are you tired of having to download [.doc] and [.docx] files in order to view them?
This mod allows you to view these files directly in your browser.
An installation of MS Office or equivalent is no longer necessary for your customers.
The Mod uses the => Online Office viewer
IMPORTANT : in your config.php file, the $tngdomain variable must point to your web site !
You can verify/change via Administration >> Setup >> General Settings >> Site design and definition >> Genealogy URL:

Development

Written by : Michel Kirsch from Charleroi - Hainaut - Belgium

Requirements

A TNG v12.3 installation in working order.

IMPORTANT : Before installing

Before installing, it is best to make a backup copy of the files that will be modified by this mod.

TNG Modules Impacted

You can click on the [Expand] link on the right to display the list of TNG Modules change and the [Collapse] link to hide this section again.

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

genlib.php
showmedialib.php

File created by this Mod

- word_viewer.php


INSTALLATION

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

Upgrade

When upgrading to a newer version

  • Uninstall and eventually Delete the current Mod.
  • Proceed as for an installation with the new Mod.

Known Problems

None at this day...

In the event of a problem

  • Try using the Mod Manager Remove capability
  • Copy the backup of the affected files back to your TNG directory
  • If the problem persists, open an issue in the TNG Community Forums or on the page of Michel Kirsch. At worst, send a mail to MyMail

Historic of modifications

Version Release Date Contents
v12.3.0.1 16 Mar 2022 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...

URL User Note Mod-Version TNG-Version User-language
Racines luxo-hennuyeres Michel Kirsch Mod's Developper v12.3.0.1 13.1.1 FR/EN/NL/GE/ES
Geneakat Katryne Chauvigné-Bourlaud Public/Private v12.3.0.1 14.0.4 FR/EN/SP
Bastiaanssen Genealogy Jan Bastiaanssen Public / Private 12.3.0.1
TNG 14.0.5
EN, NL, ES