Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#61 2007-09-16 07:38:05

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,275
Website

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.

!http://www.maidireblog.it/immagini/varie/TruTags-WetLink.jpg!

Last edited by candyman (2007-09-16 14:36:26)

Offline

#64 2007-09-18 15:25:12

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,275
Website

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

#65 2007-09-19 00:33:05

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

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.


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#66 2007-09-19 15:20:36

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,275
Website

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

#68 2007-09-20 08:40:39

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,275
Website

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

Quel fromage!

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

#70 2007-12-25 11:50:09

jstubbs
Moderator
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

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

#71 2007-12-27 11:29:15

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,275
Website

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

#72 2007-12-27 12:01:57

jstubbs
Moderator
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

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

Board footer

Powered by FluxBB