Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#91 2009-04-14 12:13:00

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

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

#93 2009-04-18 15:37:16

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

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

#94 2009-04-21 10:21:06

wet
Developer Emeritus
From: Vöcklabruck, Austria
Registered: 2005-06-06
Posts: 3,416
Website GitHub Mastodon

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

#95 2009-04-21 15:59:37

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

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

#96 2009-04-21 16:42:55

wet
Developer Emeritus
From: Vöcklabruck, Austria
Registered: 2005-06-06
Posts: 3,416
Website GitHub Mastodon

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

#97 2009-04-24 23:33:05

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: Admin Side Theming! (r3149)

Wet> does an install of yours display error messages correctly?

Offline

#98 2009-04-25 01:29:54

phiw13
Plugin Author
From: South-Western Japan
Registered: 2004-02-27
Posts: 3,631
Website

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

#99 2009-05-14 16:48:32

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

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

wet
Developer Emeritus
From: Vöcklabruck, Austria
Registered: 2005-06-06
Posts: 3,416
Website GitHub Mastodon

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

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

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

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

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

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 12,424
Website GitHub

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

wet
Developer Emeritus
From: Vöcklabruck, Austria
Registered: 2005-06-06
Posts: 3,416
Website GitHub Mastodon

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

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 12,424
Website GitHub

Re: Admin Side Theming! (r3149)

wet wrote:

rawurlencode would 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

Board footer

Powered by FluxBB