Textpattern CMS support forum

You are not logged in. Register | Login | Help

#21 2016-09-12 18:50:08

phuture303
Member
Registered: 2008-09-14
Posts: 127

Re: Feedback to: Textpattern CMS 4.6.0 released

philwareham wrote #301382:

Hi. That’s planned for a later release, not 4.6.

Ok, thanks!

Offline

#22 2016-09-12 19:01:41

giz
Member
From: New Zealand
Registered: 2004-07-26
Posts: 163
Website

Re: Feedback to: Textpattern CMS 4.6.0 released

Fantastic work everyone: a big thank you to all involved.

Offline

#23 2016-09-13 04:05:38

GugUser
Member
From: Quito (Ecuador)
Registered: 2007-12-16
Posts: 1,391

Re: Feedback to: Textpattern CMS 4.6.0 released

I think that is no longer valid System requirements.

Offline

#24 2016-09-13 06:27:49

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 8,458
Website

Re: Feedback to: Textpattern CMS 4.6.0 released

GugUser wrote #301393:

I think that is no longer valid System requirements.

Fixed, thanks.


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

#25 2016-09-13 06:29:24

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 6,906
Website

Re: Feedback to: Textpattern CMS 4.6.0 released

Bloke wrote #301394:

Fixed, thanks.

It still mentions v4.5. Should that be v4.6?


Yiannis
——————————
neme.org | hblack.net | LABS | State Machines | NeMe @ github

Offline

#26 2016-09-13 06:43:14

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 8,458
Website

Re: Feedback to: Textpattern CMS 4.6.0 released

colak wrote #301395:

It still mentions v4.5. Should that be v4.6?

OK, really fixed now :-)


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

#27 2016-09-14 00:59:49

JimJoe
Member
From: United States
Registered: 2010-01-30
Posts: 484
Website

Re: Feedback to: Textpattern CMS 4.6.0 released

Thanks for all the work !

Offline

#28 2016-09-14 13:54:58

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

Re: Feedback to: Textpattern CMS 4.6.0 released

Thank you! Thank you!

Did something change about the way $variable works? I have the following code working under 4.5.7, but it throws an “undefined index” error on 4.6:

<txp:php>

global $variable;

if ($variable['my_variable']) {
  $variable['my_variable'] = ' '.$variable['my_variable'];
} else {
  $variable['my_variable'] = '';
}

</txp:php>
philwareham wrote #301382:

Hi. That’s planned for a later release, not 4.6.

Is the “ghost” Robert? What happened?

Offline

#29 2016-09-14 14:03:06

philwareham
Core designer
From: Farnham, Surrey, UK
Registered: 2009-06-11
Posts: 3,092
Website

Re: Feedback to: Textpattern CMS 4.6.0 released

johnstephens wrote #301456:

Is the “ghost” Robert? What happened?

Ha! That is where we ported the issues across from Google Code, it made all old commenters a ghost for some reason.

Offline

#30 2016-09-14 14:04:30

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 8,458
Website

Re: Feedback to: Textpattern CMS 4.6.0 released

johnstephens wrote #301456:

Did something change about the way $variable works?

Don’t think so, but our warning levels changed so your PHP version may be throwing the warning now, when it didn’t (but should have) under 4.5.7. The error-free way to check if a variable exists in PHP is either:

if (isset($variable['my_variable'])) { ... }

or:

if (!empty($variable['my_variable'])) { ... }

Though be careful of the latter if you expect values that can be evaluated as empty, such as 0, false, null, '', etc.


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

Board footer

Powered by FluxBB