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
DOH!
It must be late. The images are working fine now, but width attribute is ignored after I have it working. I have it down to the one line. As soon as I uncomment the imgpop line with the edImgButtons in place the resizing fails. I comment it out and fresh reload and the buttons float left like they are supposed to. This loads before rss_admin resize, so usually this gets built and then the area gets resized and the buttons regroup after rob’s plugin kicks in. The way it’s working now is they fail to “regroup” after the admin re-sizing takes place.
Again, nothing life threatening, just different behavior pattern.
Thanks! Me tired now.
Last edited by soulship (2005-06-04 04:56:34)
Offline
#74 2005-06-04 05:20:10
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [plugin] [ORPHAN] upm_quicktags: Implement Alex King’s Quicktags
“..but width attribute is ignored… “
That shouldn’t have changed at all, since that area wasn’t touched. It might be that now we’re running into plugin conflict, but of course I can’t be certain about that.
So how exactly are you merging the two with regard to width? Are you keeping the “toolbar width” line in your config files? Just so you know, it can be safely removed from all three files.
If that’s not helping, tomorrow I’ll put the two plugins together to see what happens and see if I can figure it out.
Offline
Re: [plugin] [ORPHAN] upm_quicktags: Implement Alex King’s Quicktags
Well I don’t know….. I have had admin resize running since the day rob released it. I have change the write.js to a generous 690px (same as before). I will del the line in write.js and see what happens. Like I said it functions correctly until I uncomment the new upm_impop line that I added last night and then it suddenly won’t resize to the 690px.
Offline
Re: [plugin] [ORPHAN] upm_quicktags: Implement Alex King’s Quicktags
Mary, thanks for the update, works great for me. Anyway, I just updated the plugin a few minutes a go, need to check if all the functions work well, but looks like everything is in place.
Offline
#77 2005-06-05 22:12:19
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [plugin] [ORPHAN] upm_quicktags: Implement Alex King’s Quicktags
@Jamie:
“…I will del the line in write.js and see what happens..”
Only the forms and page tabs are supposed to, as the write tab automatically handles the wrapping, because of that tab’s unique page structure. If you increase that textarea’s size, the toolbar should follow along.
Offline
Re: [plugin] [ORPHAN] upm_quicktags: Implement Alex King’s Quicktags
There’s one additional button I’d like to add and I’m wondering if somsone an help me with it.
I want to add a simple button that outputs: [zz93] including the square brackets. If follow the first part of the guide in the help, and place the one line of code into the custom.js, would that be enough?
Also, what would I edit to enable the img popper plugin to work with the quicktags plugin? I’m looking at the code and I see it there but not sure what to modify.
Thanks for these really useful plguins Mary
Last edited by sekhu (2005-06-06 22:28:57)
Offline
#79 2005-06-06 22:40:27
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [plugin] [ORPHAN] upm_quicktags: Implement Alex King’s Quicktags
Yes.
Remove the two slashes (“//”) from the front of the line. Put the two slashes in front of the other img button’s line, so you don’t have two image buttons at the same time. They’d both work, but could be confusing to the user.
Offline
Re: [plugin] [ORPHAN] upm_quicktags: Implement Alex King’s Quicktags
god I;m dense! thanks for that worked like a charm.
I’ll try the new button thing next :)
Offline
Re: [plugin] [ORPHAN] upm_quicktags: Implement Alex King’s Quicktags
Hey nice stuff Mary, like your img_popper..love that one too.
This plugin works nicely in FF 1.0.5 Mac but does not show up in Safari.
Any known fix ?
Update.
Works also in Opera
Version 8.01
Build 2092
Platform MacOS X
System 10.4.2
Thx
Last edited by druzli (2005-07-22 22:45:25)
regards,
Agust
Offline
#82 2005-07-23 02:22:49
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [plugin] [ORPHAN] upm_quicktags: Implement Alex King’s Quicktags
Thanks for the info, Agust. I’ve only got access to Windows, so obviously I just hope it works for everyone else. :D
Known fixes: nope, as you’re the first to say anything about it. :D
The toolbar just doesn’t appear? I’m looking through the DOM browser support list at quirksmode, and if the list is accurate, it looks like Safari supports all the dom functions I used, so based on that I don’t know why it wouldn’t work. Do you get any JavaScript errors or warnings?
Offline
Re: [plugin] [ORPHAN] upm_quicktags: Implement Alex King’s Quicktags
Thanks for the response Mary.
Well to be honest, I,m not the best looking for error but no, I dont see any javascript errors or warnings.
In Safari, I can se that the scripts are loaded in Activity window, but in the source of the “article” index in Textpattern, I dont see anything about your plugin.
If you want, I can sed you the source in a file, just let me know.
And if I can help you further, just ask away :)
PS: Nice registration date you have, only one day sooner than me and about 1270 post ahead !
regards,
Agust
Offline
#84 2005-07-23 15:47:48
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [plugin] [ORPHAN] upm_quicktags: Implement Alex King’s Quicktags
The plugin source of the page is near the bottom – its self-contained JavaScript. For the article tab there should be 3 ‘script’ lines, 4 for forms and pages.
Offline