Topic on Extension talk:MobileFrontend

How do you Customize the Menu?

5
Summary by Ricordisamoa
Waldstein~mediawikiwiki (talkcontribs)

How do you Customize the mobile menu? so that it links to the internal pages you want?

82.181.31.159 (talkcontribs)

Also wondering about this. Done various googling for "MobileFrontEnd sidebar" without success. Getting ready to dive in and hack directly.

Waldstein~mediawikiwiki (talkcontribs)

I tried to do just that. my knowledge of JavaScript is limited.

I can change the name that appears (just search for " 'Radom' " or whatever other title you want in the main PHP file and replace it. Changing the icon that appears next to it is also simple, go into the LESS CSS file called navigation and change the URL to the png you want, or just replace the old file.

But I cant figure out how to add Items, remove Item, or change where the items in the menu link to. Appearently you need to edit the PHP and Javascript...but this is as of now beyond me.

2620:62:C000:149:F93C:798E:26E1:B270 (talkcontribs)

At the moment your best bet is to use MediaWiki:Mobile.css to hide the elements.

#page-actions {
display: none;
}

It would be useful to make this configurable via LocalSettings.php - patches welcomed.

Reply to "How do you Customize the Menu?"