Navigation

Aus mwcms.net

Wechseln zu: Navigation, Suche

Your standard installation should contain a folder named "navigation". If you want to create a new category, which should be displayed in your top navigation, you should create:

  • "navigation/foo/"
  • "navigation/foo/meta.xml"

and edit this "meta.xml".

<?xml version="1.0" encoding="UTF-8"?>
<meta>
   <navigation>Foo - something new</navigation>
   <plugin>NULL</plugin>
   <sort>20</sort>
</meta>

This means:

  • <navigation>: Displayed on your website and used in your MediaWiki.
  • <plugin>: Do you want to use a plugin? "NULL" means "No", but "foo.php" would display "plugins/foo.php"
  • <sort>: This tag is optional, because you can use "01_home" and "02_foo" to sort your navigation. E.g. "home=10" and "foo=20", then "home" would be displayed before "foo".
Persönliche Werkzeuge