Textpattern Forum

You are not logged in. Register | Login | Help

#11 2011-03-31 18:13:00

redbot
Plugin Author
Registered: 2006-02-14
Posts: 1,399

Re: smd_tabber: create custom admin-side tab structures

Bloke wrote:

You can silence the errors by editing line 76 of the plugin… Whether that actually fixes anything or not remains to be seen, but it at least shuts the errors up.

Thanks Bloke this does shut the errors up and fixes everything else. I suggest you adopt this change for the next release.

Offline

#12 2011-03-31 18:47:41

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 5,916
Website

Re: smd_tabber: create custom admin-side tab structures

redbot wrote:

Probably I misunderstood what you meant for “top-level tabs”.

Ah yes, my silly naming convention. If anybody can think of a better name (primary/secondary maybe?) I’ll revisit the docs and make it clearer. Sorry about the misunderstanding.

In other words the sorting works ok only among newly created tabs. Not a big issue anyway.

Yes, if you imagine Remora, your “top level” tabs (actually “Areas” in TXP-speak) will appear in alphabetical order to the right of the Extensions tab. I couldn’t figure out a neat way to allow sorting by Area but I may in future add another sort order field below the area to allow you to do that.

The current sort order just governs the order of the items when you hover over your new area. The sort order is per area. All this should be in the docs really: I’ll address that when I issue the fix with:

… I suggest you adopt this change for the next release.

I’ll just wait a tiny bit longer to see if there’s any more fallout / bugs from other people or if importing that global causes any havoc elsewhere. I don’t think it’ll hurt anything, but I’ll do some testing to make sure first.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern.

Txp Builders – finely-crafted code, design and Txp

Offline

#13 2011-03-31 19:20:09

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 5,916
Website

Re: smd_tabber: create custom admin-side tab structures

Actually no, after some testing I’ll issue the fixed version now. v0.11 fixes the $pretext warnings when using article tags. The docs have also been rejigged slightly to improve clarity.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern.

Txp Builders – finely-crafted code, design and Txp

Offline

#14 2011-03-31 19:43:26

maverick
Member
From: Southeastern Michigan, USA
Registered: 2005-01-14
Posts: 755
Website

Re: smd_tabber: create custom admin-side tab structures

Stef

It’s a thing of beauty.

I like the new sort feature. Very nice.

Thanks for putting up me and making my dream of blurring the lines between the front end and the back end a reality. It is most appreciated.

To help spark ideas – if that’s really necessary ;) — here’s one of my personal use cases: I’m still in early stages, but I’m using it with smd_sql_query and mem_ form suite (simple form, public article, etc) to develop tabs that offer custom data interfaces, in particular with custom fields.

I’ve also got a smd_macro/smd_tabber version of lum_usermenu’s that I’m polishing up (in between meetings) and will share shortly in case anyone has a use for it.

Last edited by maverick (2011-03-31 19:44:24)

Offline

#15 2011-03-31 20:40:05

Ninja-Backflip
Member
From: England
Registered: 2011-02-22
Posts: 14

Re: smd_tabber: create custom admin-side tab structures

maverick wrote:

To help spark ideas – if that’s really necessary ;) — here’s one of my personal use cases: I’m still in early stages, but I’m using it with smd_sql_query and mem_ form suite (simple form, public article, etc) to develop tabs that offer custom data interfaces, in particular with custom fields.

Would like to know how you’re approaching this, code wise. Sounds like what I’m after. Any tips / snippets would be very much appreciated.

Ninja-Backflip:

A problem I find from a clients point of view, is effective frontpage management. Some of the sites I build have several static content blocks on the frontpage. Up till now, I’ve just been creating a section called frontpage and using a combination of glz_custom_fields and bot_wtc to create a simple, intuitive write panel. Works pretty well, but I’d prefer a separate tab that allows the clients to modify the page content in. Any tips on how I can do this with your plug-in?

Offline

#16 2011-04-04 14:23:28

Ninja-Backflip
Member
From: England
Registered: 2011-02-22
Posts: 14

Re: smd_tabber: create custom admin-side tab structures

Hello Mike, any updates on your attempt at creating custom data interfaces? I wonder if Stef has any views on such an endeavour?

Offline

#17 2011-04-04 15:22:01

maverick
Member
From: Southeastern Michigan, USA
Registered: 2005-01-14
Posts: 755
Website

Re: smd_tabber: create custom admin-side tab structures

Hey – sorry for not getting back sooner, and for not having more details at this point. I’m away working on a project this week. When I get back I’ll try to share more of where I’m at in the process. Basic approach: mem_simple_form or smd_sql_query are the most likely approaches from a power standpoint. They let you update the database, so you can have text input fields and not just output. But they require some php and mysql and I’m still working that out.

mem_public_article is simple – you can pull out any fields you want very easily and update them, but it’s limited to the write tab fields (as far as I can tell), and you have to know exactly which article you want to edit. I’m still working to fine tune the way to do that — whether there’s a slick tag within a tag way, or to use some sort of variable passed as an article id.

I’m pretty sure there are couple of folks out there who have done similar things on the front side, so they, or Stef might be able to help in the meantime.

Offline

#18 2011-04-04 17:32:54

Ninja-Backflip
Member
From: England
Registered: 2011-02-22
Posts: 14

Re: smd_tabber: create custom admin-side tab structures

Thanks for the reply Mike! Unfortunately I’m a front end designer so this sort of thing is way beyond my skill set. Good to know folks like yourself are pushing the boundaries.

Offline

#19 2011-04-06 07:01:43

jpdupont
Member
From: Virton (BE)
Registered: 2004-10-01
Posts: 435

Re: smd_tabber: create custom admin-side tab structures

Hi Stef,

I start to play with this very usefull plugin ! Awesome ! An other big “thanks” !
One question : How (where) rename the “tab_start” first tab ?

Offline

#20 2011-04-06 08:27:39

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 5,916
Website

Re: smd_tabber: create custom admin-side tab structures

jpdupont wrote:

One question : How (where) rename the “tab_start” first tab ?

Update your language file in Prefs->Languages. And if it doesn’t change after that then the string isn’t defined in your language and you should contact your translator (which may be yourself! :-) and have the string added to the RPC server.

Glad you like the plugin.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern.

Txp Builders – finely-crafted code, design and Txp

Offline

Board footer

Powered by FluxBB