Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#16 2006-04-08 15:13:34

jameslomax
Member
From: UK
Registered: 2005-05-09
Posts: 448
Website

Re: Hack: Admin Image - Sorting Options

………………………but also continue posting here, re. this particular hack!

It looks good….makes you wonder why, why, this isn’t being implemented as part of the txp core? I’m getting this problem though with 4.03:

Warning: Unexpected character in input: ‘\’ (ASCII=92) state=1 in /home/…./jameslomax.com/…../textpattern/include/txp_image.php on line 2 Parse error: parse error, unexpected T_STRING in /home/…./jameslomax.com/…./textpattern/include/txp_image.php on line 2

Last edited by jameslomax (2006-04-08 15:25:00)

Offline

#17 2006-04-08 19:15:10

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Hack: Admin Image - Sorting Options

…makes you wonder why, why, this isn’t being implemented as part of the txp core?

Because no one’s patched it yet (the above is a mod/replacement, not a patch).

Offline

#18 2006-04-08 21:50:24

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

Re: Hack: Admin Image - Sorting Options

Any chance of someone with the skills to take it on them selves to patch it please.

Offline

#19 2006-04-09 07:07:00

The-Exit
Member
From: Berlin
Registered: 2005-07-16
Posts: 175
Website

Re: Hack: Admin Image - Sorting Options

Well, as far as I know, I did a patch on the svn-version, and sent it to the dev mailing list. Was there a problem?

Offline

#20 2006-04-09 11:21:19

jameslomax
Member
From: UK
Registered: 2005-05-09
Posts: 448
Website

Re: Hack: Admin Image - Sorting Options

Ah, OK – so if I understand this correctly, this alteration is an acknowledged improvement and now all it requires is ‘patching’ (presumably that means adding to the SVN?). So, yay.

I don’t use SVN myself though; it’s more stuff to think about, learn and maintain and I decided some months ago I don’t mind waiting for ‘official’ stable releases.

And on that basis…..can anyone see what gives with the error code I’m getting? (and maybe it has implications for the SVN patch? – I don’t know).

Offline

#21 2006-04-09 14:07:35

The-Exit
Member
From: Berlin
Registered: 2005-07-16
Posts: 175
Website

Re: Hack: Admin Image - Sorting Options

Afaik, for txp users, who have installed 4.0.3 just download the file, mentioned above (or txp_image.php) and replace the txp_image.php of your textpattern installation (keep a copy of the default file!).

The patch fix_txp_image_r1238.patch was transmitted to the devs. But maybe I did something wrong. Can anybody give advice?

Offline

#22 2006-04-09 17:07:45

jamiew
Archived Plugin Author
From: NYC
Registered: 2005-01-08
Posts: 74
Website

Re: Hack: Admin Image - Sorting Options

Works like a charm on a 4.0.3 installed — had trouble using the patch on my svn copy (no other changes to txp_image.php). Not super familiar with the intricacies of patch so I havn’t delved farther than it spewing a ‘failed on hunk #1.’ Not sure why the txp-dev list hasn’t responded to your post Matthias, this is a must-have for me (along with the checkboxes/multi-actions of the articles tab also)

Offline

#23 2006-04-10 05:24:38

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Hack: Admin Image - Sorting Options

But maybe I did something wrong

Nope, if you sent it in you’ll just have to wait for the patch to be reviewed and tested (there’s no real timeframe that can be given for how long that takes). If it does make it in, then it won’t appear until the next release: iIf it’s considered a small update, then it’d be in the next maintainence/bug fix release (for example: 4.0.4). If it’s considered more than that, you’d have to wait for the next major release (for example: 4.1).

Offline

#24 2006-04-17 14:27:50

jameslomax
Member
From: UK
Registered: 2005-05-09
Posts: 448
Website

Re: Hack: Admin Image - Sorting Options

jameslomax wrote:

Warning: Unexpected character in input: ‘\’ (ASCII=92) state=1 in /home/…./jameslomax.com/…../textpattern/include/txp_image.php on line 2 Parse error: parse error, unexpected T_STRING in /home/…./jameslomax.com/…./textpattern/include/txp_image.php on line 2

………..anyone? I can’t use it – it breaks.

Offline

#25 2006-04-17 14:34:05

The-Exit
Member
From: Berlin
Registered: 2005-07-16
Posts: 175
Website

Re: Hack: Admin Image - Sorting Options

this is strange, i do not have any problems.

anybody else with this error?

Offline

#26 2006-07-28 09:26:51

pieman
Member
From: Bristol, UK
Registered: 2005-09-22
Posts: 491
Website

Re: Hack: Admin Image - Sorting Options

this is ace, thanks Brandon

Offline

#27 2010-07-27 19:41:46

Katalonian
Member
From: Baku, Azerbaijan
Registered: 2010-04-18
Posts: 219
Website

Re: Hack: Admin Image - Sorting Options

is this plugin works fine with txp 4.2 ?


<txp:txp_me />

Offline

#28 2010-07-27 20:47:00

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: Hack: Admin Image - Sorting Options

Katalonian wrote:

is this plugin works fine with txp 4.2 ?

No, because it isn’t a plugin. It’s a modification to the core that made the images panel sortable.

This mod is nolonger required. The panel’s image list has been sortable for several years. Just click the column headings and the list will be rearranged.

Offline

#29 2010-07-27 21:26:23

Katalonian
Member
From: Baku, Azerbaijan
Registered: 2010-04-18
Posts: 219
Website

Re: Hack: Admin Image - Sorting Options

lol ) sorry)


<txp:txp_me />

Offline

#30 2010-07-30 21:50:49

1beb
Plugin Author
From: Canada, Ontario, Toronto
Registered: 2004-11-22
Posts: 169
Website

Re: Hack: Admin Image - Sorting Options

Thanks to whoever submitted this as a patch.

Offline

Board footer

Powered by FluxBB