Difference between revisions of "Main Page"
From AtlasWiki
Line 1: | Line 1: | ||
'''MediaWiki has been successfully installed.''' | '''MediaWiki has been successfully installed.''' | ||
+ | |||
+ | /* Change the main page url used in things like the logo to an absolute url */ | ||
+ | $wgHooks['SkinTemplateOutputPageBeforeExec'][] = 'lfChangeMainPageURL'; | ||
+ | function lfChangeMainPageURL( $sk, &$tpl ) { | ||
+ | $tpl->data['nav_urls']['mainpage']['href'] = "http://www.ensoftcorp.com/images/atlas_logo_screen.png/"; // Point the main page url to an absolute url | ||
+ | return true; | ||
+ | } | ||
Consult the [//meta.wikimedia.org/wiki/Help:Contents User's Guide] for information on using the wiki software. | Consult the [//meta.wikimedia.org/wiki/Help:Contents User's Guide] for information on using the wiki software. |
Revision as of 18:23, 6 February 2014
MediaWiki has been successfully installed.
/* Change the main page url used in things like the logo to an absolute url */ $wgHooks['SkinTemplateOutputPageBeforeExec'][] = 'lfChangeMainPageURL'; function lfChangeMainPageURL( $sk, &$tpl ) { $tpl->data['nav_urls']['mainpage']['href'] = "http://www.ensoftcorp.com/images/atlas_logo_screen.png/"; // Point the main page url to an absolute url return true; }
Consult the User's Guide for information on using the wiki software.