I studied the slimt_pt file where the left border is defined; and I studied the SkinPJPTal_php file, where the "$nav_urls" are defined.
I can see how slimt_pt calls for information in the SkinPJPTal_php file.
It seems there is a third document (a table?) I need to know about that equates the nav_url names in SkinPJPTal_php with the names as they appear in the browser by the end user.
For example, the following code in the SkinPJPTal_php file: $nav_urls['help'] = array('href' => htmlspecialchars( $this->makeI18nUrl('helppage')));
corresponds to http://peswiki.com/index.php/Help:Contents
Where is that defined?
Another question. In the slimt_pt file there is a i18n:translate="string:xyz" code for each of the links. I presume that each language file will need to define a translation for each string I assign for a given new link in the navigation, but that not doing so will not effect the function of the slimt_pt file.
Thanks,
Sterling
----- Original Message ----- From: "Sterling D. Allan" sterlingda@pureenergysystems.com To: "MediaWiki announcements and site admin list" mediawiki-l@Wikimedia.org Cc: "PES IT egroup" pes_it@yahoogroups.com; "LightServers.net Support" support@lightservers.net Sent: Saturday, August 21, 2004 4:02 PM Subject: Re: [Mediawiki-l] modifying navigation links
(pertinent excerpts attached in txt)
Brion,
Okay, I've found SkinPHPTal.php and have found a set of lines that begin "nav_urls" that correspond with the names of the files.
How to I generate a new nav_url line to correspond to a file I want?
Where are files I create, such as [[OS]] kept in the file structure? How do I call for them in the SkinPHPTal.php code?
Thanks
Sterling
----- Original Message ----- From: "Brion Vibber" brion@pobox.com To: "MediaWiki announcements and site admin list" mediawiki-l@Wikimedia.org Sent: Saturday, August 21, 2004 12:57 PM Subject: Re: [Mediawiki-l] modifying navigation links
What I want to do is add more links in the navigation box to the main departments at peswiki.com
This takes data from an array set in SkinPHPTal.php. Search for "nav_urls".
-- brion vibber (brion @ pobox.com)
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
---------------------------------------------------------------------------- ----
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l