Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#337 2009-02-06 14:29:05

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

Re: [plugin] [ORPHAN] sed_section_fields

driz wrote:

none of the options are appearing in the sections panel?

Yeah, something changed in 4.0.8 (even late-on in the development of 4.0.7) that seems to break this fine plugin. If I understood a damn word of net-carver’s code mojo I’d try and patch it, but this sucker’s beyond my comprehension at the moment :-(

Perhaps if I had a day to spare and sit down with it I could get my head round it. Sounds like redbot might have a clue though, and is more likely to understand it than I am.

Sit tight and hope someone can figure it out, or net-carver pops in for a chat…


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

#338 2009-02-06 16:20:01

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: [plugin] [ORPHAN] sed_section_fields

So how about diffing the HTML on the section page between 4.08 and 4.07? That’d prolly show something.

Offline

#339 2009-02-06 16:27:43

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

Re: [plugin] [ORPHAN] sed_section_fields

mrdale wrote:

So how about diffing the HTML on the section page between 4.08 and 4.07? That’d prolly show something.

Sure. You got a site running 4.0.7 still? I haven’t :-(


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

#340 2009-02-06 16:47:11

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

Re: [plugin] [ORPHAN] sed_section_fields

Bloke wrote:

….If I understood a damn word of net-carver’s code mojo I’d try and patch it, but this sucker’s beyond my comprehension at the moment :-(….

:))))

mrdale wrote:

So how about diffing the HTML on the section page between 4.08 and 4.07? That’d prolly show something.

I may be wrong but – once again – I don’t think there have been any changes in the html of the “sections” or “write” pages.

Offline

#341 2009-02-06 16:59:19

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: [plugin] [ORPHAN] sed_section_fields

OK, Here it is gents…

now of course there are a bunch of custom fields in one and none in the other, but maybe it’s worth a look.

Last edited by mrdale (2009-02-06 17:00:38)

Offline

#342 2009-02-06 17:08:43

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

Re: [plugin] [ORPHAN] sed_section_fields

Er… I beg your pardon but I thought the differences were between 4.0.7 and 4.0.8, not 4.0.6

Offline

#343 2009-02-06 17:09:24

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

Re: [plugin] [ORPHAN] sed_section_fields

redbot appears to be correct. From a cursory side-by-side in FireBug I’m buggered if I can see any obvious differences in the HTML of any section in those two links there. Despite, as redbot says, the 4.0.6/4.0.7 thing.

So if it’s not js admin hooks, there must be a deeper reason stuff refuses to show up in one and not the other. Rats.

Last edited by Bloke (2009-02-06 17:10:08)


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

#344 2009-02-06 17:24:34

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: [plugin] [ORPHAN] sed_section_fields

redbot wrote:

Er… I beg your pardon but I thought the differences were between 4.0.7 and 4.0.8, not 4.0.6

easy girl, that’s just what I had layin around. One works one doesn’t and they are late-ish svn versions sot it should amount to the same thing.

Offline

#345 2009-02-06 17:32:24

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: [plugin] [ORPHAN] sed_section_fields

So I found a difference or two…

  • 4.06 ish <input type="submit" name="" value="Save" class="smallerbox" />
  • 4.07 ish <input type="submit" value="Save" class="smallerbox" /> no name attribute.

Last edited by mrdale (2009-02-06 17:32:45)

Offline

#346 2009-02-06 17:42:40

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

Re: [plugin] [ORPHAN] sed_section_fields

mrdale wrote:

easy girl, that’s just what I had layin around. One works one doesn’t and they are late-ish svn versions sot it should amount to the same thing.

Oh sorry sir, I didn’t get it from your post which says both versions are working.
As for the difference you found I’m sorry but I think (hope I’m wrong) it’s not the cause, it must be something at a higher level wich clashes with the way Steve/net-carver writes his plugins (I’m guessing it – the MLP also stopped working with 4.08)

Offline

#347 2009-02-08 18:55:35

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: [plugin] [ORPHAN] sed_section_fields

Word from the man! Yes he’s alive, but has no time available for TXP projects, which I can understand…

“Yeah, I’m still here but not doing any Txp stuff at present. I have a lot to do so I doubt I’ll be doing any Txp work for a month or so (minimum).”

In the meantime, you can probably manually hack the preferences table to hide the fields you want per section.

Last edited by mrdale (2009-02-08 19:13:23)

Offline

#348 2009-02-14 17:27:39

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,323
Website Mastodon

Re: [plugin] [ORPHAN] sed_section_fields

To run sed_section_fields in Textpattern 4.0.8+, please perform these steps:

  1. Install and activate sed_plugin_library 0.5.2
  2. Install and activate sed_section_fields 0.3.138
  3. Edit sed_section_fields at the plugins tab and replace the whole code with this.

Enjoy!

Last edited by wet (2009-02-14 18:08:32)

Offline

Board footer

Powered by FluxBB