Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
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
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
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
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
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
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
Re: Hack: Admin Image - Sorting Options
this is strange, i do not have any problems.
anybody else with this error?
Offline
Re: Hack: Admin Image - Sorting Options
this is ace, thanks Brandon
Offline
Re: Hack: Admin Image - Sorting Options
is this plugin works fine with txp 4.2 ?
<txp:txp_me />
Offline
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
Re: Hack: Admin Image - Sorting Options
lol ) sorry)
<txp:txp_me />
Offline
Re: Hack: Admin Image - Sorting Options
Thanks to whoever submitted this as a patch.
Proud Canadian. Toronto Locksmith , Actualize Consulting
Offline