Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#16 2006-02-22 03:41:51
- fk
- New Member

- From: Frankfurt, Germany
- Registered: 2004-09-23
- Posts: 8
Re: Admin. Facelift, take 2
wow, sweet work! thanks to both of you Mary and Philippe.
i suppose i found the quick fix for the not-language-aware top nav items kemie mentioned before. it should be only replacing <code>$event</code> with <code>$label</code> in the last line of the modified <code>areatab</code>-function in <code>txplib_head.php</code>.
in <code>txplib_head.php</code>, go find
<code>return ‘<li’.$tc.’><a ‘.$hatts.’>’.$event.’</a></li>’;</code>
and replace with
<code>return ‘<li’.$tc.’><a ‘.$hatts.’>’.$label.’</a></li>’;</code>
and you should be fine.
Last edited by fikifiki (2006-02-22 03:52:21)
Offline
Re: Admin. Facelift, take 2
wonderful, fikifiki!
worked like a charm :D
~~~~~~~~~~~~~| monolinea.com | pixilate.com | istockphoto.com/kemie |~~~~~~~~~~~~~
Offline
Re: Admin. Facelift, take 2
Wow. Really nice work mary and phiw.
Wasn’t paying much attention to this for a while, but after giving both themes a try. I can say it DOES make a dramatic difference to zipping around a txp install. Cleaner, better visual cues and more straightforward.
I’m not sure that I want to customize every single TXP install I have though. So I’ve kinda decided to download and keep a base install of TXP with all my Plugins, custom forms, etc, and keep that updated. Then use it as the template for work I do with TXP.
Offline
Re: Admin. Facelift, take 2
Thanks Phillipe! And I thought you had forgotten :) I am downloading now. Does this new version take into account the couple of new .js changes?
Offline
Re: Admin. Facelift, take 2
Marvelous! Thank you, phiw13! Let me know if I can help. :)
Offline
Re: Admin. Facelift, take 2
Would anyone be interested in listing all the known plugins which this breaks? Could be helpful? I guess it would be all those which need “hooks” to tie into? Is this all Admin side plugins?
- I am Squared Eye and I
am launchinghave launched Pattern Tap
Offline
Re: Admin. Facelift, take 2
Depends on how much the actual structure of each tab’s contents change. Mary’s redesign originally changed a lot of the write tab which would probably require that most plugins that interact with it look for new hooks.
However if most of the changes are to the header they would probably be ok. I’ll need to install this and check it out.
Last edited by hakjoon (2006-03-09 00:41:45)
Shoving is the answer – pusher robot
Offline
#23 2006-03-09 00:51:17
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Admin. Facelift, take 2
This isn’t the same as mine at all, it’s just the CSS, images and a couple bits of my markup for the header. It doesn’t change anything anywhere else. From what I can see, all that Nils changed here was very slight, and shouldn’t effect plugins at all.
Offline
#24 2006-03-09 04:14:58
- Logoleptic
- Plugin Author

- From: Kansas, USA
- Registered: 2004-02-29
- Posts: 482
Re: Admin. Facelift, take 2
Mary wrote:
From what I can see, all that Nils changed here was very slight, and shouldn’t effect plugins at all.
That’s good news. Means it’s possible for us to get a cleaner, more user-friendly admin interface without massive breakage. A move away from layout tables should be a longer-term goal, of course, but a new coat of paint on the backend could make Textpattern less intimidating for non-techies.
Offline
Re: Admin. Facelift, take 2
Great. Good to know. Its slick.
- I am Squared Eye and I
am launchinghave launched Pattern Tap
Offline
Re: Admin. Facelift, take 2
Oh look. It broke my website. :)
From backend:
Notice: Constant DS already defined in /home/ike/public_html/textpattern/lib/txplib_misc.php on line 9
Fatal error: Call to undefined function: trace_add() in /home/ike/public_html/textpattern/lib/txplib_db.php on line 63
From front-end:
Notice: Use of undefined constant TXP_DEBUG – assumed ‘TXP_DEBUG’ in /home/ike/public_html/textpattern/lib/txplib_db.php on line 50
Fatal error: Call to undefined function: trace_add() in /home/ike/public_html/textpattern/lib/txplib_db.php on line 63
I take it that this needs to be tweaked a bit for 4.0.3? Or are we waiting for 4.1?
Offline
Re: Admin. Facelift, take 2
I have this running on 4.03.
What platform are you using? live or local, etc.?
- I am Squared Eye and I
am launchinghave launched Pattern Tap
Offline
Re: Admin. Facelift, take 2
It’s online at ikebowen.com, running on a Linux box of some kind.
Last edited by ikebowen (2006-05-01 01:12:41)
Offline
Re: Admin. Facelift, take 2
Hmm. No clue there. I thought it could have been a localhost issue? php stuff.
You may write the authors directly?
- I am Squared Eye and I
am launchinghave launched Pattern Tap
Offline
Re: Admin. Facelift, take 2
@ ikebowen
No clue really.
- Do you have some admin side plugins ? maybe there is a conflict somewhere… (I don’t use any of them, so I have littel experience with those).
- besides, the fatal error you mention is not related to anything I put in there, as far as I know.
function: trace_add(is about all the debug messages.
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
phiw13 on Codeberg
Offline