Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#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
Re: [plugin] [ORPHAN] upm_quicktags: Implement Alex King’s Quicktags
Hehe yes….and I would never have known what the problem was.
Offline
Re: [plugin] [ORPHAN] upm_quicktags: Implement Alex King’s Quicktags
Can you explain how to use hakjoon’s textile custom .js?
I put the code from upm_quicktags_textile.js into custom.js but nothing seems to have changed.
Refresh Dallas and other Refreshing Cities.
Offline
Re: [plugin] [ORPHAN] upm_quicktags: Implement Alex King’s Quicktags
Rename my file write.js to use it in the write tab (page.js to use it in the page tab etc.). I wrote it before custom.js was brought into the package so I’m not 100% sure how to integrate using that (I’ve been away from textpattern lately)
I guess I should add some instructions to the file though :)
I went ahead and added a readme to the download hopefully it will make easier.
Last edited by hakjoon (2005-05-27 15:20:04)
Shoving is the answer – pusher robot
Offline