Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#61 2008-12-20 00:36:06

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

Re: rah_textile_bar

maniqui wrote:

Hi Gocom, thanks for the answer.

It’s a 4.0.6 installation. Upgrading jquery to latest version fixed the issue. :D

Nice :)

Offline

#62 2009-01-29 19:23:57

saccade
Plugin Author
From: Neubeuern, Germany
Registered: 2004-11-05
Posts: 521

Re: rah_textile_bar

Very nice plugin and very handy at the moment for a site renewal.
Thanks!
And PS: Working without a problem in 4.0.8 (upgrade).

But I wonder why no one asked for a bar working in the excerpt area.
Is that possible? It needs to be additional, body and excerpt.

Or did I completely miss an obvious thing?

Last edited by saccade (2009-01-29 19:25:09)

Offline

#63 2009-01-29 20:01:36

candyman
Member
From: Italy
Registered: 2006-08-08
Posts: 684

Re: rah_textile_bar

I’m using it with 4.0.8 too. Truly Amazing: powerful and light.

I think that adding the bar in the excerpt area would be redundant… and could slow down the thing… An improvement should be a better placement of the icons: I would suggest to put them over the whole text area (beside the word “Corpo”): actually the upper side-label (text) beside the text area (the other two are “html” and “preview”) appears beside the second row of the icons.

Take a look at my admin side (powered by nemoorange):

Maybe the better place should be between the body and the excerpt text areas: working with the text area currently active. In this case the bar would be closer to both imput areas.

Offline

#64 2009-01-29 20:09:15

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

Re: rah_textile_bar

You can push the side tabs down in your textpattern css by adding some padding-top to the “td#article-tabs” selector. I find about 170px works for my own style.


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#65 2009-01-29 20:15:02

saccade
Plugin Author
From: Neubeuern, Germany
Registered: 2004-11-05
Posts: 521

Re: rah_textile_bar

Hm, using the buttons in the excerpt field doesn’t work in my install.
Textile is active in both,
but if I work in the excerpt field and try to use one of those buttons it won’t do anything in the excerpt field, but instead will add a single mark * or _ or whatever in the body area.

Offline

#66 2009-01-29 20:58:44

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

Re: rah_textile_bar

candyman wrote:

I’m using it with 4.0.8 too. Truly Amazing: powerful and light.

Thank you.

saccade wrote:

Hm, using the buttons in the excerpt field doesn’t work in my install.
Textile is active in both,
but if I work in the excerpt field and try to use one of those buttons it won’t do anything in the excerpt field, but instead will add a single mark * or _ or whatever in the body area.

It’s meant to do that and be that way – VIP for body.

candyman wrote:

I think that adding the bar in the excerpt area would be redundant…

It’s meant to do that and be that way.

candyman wrote:

An improvement should be a better placement of the icons: I would suggest to put them over the whole text area (beside the word “Corpo”): actually the upper side-label (text) beside the text area (the other two are “html” and “preview”) appears beside the second row of the icons.

Yep as thebombsite said, if you use custom styles, style it yourself to full-fill your custom needs :) Every user have their own preferences and likes and plus no one can know which styles you’re using. Styling the bar to specific location will cause messy results.

Last edited by Gocom (2009-01-29 20:59:33)

Offline

#67 2009-01-29 21:19:56

saccade
Plugin Author
From: Neubeuern, Germany
Registered: 2004-11-05
Posts: 521

Re: rah_textile_bar

Gocom wrote:

It’s meant to do that and be that way – VIP for body.

Of course and it’s title says that – I know.
But I’d like to extend its qualities to the nVIP excerpt ;-)

Or at least my clients would like. Obviously I cannot convince them, that adding those Textile-Shorthands manually is much more economical and ergonomic.
They want buttons.
So I’d like to give them good buttons.

A hint for me how to do it would perhaps be enough :-)

Last edited by saccade (2009-01-29 21:20:43)

Offline

#68 2009-01-30 17:17:11

nabrown78
Member
From: Northampton, MA, USA
Registered: 2006-10-04
Posts: 294
Website

Re: rah_textile_bar

This is a brilliant plugin – just what I was looking for to help my clients who can’t be bothered to learn some simple markup. Ugh. Anyway, is it possible to skip the “rel” and “title” attributes for links. I KNOW they are proper sematics/accessibility and all that, but anyone who has worked with clients will know it will just be frustrating for them.

I looked around the code for the javascript, but couldn’t find any way to view and edit it.

Any help appreciated. I really want to get this client up and running and off my back!

Offline

#69 2009-01-30 17:45:58

nabrown78
Member
From: Northampton, MA, USA
Registered: 2006-10-04
Posts: 294
Website

Re: rah_textile_bar

Okay, I figured it out. The js is encoded and stored in $js = “big long encoded string here” in the plugin. So I decoded it, snipped out the “rel” and “title” lines, re-encoded it and pasted it back into the plugin. I’m sure this offends some people’s web-standards sensibilities, and rightly so, but clients are clients. Here’s the new encoded js string if anyone wants it:

CXZhciBoYWtfdGV4dGlsZV90YWdfaW5pdGlhbGl6ZWQgPSAwOw0KCWZ1bmN0aW9uIGFkZEV2ZW50KG9iaiwgZXZUeXBlLCBmbil7DQoJCWlmIChvYmouYWRkRXZlbnRMaXN0ZW5lcil7DQoJCQlvYmouYWRkRXZlbnRMaXN0ZW5lcihldlR5cGUsIGZuLCB0cnVlKTsNCgkJCXJldHVybiB0cnVlOw0KCQl9IGVsc2UgaWYgKG9iai5hdHRhY2hFdmVudCl7DQoJCQl2YXIgciA9IG9iai5hdHRhY2hFdmVudCgib24iK2V2VHlwZSwgZm4pOw0KCQkJcmV0dXJuIHI7DQoJCX0gZWxzZSB7DQoJCQlyZXR1cm4gZmFsc2U7DQoJCX0NCgl9DQoNCglmdW5jdGlvbiBpbml0UXVpY2t0YWdzKGlkZW50aWZpZXIpIHsNCgkJaWYgKCFoYWtfdGV4dGlsZV90YWdfaW5pdGlhbGl6ZWQpIHsNCgkJCXZhciBnZXRDYW52YXMgPSBkb2N1bWVudC5nZXRFbGVtZW50c0J5VGFnTmFtZSgidGV4dGFyZWEiKTsNCgkJCWZvciAodmFyIGkgPSAwOyBpIDwgZ2V0Q2FudmFzLmxlbmd0aDsgaSsrKSB7DQoJCQkJaWYgKGdldENhbnZhc1tpXS5uYW1lID09IGlkZW50aWZpZXIgIHx8IGdldENhbnZhc1tpXS5pZCA9PSBpZGVudGlmaWVyKSB7DQoJCQkJCXZhciBjYW52YXMgPSBnZXRDYW52YXNbaV07DQoJCQkJfQ0KCQkJCWlmIChjYW52YXMpIHsNCgkJCQkJdmFyIHRvb2xiYXIgPSBkb2N1bWVudC5nZXRFbGVtZW50QnlJZC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3MgPSBuZXcgQXJyYXkoKTs=

Offline

#70 2009-01-31 00:19:53

alanfluff
Member
From: Ottawa, Canada
Registered: 2008-09-15
Posts: 222
Website

Re: rah_textile_bar

Pinch me, I’m dreaming! This is brilliant – thanks SO much.

I am such a fan of Textile and have seen the utter hideous mess clients make when handed a WYSIWYG-tag-squirter, so I have forced my poor clients to use Textile. This will make me popular and that’s lovely ;-)

Cheers!


At LAST I’ve cheerfully donated to the core devs at #TXP. I only wish I were able to give more. Thanks to the devs and ALL fellow TXPers. -A

Offline

#71 2009-01-31 01:44:03

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

Re: rah_textile_bar

saccade wrote:

But I’d like to extend its qualities to the nVIP excerpt ;-)

Maybe someday :)

alanfluff wrote:

Pinch me, I’m dreaming! This is brilliant – thanks SO much.

Gocom pinches alanfluff NP. Thanks for kind words :)

Offline

#72 2009-02-10 16:56:49

funtoosh
Member
From: Münster, Germany
Registered: 2006-10-09
Posts: 153
Website

Re: rah_textile_bar

ahm, strangely, i still can’t make this extension work. i had tried before with oler txp-versions, right now i upgraded to 4.0.8 (jQuery 1.2.6, PHP Version 5.2.6), still: the button-images do not even display. neither in the write tab, nor in the extension tab. neither in safari nor in firefox. i do not find a difference in code in the write tab, there is no css and no html for the bar.

i’m hosting txp on a regular hosteurope-account. (that did on occasion have problems loading too big txp-plugins, or pinging other servers. apart from that, it seems fine for textpattern.)

so . . . any ideas?

Offline

Board footer

Powered by FluxBB