Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: [plugin] [ORPHAN] upm_quicktags: Implement Alex King’s Quicktags
First at all, thanks for this Plugin, it’s a great help for clients that don’t have the time or just don’t want to learn how textile works. The only function that I wish to change is the image insert function ‘cause is not so friendly and useful for novices.
I guess that could be a good point to replace the prompt calling for the script to open upm_img_popper but after a few minutes trying to know how to hack this, I decide it to post my inquietude here.
Is this possible?
Where to start?
Thx in advance
Offline
Re: [plugin] [ORPHAN] upm_quicktags: Implement Alex King’s Quicktags
duchamp,
Personally, I comment out the insert image function in the write.js and use the upm_img_popper to insert the images.
Refresh Dallas and other Refreshing Cities.
Offline
Re: [plugin] [ORPHAN] upm_quicktags: Implement Alex King’s Quicktags
I think that’s a good option but could be nice to have every function into the same area.
Offline
Re: [plugin] [ORPHAN] upm_quicktags: Implement Alex King’s Quicktags
Just a tip for Spanish users:
if you would like to change the dictionary and use the “Real Academia Española” instead of dictionary.reference.com just open quicktags.js and change the URL on line #408 to this:
window.open(‘http://buscon.rae.es/draeI/SrvltGUIBusUsual?TIPO_HTML=2&TIPO_BUS=3&LEMA=’ + escape(word));
Hope this will be useful for someone!
Last edited by duchamp (2005-06-03 19:03:32)
Offline
#65 2005-06-03 23:36:17
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [plugin] [ORPHAN] upm_quicktags: Implement Alex King’s Quicktags
duchamp: if you can wait maybe a day, I’ll tie in upm_img_popper officially. Meaning you’ll have another image insert button option. Obviously, I’ll have it commented out by default, but it will be there. :)
Offline
Re: [plugin] [ORPHAN] upm_quicktags: Implement Alex King’s Quicktags
woot!!
Refresh Dallas and other Refreshing Cities.
Offline
Re: [plugin] [ORPHAN] upm_quicktags: Implement Alex King’s Quicktags
Lovely!
Offline
#68 2005-06-04 02:06:26
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [plugin] [ORPHAN] upm_quicktags: Implement Alex King’s Quicktags
Look at that, not even a day. v.0.4 is here.
Offline
Re: [plugin] [ORPHAN] upm_quicktags: Implement Alex King’s Quicktags
Is it missing the edButton image “hook” on the backend? it doesn’t seem to want to grab my image button for some reason. I have tried both old and new end string for that line. There’s one less empty quote in the new commented out version.
new:
edButtons[edButtons.length] = new edImgButton(‘qt-img-popper’,‘img.gif’,’‘,’‘,‘Image’); // special
old:
edButtons[edButtons.length] = new edButton(‘qt-img-popper’,‘img’,’‘,‘Image’); // special
Thanks for the update
:)Offline
#70 2005-06-04 03:43:17
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [plugin] [ORPHAN] upm_quicktags: Implement Alex King’s Quicktags
Whoops, good catch Jamie. Yeah, the less set of quotes was why it wasn’t working. I updated the file.
Offline
Re: [plugin] [ORPHAN] upm_quicktags: Implement Alex King’s Quicktags
Hmm
I am using:
edButtons[edButtons.length] = new edImgButton(‘qt-img-popper’,‘img.gif’,’‘,’‘,‘Image’); // special
and I have cleared my cache and it’s still not hooking into and grabbing img.gif for some reason.
I get a big ugly grey button that has “undefined” printed on it.
No biggie, but I don’t get it.
(withouth the “smart quotes”) :)
Last edited by soulship (2005-06-04 03:52:59)
Offline
#72 2005-06-04 04:12:55
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [plugin] [ORPHAN] upm_quicktags: Implement Alex King’s Quicktags
edImgButtons[edImgButtons.length] = new edImgButton('qt-img-popper','img.gif','','','Image'); // special
You forgot “Img” in a couple places. :)
Offline