Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#556 2009-10-23 12:22:53

johnstephens
Plugin Author
From: Woodbridge, VA
Registered: 2008-06-01
Posts: 1,000
Website

Re: glz_custom_fields

You can replace <txp:glz_if_custom_field and </txp:glz_if_custom_field> with <txp:if_custom_field and </txp:if_custom_field>.

Offline

#557 2009-10-23 12:54:50

LetterHoofd
Member
From: Kortrijk, BE
Registered: 2006-01-20
Posts: 40
Website

Re: glz_custom_fields

That was easy ;)

Offline

#558 2009-10-24 08:07:27

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

Re: glz_custom_fields

whaleen wrote:

Thanks Gerhard! Donation in the mail.

Cheers Josh, you’re a star!

Collapsable groups (on heading click) beneath headings a plus when plagued with 20+ CFs.

You’re right, there are people which have as much as 50-60 custom fields, having everything under a single heading is madness. I’ve already added it on my upcoming features list.

Beyond inserting headings under Advanced Options, I thought I had heard somewhere it might be possible to insert a custom field in the same column (center) as the title and body fields in the write tab.

Yes, that is true for textarea custom fields. All textarea custom fields are automatically placed in the main column.

You’ve given me some great ideas Josh, thanks!

Offline

#559 2009-10-24 08:12:48

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

Re: glz_custom_fields

LetterHoofd wrote:

I’ve installed the most recent version of the plugin (v.1.2.3) and it seems “glz_if_custom_field” doesn’t work anymore.

Hey Michiel,

that glz_if_custom_field has been removed right after v1.2.0. I wanted better TXP 4.2.0 support so I’ve decided to get rid of the extra tags, use the stock ones (if_custom_field & @custom_field).

This is a question to you all. I was wondering if you’ve noticed any strange behaviour with the stock tags. I know that my tags were handling fields with multiple values nicely (e.g. one|two was output as one, two), but it didn’t feel like they were adding enough value. The bottom line is, are the stock tags up to scratch or do you need something more helpful/powerful?

Offline

#560 2009-10-26 23:13:57

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

Offline

#561 2009-10-27 01:06:47

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

Re: glz_custom_fields


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

Offline

#562 2009-10-27 09:33:04

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

Re: glz_custom_fields

Hi all,
Thanks for the update to sed_section_fields, quick question: what items to I need to install to get it working, just the sed_plugin_library.v0.5.2.gz.txt or are there other support files needed too? Sorry, I know this is the glz_custom_field thread but there installation instructions on the sed_section_fields thread seem a bit confusing to me.
Thanks,
Phil

Offline

#563 2009-10-27 09:39:20

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

Re: glz_custom_fields

Hey Phil, you need 2 files for sed_section fields & the glz_custom_fields:

1. sed_section_fields_library v0.5.2
2. sed_section_fields v0.5.3 (get the .gz.txt file)
3. glz_custom_fields v1.2.3

Offline

#564 2009-10-27 11:11:05

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

Re: glz_custom_fields

Hi Gerhard,
First thank you for updating sed_section_fields. Unfortunately have some problems: the plugin seems to only work in the “sections” tab.
In the “write” tab nothing happens.

While looking at the page source I found this message in index.php?sed_resources=sed_sf_write_js, maybe can help you understand what’s going on:

<pre>A problem occured while loading the plugin: <b>sed_section_fields</b> -> <b>Notice: Undefined variable: prefs on line 638</b></pre>
<pre style="padding-left: 2em;" class="backtrace"><code>C:\xampplite\htdocs\test_site\textpattern\lib\txplib_misc.php(594) : eval()'d code:74 _sed_sf_write_js()
C:\xampplite\htdocs\test_site\textpattern\lib\txplib_misc.php:594 eval()
C:\xampplite\htdocs\test_site\textpattern\index.php:117 load_plugins()</code></pre>

My test site:
Textpattern v. 4.2
installed plugins:
1. sed_section_fields_library v0.5.2
2. sed_section_fields v0.5.3
3. glz_custom_fields v1.2.3

Offline

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

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,565
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,316

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

Board footer

Powered by FluxBB