Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#565 2009-10-27 11:29:33

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

Re: glz_custom_fields

I have also installed the latest sed_section_fields to my test site without much success. None of the options seem to affect what appears in the write tab, even for users with lesser access privileges. Though the sections tab display is restyled somewhat so parts of it seem working.
Also, what exactly does ‘Treat as a static section?’ do?
Thanks,
Phil

Offline

#566 2009-10-27 11:46:16

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

Re: glz_custom_fields

philwareham wrote:

Also, what exactly does ‘Treat as a static section?’ do?

A static section doesn’t show in the sections dropdown for user level below 2.
Very useful if you have some sections (search results for example) in which a user should never post an article.

Offline

#567 2009-10-28 07:18:57

gerhard
Plugin Author
From: London, UK
Registered: 2005-06-29
Posts: 409
Website

Re: glz_custom_fields

Sorry about that error guys, download sed_section_fields and re-install from the same location, it’s all good now.

Offline

#568 2009-10-28 11:10:32

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,315

Re: glz_custom_fields

Phew, works again. Thanks, Gerhard :)

(In order to avoid confusion the version# should be increased.)


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#569 2009-10-28 12:45:46

gerhard
Plugin Author
From: London, UK
Registered: 2005-06-29
Posts: 409
Website

Re: glz_custom_fields

Cool!

Honestly, I’ve changed a single line, it didn’t feel like it required a revision bump : ).

Offline

#570 2009-10-28 13:30:38

kevinpotts
Member
From: Ghost Coast
Registered: 2004-12-07
Posts: 370

Re: glz_custom_fields

Excellent. Works perfectly. You the man.


Kevin
(graphicpush)

Offline

#571 2009-10-28 14:39:55

candyman
Member
From: Italy
Registered: 2006-08-08
Posts: 684

Re: glz_custom_fields

It would be useful to update net-carver’s original post about sed_section_fields and the download section of his site with the latest version modified by gerhard.

Last edited by candyman (2009-10-28 14:40:31)

Offline

#572 2009-10-30 21:33:52

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: glz_custom_fields

I’ve noticed that if I name a custom field like this “on_section_frontpage” it’s renamed to something like this “onsectionfrontpage”.

Does anyone else noticed this?


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#573 2009-10-30 21:58:21

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: glz_custom_fields

redbot wrote:

glz_custom works ok with the MLP, or at least it worked ok with previous versions.

Thanks, redbot.

Apart from this, probably it isn’t useful in your case but I now remember some months ago I made a very short and raw plugin which lets you give a ‘title’ (as per txp terminology) for your custom fields names.

Nice! It seems to work ferpect, although it isn’t compatible with MLP, right? No problem about it.

And yes, it’s useful, because it seems (at least on my local install) that glz_custom_fields is interfering with the MLP ability to create human-friendly titles for custom fields…
I’ve tested that, by disabling glz_custom_fields, the custom fields titles (managed by the MLP) works fine. Re-enabling glz_c_f, the human-readable titles are dismissed.

@Gerhard, do you think you will be able to take a look at it? You may want to join here.

Thanks again, redbot and Gerhard.


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#574 2009-10-31 00:20:43

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

Re: glz_custom_fields

maniqui wrote:

….although it isn’t compatible with MLP, right? No problem about it.

Yes, it isn’t compatible but in some circumstances I think is better than nothing

it seems (at least on my local install) that glz_custom_fields is interfering with the MLP ability to create human-friendly titles for custom fields…

You are right again. I remember there was a discussion between me and Steve/net-carver some months (years?) ago about this problem which seemed to be unsolvable (it’s buried in the mlp thread, here (down the page – item 034) and here).
At the end I found a dirty solution hacking some textpattern file (don’t remember which one). If you want I can send you some notes I wrote at the time (if I find them) but I think this solution is not advisable – every upgrade becomes a torture ;(

I think maybe a relatively simpler way could be to modify bot_cf_titles code – even if I can’t imagine how now (it’s late and I’m sleepy).

Offline

#575 2009-10-31 09:46:22

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: glz_custom_fields

I found after upgrading to the latest glz_ my States and Countries list was re-sorted. For example, my countries select list starts now with South Korea and ends with Zimbabwe.

Between the two, the list goes from S-A, then starts again with Sri Lanka-Zimbabwe. No idea why this happened (I did not do anything) so thought I should put it out there for Gerhard.

Offline

#576 2009-11-04 14:00:52

jelle
Member
Registered: 2006-06-07
Posts: 165

Re: glz_custom_fields

Here’s an idea/feature suggestion:

An option to input PHP instead of Values in the CF editing screen. Upon entering the Write tab, the PHP script gets executed and returns the value(s) for the customfield. A sort of mini-plugin for glz_c_f.

Offline

Board footer

Powered by FluxBB