Custom Navigation bar 3.2.1
Posted: November 2nd, 2007, 10:41 am
I've been wanting to construct a portion of the sidebar that can be controlled from mediawiki.
For example, I would create a page called Sidebar that would be just like any other page in mediawiki.
In gumax.php in the Navigation section after the menus I would create a pointer that would retrieve this page and place it in the sidebar for every page.
I've gotten half way there by placing <?php $this->html('bodytext') ?> in the Navigation Section of gumax.php. Of course this just puts in identical text from the page you are on in the sidebar.
Does anybody have an idea how to change the php call to go to pull the bodytext of a specific page?
For example, I would create a page called Sidebar that would be just like any other page in mediawiki.
In gumax.php in the Navigation section after the menus I would create a pointer that would retrieve this page and place it in the sidebar for every page.
I've gotten half way there by placing <?php $this->html('bodytext') ?> in the Navigation Section of gumax.php. Of course this just puts in identical text from the page you are on in the sidebar.
Does anybody have an idea how to change the php call to go to pull the bodytext of a specific page?