Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: Admin Side Theming! (r3149)
Here’s mine. It’s the one just beneath the images.
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
#92 2009-04-18 07:17:45
- jpdupont
- Member
- Registered: 2004-10-01
- Posts: 752
Re: Admin Side Theming! (r3149)
Thanks Stuart !
Offline
Re: Admin Side Theming! (r3149)
wet wrote:
I’m aware of this.
Any updates on this?
Last edited by mrdale (2009-04-18 15:38:10)
Offline
Re: Admin Side Theming! (r3149)
I think r3177 fixes the remaining problems with admin themeing.
Heads up for theme authors: theme::announce() replaces the theme::messenger() method, for the sake of disambiguation.
Offline
Re: Admin Side Theming! (r3149)
sorry, I still have no messages… Firefox 3 mac
Firebug throws the following
[Exception... "'Syntax error, unrecognized expression: [@selected]' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "<unknown>" data: no]@
Offline
Re: Admin Side Theming! (r3149)
When/where/how exactly does this error occur? Any additional plugins loaded? Usual voodoo (clear cache, sacrifice an innocent virgin to the browser gods) performed?
Offline
Re: Admin Side Theming! (r3149)
Wet> does an install of yours display error messages correctly?
Offline
Re: Admin Side Theming! (r3149)
I have no problems with the display of messages in TXP (default theme or my own theme(s)).
No js errors of any type anywhere.
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
phiw13 on Codeberg
Offline
Re: Admin Side Theming! (r3149)
Wet> I’m still not seeing alert messages on any of the themes. I’m using firefox mac.
Offline
#100 2009-05-14 16:52:36
Re: Admin Side Theming! (r3149)
Dale, on an unrelated note: Are you currently building yet another winery site? :P
On topic: I might need a login to help you.
Offline
#101 2009-05-14 23:27:01
Re: Admin Side Theming! (r3149)
wet wrote:
Dale, on an unrelated note: Are you currently building yet another winery site? :P
On topic: I might need a login to help you.
You’ve got mail.
Yep I’ve built about 10 or 12… Next one’s a YMCA tho.
Offline
#102 2009-05-15 19:08:58
Re: Admin Side Theming! (r3149)
OK Guys…
{solved} My apologies to wet. The messages are now appearing just fine. I think that my browser was caching an old version of jQuery.
Offline
#103 2009-05-27 08:56:29
Re: Admin Side Theming! (r3149)
Just a, probably naive, question regarding the theme ‘URL’. For compatibility, should txplib_theme.php use:
$this->url = THEME.sanitizeForFile($name).DS;
or are all ‘weird’ characters valid in filenames?
Last edited by Bloke (2009-05-27 08:56:45)
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Hire Txp Builders – finely-crafted code, design and Txp
Online
#104 2009-05-27 09:06:22
Re: Admin Side Theming! (r3149)
Not all weird characters are valid in file names but I think it’s a fair assumption that a theme’s author chooses them within the constraints that are imposed by the goal. But you’re quite right, rawurlencode would eventually seem fit for those borderline coders who use blanks etc. in their directory names ;-)
Offline
#105 2009-05-28 01:43:29
Re: Admin Side Theming! (r3149)
wet wrote:
rawurlencodewould eventually seem fit for those borderline coders who use blanks etc. in their directory names ;-)
… or those that, for example, use a 3rd party plugin to extend and create their own themes ;-)
Thanks for the pointer. rawurlencode is likely better than sanitizeForFile, so I’ll poke that in the plugin.
Oh, one minor thing missing from classic.php is the screenshot entry in the manifest. The theme has a screenshot.png pic but no reference to it. Is it not used on purpose?
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Hire Txp Builders – finely-crafted code, design and Txp
Online