JoomlaMediaWikiBridge Installation Guide

Embed Size (px)

Citation preview

  • 8/8/2019 JoomlaMediaWikiBridge Installation Guide

    1/11

    JoomlaMediaWikiBridgeInstallation Guide

    Follow the Installation Steps:

    1. Download and Install Media Wiki

    2. Install Component (com_jtagwiki)

    3. Install Module (mod_jtagwikimenu)

    4. Install Plugin(mediawikilogin)

    5. Create external link to menu

    6. Set The plugin Settings:

    6.1. Set Directory Path6.2. Set Cookie prefix

    7. Copy AuthJoomla.php

    8. Rename index.php

    9. Copy Other Files (index.php, joomwiki_engine.php, joomlawiki.css)

    10. Set variable in joomwiki_engine.php

    11. Add your settings to LocalSettings.php

  • 8/8/2019 JoomlaMediaWikiBridge Installation Guide

    2/11

    1. Download and Install Media Wiki

    Download latest release of MediaWiki from:http://www.mediawiki.org/wiki/MediaWiki,after downloading, upload the folder to your domain try opening website from the

    original location i-e http://www.example.com/mediawiki, then you will be taken to:

    Click the provided link, you will be taken to page where you might find theseinstructions, so you should then follow the instructions and make the directory be

    writeable to do this, open your ftp either from cpanel or from any ftp client, setpermissions to config directory to 777.

  • 8/8/2019 JoomlaMediaWikiBridge Installation Guide

    3/11

    When this successfully runs it will take you to the following page in figure where youhave to fill information in the form, making database and user on the server setting the

    hostname and other settings.

  • 8/8/2019 JoomlaMediaWikiBridge Installation Guide

    4/11

  • 8/8/2019 JoomlaMediaWikiBridge Installation Guide

    5/11

    When installation finished successfully you will see this message on your screen near atthe bottom of the page.

    After completing installation dont forget to move the config/LocalSettings.php to the

    root location and then even you can delete the config folder which is no longer needed.

    2. Install Component (com_jtagwiki)

    After installing mediawiki, go to joomla administration panel, go to Install/Uninstall tab

    from top menu choose the file from location you have it, then click Upload File & Install

  • 8/8/2019 JoomlaMediaWikiBridge Installation Guide

    6/11

    3. Install Module (mod_jtagwikimenu)

    Afterwards install jtagwikimenu module, from the location you have saved it. Then go to

    module manger to enable the module.

  • 8/8/2019 JoomlaMediaWikiBridge Installation Guide

    7/11

    4. Install Plugin(mediawikilogin)

    After that install the mediawikilogin plugin from the location you have it, then go to

    plugin manger to enable the plugin.

    5. Create external link to menu

    After installing the plugin, go to menus from the top menu of joomla administrationpanel, create an external link for your media wiki webpage, provide the URL for the

    media wiki you have installed on your server.

    Click on new button to make link, then click on external link button from that page,thereafter you will be taken to the following page where you be asked to provide the link

    you are going to make for:

  • 8/8/2019 JoomlaMediaWikiBridge Installation Guide

    8/11

    After setting all required information, click on save button to make changes.

    6. Set The plugin Settings:

    To set plugins go to plugin manager from the top menu of the joomla administrationpanel.

    6.1. Set Directory Path

    First set the directory path to original location of the directory/ folder on your server(

    important with slash at end), example /home/vhost/public_html/mediawiki1/

  • 8/8/2019 JoomlaMediaWikiBridge Installation Guide

    9/11

    6.2. Set Cookie prefix

    Then after set cookie prefix to: mw_

    7. Copy AuthJoomla.php

    Please try to find the AuthJoomla/AuthJoomla.php from your joomlawikibrige folder.And upload that to the MediaWiki_Directory/extensions/ .

    8. Rename index.php

    After doing all these please make sure to rename the index.php to inc_index.php file

    on the main directory of the MediaWiki

    9. Copy Other Files(index.php, joomwiki_engine.php, joomlawiki.css)

    Please find these files from the installation folder you have provided to: upload all these

    files to main folder of the MediaWiki.

    10. Set variable in joomwiki_engine.php

    Set the variables in joomwiki_engine.php which is located on main folder of MediaWiki,

    download the file, and set the $wgAuthJoomla_domain on line number 3, you haveto provide the joomla installation location URL i-e (http://yourdomain.com/joomla/), then

    upload the file again to server.

  • 8/8/2019 JoomlaMediaWikiBridge Installation Guide

    10/11

    11. Add your settings to LocalSettings.php

    Download the LocalSettings.php from the main folder of the MediaWiki, set the

    following variables:

    $wgAuthJoomla_MySQL_Host = 'localhost';

    Set your hostname for your joomla location, replace 'localhost' with your

    'yourjoomla_hostname'

    $wgAuthJoomla_MySQL_Username = 'user_name_db_joomla';

    Set your mysql username for your joomla; replace 'user_name_db_joomla' with your

    'yourjoomla_db_username'

    $wgAuthJoomla_MySQL_Password = 'password_joomla_db';

    Set your mysql password for your joomla; replace 'password_joomla_db' with your

    'yourjoomla_db_password'

    $wgAuthJoomla_MySQL_Database = 'NameDBJoomla';

  • 8/8/2019 JoomlaMediaWikiBridge Installation Guide

    11/11

    Set your mysql database name for your joomla; replace 'NameDBJoomla' with your

    'yourjoomla_db_name'

    $wgAuthJoomla_TablePrefix = " jos_";

    Set your joomla table prefix for your joomla; replace " jos_" with your

    "yourjoomla_prefix", one blank sing before jos - important!

    $wgAuthJoomla_Path = '/home/vhost/Joomla';

    Set your joomla path; replace '/home/vhost/Joomla' with your

    '/home/yourdomain/public_html/joomla'

    Thats all, try opening external link from the joomla website.