Hallo,
ich hab mir ein schönes eigenes Modul auf Basis des Skelletons gebastelt und möchte Dieses nun als Menüpunkt im Bereich "Content"/"Inhalt" des Adminpanels haben, anstatt im Bereich "Erweiterungen".
Welchen Codeschnipsel muss ich da in die Installfunktion des Moduls werfen, damit das klappt?
Danke im Vorraus.
Archi
Menüposition des eigenen Moduls im Adminpanel
Menüposition des eigenen Moduls im Adminpanel
Last edited by a.rchimedes on Tue Apr 17, 2007 6:29 pm, edited 1 time in total.
Re: Menüposition des eigenen Moduls im Adminpanel
Hi Archi,

Steht eigentlich alles in der skeleton.module.php drina.rchimedes wrote: Welchen Codeschnipsel muss ich da in die Installfunktion des Moduls werfen, damit das klappt?

/*---------------------------------------------------------
GetAdminSection()
If your module has an Admin Panel, you can specify
which Admin Section (or top-level Admin Menu) it shows
up in. This method returns a string to specify that
section. Valid return values are:
main - the Main menu tab.
content - the Content menu
layout - the Layout menu
usersgroups - the Users and Groups menu
extensions - the Extensions menu (this is the default)
siteadmin - the Site Admin menu
viewsite - the View Site menu tab
logout - the Logout menu tab
Note that if you place your module in the main,
viewsite, or logout sections, it will show up in the
menus, but will not be visible in any top-level
section pages.
---------------------------------------------------------*/
function GetAdminSection()
{
return 'extensions';
}
Re: Menüposition des eigenen Moduls im Adminpanel
Großes Dankeschön, manchmal sieht man eben den Wald vor lauter Bäumen nicht.
Greets
Archi
Greets
Archi