Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#253 2008-07-17 15:33:26

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

Re: [plugin] [ORPHAN] sed_section_fields

Addison
Though I can’t reproduce it now (irrational uh?) I think you are quite right.
Now I remember the day I had your same problem I updated a subdomain (a totally independent txp installation), so I typed manually in the address bar something like http://subdomainsite.domainsite.org (this installation is ancient and doesen’t make use of sed_sections). Then I came back to the main site installed in the domain and experienced the problem. I suppose that in the passage from subdomain to domain I must have manually removed the “http://subdomainsite” part of the url.

P.S. I now read your edit and I feel somehow relieved I wasn’t having allucinations

Offline

#254 2008-07-17 16:43:37

net-carver
Archived Plugin Author
Registered: 2006-03-08
Posts: 1,648

Re: [plugin] [ORPHAN] sed_section_fields

Addison

I can reproduce this now on domains where I have both www.somedomain.tld and somedomain.tld setup in my domain management control-panel.

At work on the solution; I’ve fixed the section tab and am now onto the write tab. If you want a quicker solution you could have your host remove the “www” prefix on your hosted domain.


Steve

Offline

#255 2008-07-17 18:10:02

Addison
Member
From: Flowood, Mississippi
Registered: 2004-08-30
Posts: 34
Website

Re: [plugin] [ORPHAN] sed_section_fields

Thanks, Steve.

There’s no big rush for me right now. I can wait patiently for your next update… ;)

I’m curious — was this strictly a JavaScript issue?

-Addison

Offline

#256 2008-07-18 05:20:44

net-carver
Archived Plugin Author
Registered: 2006-03-08
Posts: 1,648

Re: [plugin] [ORPHAN] sed_section_fields

Addison wrote:

I’m curious — was this strictly a JavaScript issue?

It’s not the JS per se but the fact that the script failed to load properly on www.yourdomain.tld whilst it would load on yourdomain.tld. I’ve made the script urls relative and that solved the problem for me.

However, there are some other things I tracked down that might explain your problems (and redbots)…

  1. If I had recently looked at the site on yourdomain.tld and then switched to the www entry point then my browser was caching the scripts so it would work until the cache cleared (or was cleared). Hence the apparent intermittent behaviour.
  2. If I installed on txp 4.0.5 then the write tab couldn’t hide fields — even when I got the scripts loading correctly. This turns out to be a problem with the jQuery version. 4.0.5 seems to ship jQ 1.1.2. I updated the jQuery file on my install to 1.2.1 and that worked just fine.
  3. My local 4.0.5 install supported the new, indexed, section layout but my live 4.0.5 test site would not. This surprised me. Looking at the rows of the sections table in my local install showed they were being marked them with an id which I use to hide rows. However, the table on the live site wasn’t having any ids written on the rows. It turns out that my local site wasn’t really a 4.0.5 site but a dev version done somewhere after the id change was added by wet but before the 4.0.6 release. It was fun working this one out.

Conclusion to all this: 4.0.6 installations recommended — or 4.0.5 with an updated jQuery. The next release won’t care if it’s on www.yourdomain.tld or just yourdomain.tld.

Thanks for the patience!


Steve

Offline

#257 2008-07-18 16:32:23

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

Re: [plugin] [ORPHAN] sed_section_fields

net-carver wrote:

Conclusion to all this: 4.0.6 installations recommended — or 4.0.5 with an updated jQuery. The next release won’t care if it’s on www.yourdomain.tld or just yourdomain.tld.
Thanks for the patience!

Great! And thanks for your patience!

Last edited by redbot (2008-07-18 17:13:08)

Offline

#258 2008-07-18 16:45:40

masa
Member
From: Asturias, Spain
Registered: 2005-11-25
Posts: 1,091

Re: [plugin] [ORPHAN] sed_section_fields

When I tick Treat as static section the setction still shows up in the select in the Write tab. Why’s that?

Txp 4.0.6

Offline

#259 2008-07-18 17:11:12

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

Re: [plugin] [ORPHAN] sed_section_fields

masa wrote:

When I tick Treat as static section the setction still shows up in the select in the Write tab. Why’s that?

Are you logged as publisher? This is the normal behaviour: you must log in with a lower privilege to see it in action.

Last edited by redbot (2008-07-18 17:12:28)

Offline

#260 2008-07-18 18:13:13

masa
Member
From: Asturias, Spain
Registered: 2005-11-25
Posts: 1,091

Re: [plugin] [ORPHAN] sed_section_fields

redbot wrote:

Are you logged as publisher? This is the normal behaviour: you must log in with a lower privilege to see it in action.

Thanks, that explains it.

Offline

#261 2008-07-19 03:34:24

net-carver
Archived Plugin Author
Registered: 2006-03-08
Posts: 1,648

Re: [plugin] [ORPHAN] sed_section_fields

All

Here’s the experimental version with the above mentioned fix for Addison’s www problem.

sed_section_fields.v0.4.8.exp.gz.txt

This also requires an updated plugin library…

sed_plugin_library.v0.5.2.gz.txt

Please report any issues here.


Steve

Offline

#262 2008-07-19 06:33:47

lee
Member
From: Normandy, France
Registered: 2004-06-17
Posts: 831

Re: [plugin] [ORPHAN] sed_section_fields

Hi Steve, I get blanks screens for every tab after installation.

Best wishes
Lee

Edit. Remember to remember to switch on both plugins

Last edited by lee (2008-07-19 06:35:21)

Offline

#263 2008-07-19 06:47:48

net-carver
Archived Plugin Author
Registered: 2006-03-08
Posts: 1,648

Re: [plugin] [ORPHAN] sed_section_fields

lee wrote:

Edit. Remember to remember to switch on both plugins

Yes, that would do it. :)

Last edited by net-carver (2008-07-19 06:48:59)


Steve

Offline

#264 2008-07-19 06:49:12

lee
Member
From: Normandy, France
Registered: 2004-06-17
Posts: 831

Re: [plugin] [ORPHAN] sed_section_fields

Sorry to be a pain, it’s not working with glz_custom_fields. The glz_custom_fields fields show up on the sections tab but can’t be hidden, nor does the select all link work. Also the section list on the left of the section tab is missing. Skype/email me if you need access.

Thanks
Steve

Offline

Board footer

Powered by FluxBB