Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: wet_quicklink: Quick internal link builder
v0.4.3 for Textpattern 4.0.5+. This version utilizes scripts and graphics that come bundled with the stock Textpattern 4.0.5 install and therefore reduces page load times for the “edit article” screen by sparing a few extra browser requests.
Offline
#62 2007-09-16 08:11:13
- Logoleptic
- Plugin Author
- From: Kansas, USA
- Registered: 2004-02-29
- Posts: 482
Re: wet_quicklink: Quick internal link builder
Much snappier now! Thanks. :-)
Offline
#63 2007-09-16 14:35:06
- candyman
- Member
- From: Italy
- Registered: 2006-08-08
- Posts: 684
Re: wet_quicklink: Quick internal link builder
Very nice but it gives me problem using it with the tru_tags plugin. The list of tags in the admin page is confused with many “Insert Link” words.
Last edited by candyman (2007-09-16 14:36:26)
Offline
Re: wet_quicklink: Quick internal link builder
v0.4.4 is very gentle while it tries to modify the write screen. No other plugins will be harmed while wet_quicklink attaches to the “Advanced” pane.
Offline
Re: wet_quicklink: Quick internal link builder
FYI, it seems that your new version also fixed a bug in IE7, where the “Insert link” link wasn’t being displayed.
But… also… looking at the DOM, I found this:
<h3 class="plain"><h3 class="plain"><a id="insert-link" href="#">Insert Link</a></h3><a onclick="toggleDisplay('advanced'); return false;" href="#advanced">Advanced Options</a></h3>
I think that code is wrong. For some reason, the “Insert link” is being added inside the h3
that belongs to the “Advanced Options” link.
Offline
Re: wet_quicklink: Quick internal link builder
Thanks, Julián. v0.4.5 is here, hopefully with a little less or even close to zero bugs.
Offline
#67 2007-09-20 08:38:11
- candyman
- Member
- From: Italy
- Registered: 2006-08-08
- Posts: 684
Re: wet_quicklink: Quick internal link builder
Already from v.0.4.4 worked perfectly and solved my problem. The ONLY things that my be improved is the localization of the “Insert Link” term on the Write tab (the others internal words inside the link box are already localized).
Great work, anyway.
Offline
Re: wet_quicklink: Quick internal link builder
The ONLY things that my be improved is the localization of the “Insert Link” term on the Write tab
Offline
#69 2007-09-20 08:55:21
- candyman
- Member
- From: Italy
- Registered: 2006-08-08
- Posts: 684
Re: wet_quicklink: Quick internal link builder
Yes, I’ve already did. I mean a menu in the options which allows to choose the localization with one click (dummies-proof) … ;)
Offline
Re: wet_quicklink: Quick internal link builder
Robert, any reason why Textile links are inserted with () around them? Like this:
"(Contact us)":http://www.example.com/contact/
Souldn’t it just be "Contact us":linkhere
?
Also – I get repeated tag errors using 0.45. The article markup is Textile. The errors disappear when I remove the links generated by wet_quicklink. Does not matter which permanent link mode I use, but the errors seem to be more serious using txp:permlink than anything else.
By tag errors I am referring to tag errors printing on screen (when viewing the page), and in some cases, a blank screen.
Edit: Weird. The errors just suddenly disappeared! If you could let me know about the Textile links with ( ) that would be helpful.
Last edited by jstubbs (2007-12-25 12:43:45)
Offline
Re: wet_quicklink: Quick internal link builder
jstubbs wrote:
If you could let me know about the Textile links with ( ) that would be helpful.
As a very basic concept, wet_quicklink assumes that you highlight (select) the anchor text before you insert the link, and it adds the title of the link target as a title
attribute to the resulting <A>
element.
So, if your target textfield (article body, excerpt, whatever) contains “…lorem ipsum dolor sit amend…” and you highlight the word “sit” prior starting wet_quicklink and then choose to link to another article titled “sample text”, the resulting Textile code would be "sit(sample text)":http://example.com/linkto-article
which would in turn result in <a href="http://example.com/linkto-article" title="sample text">sit</a>
Offline
Re: wet_quicklink: Quick internal link builder
Thanks Robert. I figured this out while testing. I usually just entered the link, until I discovered its much better to highlight the text first, before adding the link. Thanks for the tips.
Offline