Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#37 2008-11-22 17:38:35

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

Re: Feedback to: Help us test the release candidate for the upcoming 4.0.7

About glz_custom_fields, is there now a non- hack work-around to get more than ten custom fields? In 4.0.6, it was necessary to modify the publish.php file:

<?
    function getCustomFields()
    {
        global $prefs;
        $out = array();
        $i = 0;
        $custom_fields_num = count(preg_grep("(^custom_\d+_set$)", array_keys($prefs)));
        while ($i < $custom_fields_num) {
            $i++;
            if (!empty($prefs['custom_'.$i.'_set'])) {
                $out[$i] = strtolower($prefs['custom_'.$i.'_set']);
            }
        }
        return $out;
    }
?>

Is this still the preferred method? Would something like this ever make it into core?

Thanks!

Last edited by johnstephens (2008-11-22 17:39:52)

Offline

#38 2008-11-22 18:14:17

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

Re: Feedback to: Help us test the release candidate for the upcoming 4.0.7

johnstephens wrote:

About glz_custom_fields, is there now a non- hack work-around to get more than ten custom fields? In 4.0.6, it was necessary to modify the publish.php file:

Is this still the preferred method? Would something like this ever make it into core?

Yeah, I second that. Not that I don’t like hacking and all…

Last edited by mrdale (2008-11-22 18:14:32)

Offline

#39 2008-11-22 18:17:09

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

Re: Feedback to: Help us test the release candidate for the upcoming 4.0.7

Wrong place to mention this, but isn’t it about time we got a “save new” button on the default install.

Offline

#40 2008-11-22 18:34:05

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

Re: Feedback to: Help us test the release candidate for the upcoming 4.0.7

thebombsite wrote:

A minor point. On the “Write” tab, under “Advanced Options” all the “help” links are alongside the titles except for “Override form” which for some reason is placed after the “select”.

I’ve changed this but I would need a few cross browser tests for any jumping form elements upon toggling “Advanced” options and such, especially with edge cases, i.e. cases where the contents of select options or input boxes exceeds the element’s width.

Offline

#41 2008-11-22 18:49:53

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

Re: Feedback to: Help us test the release candidate for the upcoming 4.0.7

johnstephens wrote:

Is this still the preferred method? Would something like this ever make it into core?

mrdale wrote:

Yeah, I second that. Not that I don’t like hacking and all…

Thanks!

Offline

#42 2008-11-22 18:53:23

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

Re: Feedback to: Help us test the release candidate for the upcoming 4.0.7

Please refrain from off-topic postings. We are trying to build a final release here, and adding noise to the signal does not help.

Offline

#43 2008-11-22 19:04:44

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: Feedback to: Help us test the release candidate for the upcoming 4.0.7

Thanks Robert. I’ll give it a few tests with different browsers when I’ve uploaded iit. I’ll post back.

Last edited by thebombsite (2008-11-22 19:05:40)


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#44 2008-11-22 20:58:13

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

Re: Feedback to: Help us test the release candidate for the upcoming 4.0.7

wet wrote:

Please refrain from off-topic postings. We are trying to build a final release here, and adding noise to the signal does not help.

OK Dad.

Offline

#45 2008-11-22 21:44:55

Logoleptic
Plugin Author
From: Kansas, USA
Registered: 2004-02-29
Posts: 482

Re: Feedback to: Help us test the release candidate for the upcoming 4.0.7

I have a question about the new template parser. I’ve built a handful of sites that rely, sometimes heavily, upon asy_wondertag’s tags-as-attributes feature. Since the new parser has this feature built in, will the wondertag plugin stop working? It’s great to have the feature by default now, but I’m wondering how much template rewriting I should plan for as sites get upgraded.

I’d test this myself, but I’m wrapped up in a high-priority project all weekend. I can’t be the only one facing this situation, though. If anyone can find an answer you’d be helping out a lot of wondertag users. Thanks!

Offline

#46 2008-11-22 22:54:54

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

Re: Feedback to: Help us test the release candidate for the upcoming 4.0.7

The wondertag plugin still works. I’ve been testing some of my old sites with the 4.0 dev version, and they work side by side. Using smd_where_used you can easily go through and nip out each instance in your own.

I also relied heavily on chh_if_data, which is no longer needed if you use txp:if_variable. That plugin works too.

Offline

#47 2008-11-22 23:00:57

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

Re: Feedback to: Help us test the release candidate for the upcoming 4.0.7

Has anyone tested 4.07 with glz_custom_fields and any other advanced plugins?

Offline

#48 2008-11-22 23:02:00

graeme
Plugin Author
Registered: 2004-06-21
Posts: 337
Website

Re: Feedback to: Help us test the release candidate for the upcoming 4.0.7

The default first article points to the “Textbook Wiki” – a page which doesn’t exist yet.

Offline

Board footer

Powered by FluxBB