Recent Topics

1 Apr 25, 2008 04:01    

I wonder if there is a way to create different labels for a sub-tab on the tools tab for multiple installations of the same plugin? Like acrolink makes a subtab called, appropriately enough, "Acro-Link". But if you install it multiple times then you get a bunch of sub-tabs with the same name. Not very helpful yah?

All I know is the basics.

function AdminAfterMenuInit() {
	$this->register_menu_entry( 'Acro-Link' );
	}

Surely something like this is possible?

function AdminAfterMenuInit() {
	$cool_label = $this->plugin->instance;
	$this->register_menu_entry( 'Acro-Link '.$cool_label );
	}


Form is loading...

b2evolution CMS – This forum is powered by b2evolution CMS, a complete engine for your website.