Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#49 Yesterday 18:07:39

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,453
Website GitHub

Re: smd_tabber: create custom admin-side tab structures

Okay, it was worse than I thought. I’d not even made a git repo for the plugin. Not touched the code since 2011 so it’s a testament to Txp that it still worked (bar the installation routine snafu) on all versions since 4.4.0!

Anyway, I totally refactored the plugin to reduce its footprint (made it a class), as well as registering the plugin tags and letting the stylesheets respond to CSP if using 4.9.0+.

The privileges now also take into account any changes made by other plugins such as smd_user_manager so you can offer dashboards to extended users and groups.

As always, feedback is welcome. Any problems, please raise an issue and I’ll try and tend to them.

Download v0.2.0


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#50 Yesterday 18:37:31

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,729
Website

Re: smd_tabber: create custom admin-side tab structures

Not tried it yet, but just have to say: “You’re a hero!” 🎉


TXP Builders – finely-crafted code, design and txp

Offline

#51 Yesterday 20:24:54

giz
Member
From: New Zealand
Registered: 2004-07-26
Posts: 301
Website GitHub Twitter

Re: smd_tabber: create custom admin-side tab structures

Thanks, both. Its working :).

Offline

Board footer

Powered by FluxBB