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: Vöcklabruck, Austria
Registered: 2005-06-06
Posts: 3,421
Website GitHub Mastodon

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

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

wet
Developer Emeritus
From: Vöcklabruck, Austria
Registered: 2005-06-06
Posts: 3,421
Website GitHub Mastodon

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: Vöcklabruck, Austria
Registered: 2005-06-06
Posts: 3,421
Website GitHub Mastodon

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: Vöcklabruck, Austria
Registered: 2005-06-06
Posts: 3,421
Website GitHub Mastodon

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
Member
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: Vöcklabruck, Austria
Registered: 2005-06-06
Posts: 3,421
Website GitHub Mastodon

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
Member
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

#73 2008-01-10 12:31:13

RedFox
Member
From: Netherlands
Registered: 2005-03-25
Posts: 819
Website

Re: wet_quicklink: Quick internal link builder

Importing wet_quicklink.txt gives a 500 server error
No problem with wet_peex.txt!

I host other sites at the same provider with the same specs with no problems … help needed!

Last edited by RedFox (2008-01-10 12:32:17)

Offline

#74 2008-01-10 12:51:46

net-carver
Archived Plugin Author
Registered: 2006-03-08
Posts: 1,648

Re: wet_quicklink: Quick internal link builder

RedFox

  1. Are you running your site in debugging mode?
  2. What version of php is your site using?

Steve

Offline

#75 2008-01-10 12:59:40

RedFox
Member
From: Netherlands
Registered: 2005-03-25
Posts: 819
Website

Re: wet_quicklink: Quick internal link builder

No, ‘testing’! ‘Live’ also gives a 500 error.

Specs:

Textpattern version: 4.0.5 (r2466)
Last Update: 2007-11-05 16:02:54/2007-11-05 15:52:21
Document root: /home/httpd/vhosts/joopvos.nl/httpdocs
$path_to_site: /home/httpd/vhosts/joopvos.nl/httpdocs/txp
Textpattern path: /home/httpd/vhosts/joopvos.nl/httpdocs/txp/textpattern
Permanent link mode: title_only
open_basedir: /home/httpd/vhosts/joopvos.nl/httpdocs:/tmp
Temporary directory path: /home/httpd/vhosts/joopvos.nl/httpdocs/txp/textpattern/tmp
Site URL: www.joopvos.nl/txp
PHP version: 4.3.11
GD Image Library: bundled (2.0.28 compatible); supported formats: GIF, JPG, PNG.
Server Local Time: 2008-01-10 13:58:11
MySQL: 3.23.58
Locale: en_GB.UTF-8
Server: Apache/2.0.51 (Fedora)
Apache version: Apache/2.0.51 (Fedora)
PHP Server API: apache2handler
RFC 2616 headers:
Server OS: Linux 2.6.8-022stab070.9-enterprise
Active plugins: ajw_notepad_public-0.1, upm_img_popper-1.3.6

.htaccess file contents:
————————————
#DirectoryIndex index.php index.html

#Options +FollowSymLinks
#Options -Indexes

<IfModule mod_rewrite.c> RewriteEngine On RewriteBase /txp/

RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+) – [PT,L]

RewriteRule ^(.*) index.php
</IfModule>

#php_value register_globals 0
————————————

Offline

Board footer

Powered by FluxBB