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
Everything looks fine here. Have you used rss resize plugin by chance?
Offline
#32 2005-05-20 20:12:53
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [plugin] [ORPHAN] upm_quicktags: Implement Alex King’s Quicktags
Ah crap. There are no known conflicts. But I know what the problem is. One moment…
Offline
#33 2005-05-20 20:17:03
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [plugin] [ORPHAN] upm_quicktags: Implement Alex King’s Quicktags
Plugin adjusted. Try again? :)
Last edited by Mary (2013-01-24 17:24:27)
Offline
Re: [plugin] [ORPHAN] upm_quicktags: Implement Alex King’s Quicktags
What was wrong with it? I didn’t notice anything.
Offline
#35 2005-05-20 20:40:07
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [plugin] [ORPHAN] upm_quicktags: Implement Alex King’s Quicktags
When I added the custom.js, I had changed the order of including the js files, which can make a difference. All I needed to do was arrange them in the right order.
Offline
Re: [plugin] [ORPHAN] upm_quicktags: Implement Alex King’s Quicktags
!
Still not working – same problem…..
Offline
#37 2005-05-20 21:27:18
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [plugin] [ORPHAN] upm_quicktags: Implement Alex King’s Quicktags
Did you uninstall the plugin, download the new version and install it?
Offline
Re: [plugin] [ORPHAN] upm_quicktags: Implement Alex King’s Quicktags
Even more fundamental: deleted it, loaded the new .txt and ftp-d the new folder completely.
!
Offline
#39 2005-05-20 21:48:26
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [plugin] [ORPHAN] upm_quicktags: Implement Alex King’s Quicktags
What the… oh yay, my ftp is borked again. Every once in a while it does this.
Make sure your browser’s cache gets cleared. Replacing the files isn’t necessary, just the plugin .txt.
If you aren’t forever immunized against my plugin, try once more.
Offline
Re: [plugin] [ORPHAN] upm_quicktags: Implement Alex King’s Quicktags
Done.
Same story….just the quicklinks drop-down.
!!
Offline
#41 2005-05-20 22:24:27
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [plugin] [ORPHAN] upm_quicktags: Implement Alex King’s Quicktags
I’ve verified this from the download myself, and it is correct now.
When you load the plugin and you preview the code, (or check via “edit”) check that in the function named “upm_quicktags_article”, the second line should be like:
...upm_quicktags/write.js...
followed by
...upm_quicktags/lib/txp.js...
If those two are in a different order, then you’re still getting the old plugin code somewhere.
Offline
Re: [plugin] [ORPHAN] upm_quicktags: Implement Alex King’s Quicktags
OK.
This is what I’m getting:
if (txpinterface == ‘admin’)
{
register_callback(‘upm_quicktags_article’,‘article’);
register_callback(‘upm_quicktags_form’,‘form’);
register_callback(‘upm_quicktags_page’,‘page’);
}
function upm_quicktags_article($event)
{
echo n.’<script id=“write_tab” type=“text/javascript” src=“upm_quicktags/lib/quicktags.js”></script>’;
echo n.’<script type=“text/javascript” src=“upm_quicktags/lib/txp.js”></script>’;
echo n.’<script type=“text/javascript” src=“upm_quicktags/write.js”></script>’;
echo n.’<script type=“text/javascript” src=“upm_quicktags/custom.js”></script>’;
}
function upm_quicktags_form($event)
{
echo n.’<script id=“forms_tab” type=“text/javascript” src=“upm_quicktags/lib/quicktags.js”></script>’;
echo n.’<script type=“text/javascript” src=“upm_quicktags/lib/txp.js”></script>’;
echo n.’<script type=“text/javascript”>var toolbar_width = \‘368px\’;</script>’;
echo n.’<script type=“text/javascript” src=“upm_quicktags/forms.js”></script>’;
echo n.’<script type=“text/javascript” src=“upm_quicktags/custom.js”></script>’;
}
function upm_quicktags_page($event)
{
echo n.’<script id=“pages_tab” type=“text/javascript” src=“upm_quicktags/lib/quicktags.js”></script>’;
echo n.’<script type=“text/javascript” src=“upm_quicktags/lib/txp.js”></script>’;
echo n.’<script type=“text/javascript”>var toolbar_width = \‘600px\’;</script>’;
echo n.’<script type=“text/javascript” src=“upm_quicktags/pages.js”></script>’;
echo n.’<script type=“text/javascript” src=“upm_quicktags/custom.js”></script>’;
}
………is there something I need to edit there? and can I just edit and save it?
Offline
#43 2005-05-20 22:42:38
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [plugin] [ORPHAN] upm_quicktags: Implement Alex King’s Quicktags
“is there something I need to edit there? and can I just edit and save it?”
Yes you can. Or at least should… sheesh… ;p
Here’s the plain text for the plugin (edit: link removed) part.
Last edited by Mary (2005-05-21 04:08:07)
Offline
Re: [plugin] [ORPHAN] upm_quicktags: Implement Alex King’s Quicktags
Hurrah!
Thanks
Offline
#45 2005-05-20 23:00:33
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [plugin] [ORPHAN] upm_quicktags: Implement Alex King’s Quicktags
So its working now? Fantastic. What a job, eh? ;)
Offline