Textpattern Forum

You are not logged in. Register | Login | Help

#151 2011-03-21 19:02:42

masa
Member
From: Reykjavik, Iceland
Registered: 2005-11-25
Posts: 1,079

Re: [plugin] [ORPHAN] upm_quicktags: Implement Alex King’s Quicktags

When loading the Write tab FF error console shows this:

Error: document.article is undefined
Source File: http://localhost:8888/txp430/textpattern/upm_quicktags/lib/txp.js
Line: 19

Sounds like it could be the culprit?!

Edit:

Now the tag buttons show under Pages and Forms but still not in Write – strange

Last edited by masa (2011-03-21 19:06:05)

Offline

#152 2011-03-21 21:11:06

uli
Moderator
From: Cologne/Köln
Registered: 2006-08-15
Posts: 3,084

Re: [plugin] [ORPHAN] upm_quicktags: Implement Alex King’s Quicktags

Have it working, but only for pages and forms.

:P
Hrrm, great post, following masa’s one, but it wasn’t displayed yet when I submitted.

Last edited by uli (2011-03-21 21:14:20)


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#153 2011-06-13 09:07:57

Algaris
Member
From: England
Registered: 2006-01-27
Posts: 394

Re: [plugin] [ORPHAN] upm_quicktags: Implement Alex King’s Quicktags

I thought I’d install this plugin as I’d used it on an old TXP site a few years back. It works for Pages and Forms but not on the Write tab (where I was particularly interested in using it). I was testing it in Google Chrome 12.0.742.91

Any suggestions?

Offline

#154 2011-06-13 09:41:51

masa
Member
From: Reykjavik, Iceland
Registered: 2005-11-25
Posts: 1,079

Re: [plugin] [ORPHAN] upm_quicktags: Implement Alex King’s Quicktags

I guess someone with better knowledge of js could fix that error mentioned in my previous post

Offline

#155 2011-06-13 13:31:52

Algaris
Member
From: England
Registered: 2006-01-27
Posts: 394

Re: [plugin] [ORPHAN] upm_quicktags: Implement Alex King’s Quicktags

Yes I did notice your post but my knowledge of JavaScript isn’t up to much.

Offline

#156 2011-06-15 14:52:02

Algaris
Member
From: England
Registered: 2006-01-27
Posts: 394

Re: [plugin] [ORPHAN] upm_quicktags: Implement Alex King’s Quicktags

Masa: Well based on your error message the problem appears to with the txp.js file in the upm_quicktags/lib folder with this line

if (write_tab && document.article.from_view.value == 'text')

But then I guess you knew that already ;-) Just what you’d need to change to get it working I don’t know.

Last edited by Algaris (2011-06-16 08:52:36)

Offline

#157 2011-09-05 15:07:32

stephan
Plugin Author
From: Bochum, Germany
Registered: 2004-07-26
Posts: 196
Website

Re: [plugin] [ORPHAN] upm_quicktags: Implement Alex King’s Quicktags

Did anyone get this fixed for themselves by any chance? I am not sure my way to just omit the second if argument is such a good idea…

Changed

if (write_tab && document.article.from_view.value == 'text')

to

if (write_tab)

Last edited by stephan (2011-09-05 15:14:06)


Yoko for Textpattern – A free blog themeMinimum Theme – If all you want to do is write.
Note: I am currently not actively using Textpattern, so I am not in the forums very often

Offline

#158 2011-09-05 19:09:50

Mary
Sock Enthusiast
From: Canada
Registered: 2004-06-27
Posts: 6,235

Re: [plugin] [ORPHAN] upm_quicktags: Implement Alex King’s Quicktags

Sorry I haven’t responded. Try this:

if (write_tab && document.article_form.from_view.value == 'text')

My email address has changed recently. If you need to contact me, use the forum contact form.

Offline

Board footer

Powered by FluxBB