Textpattern

Return to main site

Related

Frequently Asked Questions

My plugin's "Extension" sub-tab has gone missing!

Symptoms

After an upgrade to 4.0.6, some admin-side plugins have their “Extension” sub-tab disappear from view, and trying to access the URL directly displays the message, “Restricted Area”.

Cause

Below is a list of plugins with known problems, and what to do for each.

Temporary Fix

While waiting for the plugin author to update, you can fix this problem on your own site yourself.

Edit the plugin and look for the bit of code that looks like:

if (@txpinterface == 'admin') {
	register_tab("extensions", "event", "tab name");
}

For each occurence of register_tab, we need to insert an extra line of code:

if (@txpinterface == 'admin') {
	add_privs('event', '1'); // this line's "event" should match the one used by register_tab
	register_tab("extensions", "event", "tab name");
}

Plugins

Posted 7 March 2008, 18:26 by Mary Fredborg

---