Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#106 2009-08-18 11:17:11

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

Re: wet_quicklink: Quick internal link builder

Try to browse to http://localhost/<sub-dir>/textpattern/index.php?wet_rsrc=quicklink_js&v=0.5 or whatever your local host entry is. You should see regular Javascript. Then return to the “Write” screen, as sometimes the sole act of visiting the script brings browsers back on track.

Offline

#107 2009-08-18 19:03:14

tennapel
Member
Registered: 2009-05-31
Posts: 62

Re: wet_quicklink: Quick internal link builder

Your comment made me inspect url’s a bit better. It has got something to do with the url you logged in to and the sitepath stored in the database.

Let me try to explain: You can approach a Mac in a network using its ‘rendez-vous’ adres, something like http://<machinename>.local/ This produces the same results as localhost on your machine.

However, if you have a site_url in your preferences that start with http://locahost and you work on textpattern install from another machine in the network, any permlink will start with http://localhost and this will force the browser on the remote machine to look for its own localhost.

If you want to test textpattern on a local install in your local network from a remote machien, you have either to make a virtual host in apache, or if you are a lazy Mac user like me, you just type the rendez-vous adress into the preferences and all is well.

However, if you work on the same machine the textpattern install is running, and you have a local bookmark in your browser to log in Textpattern starting with http://localhost, the session or cookie or whatever is used will use the ‘localhost’ domain, while every link in Textpattern starts with the rendez-vous address.

So, with a few click, your URL starts will turn from http://localhost to http://<machinename>.local and that’s when the link disappears in the admin/write panel. When I changed the URL and refreshed, the link reappears.

I think this is a very specific Mac-only, local network, log-in problem, if and only if you have administered the rendez-vous address as the site_url in your prerences.

And you won’t want to know how long it took me before I realised what was going on, with the link appearing and disappearing :-) And if you don’t understand any of what I’m writing I can empathize, I hardly do myself.

Offline

#108 2009-09-15 07:52:07

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

Re: wet_quicklink: Quick internal link builder

Mmm. Not sure why, but notice wet_quicklink 0.5 has disappeared from my TXP Tips install. Have wet_peex 0.4 too. Running a multi sites install of 4.2.

Odd, because I see some #quicklink styles in the view source. Checked its not a theme issue by changing all the themes but no cigar.

Ideas?

Offline

#109 2009-09-15 09:02:59

gerhard01
Plugin Author
Registered: 2006-12-07
Posts: 108

Re: wet_quicklink: Quick internal link builder

Ideas?

Which browser (version) are you using? I have experienced the same behavious with some Chrome and Opera beta versions (cannot recall the exact version numbers now, though…)

Offline

#110 2009-09-15 09:22:08

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

Re: wet_quicklink: Quick internal link builder

Using Safari 4.03 on Snow Leopard.

Offline

#111 2009-09-27 07:26:59

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

Re: wet_quicklink: Quick internal link builder

Robert, any news on a version that works in 4.2? (crosses fingers…)

Offline

#112 2009-09-28 16:17:01

MattD
Plugin Author
From: Monterey, California
Registered: 2008-03-21
Posts: 1,254
Website

Re: wet_quicklink: Quick internal link builder

jstubbs wrote:

Robert, any news on a version that works in 4.2? (crosses fingers…)

Jonathan, I’m using this on a 4.2 install with no problem.


My Plugins

Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker

Offline

#113 2009-09-28 17:07:46

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

Re: wet_quicklink: Quick internal link builder

Mmm. I don’t have it working on any of my 4.2 sites…must be a problem with another plugin? I have upm_image_popper on each install – could it be that?

Offline

#114 2009-09-28 20:31:41

MattD
Plugin Author
From: Monterey, California
Registered: 2008-03-21
Posts: 1,254
Website

Re: wet_quicklink: Quick internal link builder

I installed upm_img_popper and wet_quicklink still works. Do you not get the “Insert Link” link? I’m using Textpattern version: 4.2.0 (r3275)

Last edited by MattD (2009-09-28 20:32:15)


My Plugins

Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker

Offline

#115 2009-09-28 22:37:08

smdnetau
Member
From: Sydney
Registered: 2008-10-09
Posts: 52
Website

Re: wet_quicklink: Quick internal link builder

Have upm_image_popper and wet_quicklink installed together and it works fine too.

Offline

#116 2009-09-29 06:17:30

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

Re: wet_quicklink: Quick internal link builder

I have the latest versions of both plugins and no, I do not see a “insert link” like I should. Not sure why.

Offline

#117 2009-09-29 06:28:37

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

Re: wet_quicklink: Quick internal link builder

Jonathan, you might experience a stale JS cache which breaks wet_quicklink in conjunction with the new jQuery that came with TXP 4.2.0.

Try this: Please navigate to http://example.com/textpattern/index.php?wet_rsrc=quicklink_js&amp;v=0.5 and http://example.com/textpattern/jquery.js and hit your browser’s “refresh” button twice or thrice. Then go back to the write screen.

Also, any signs of JS errors from Firebug, Dragonfly or Safari Inspector might come handy.

Offline

#118 2009-09-29 19:10:54

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

Re: wet_quicklink: Quick internal link builder

Mmm. I think I know what the error is – I am running my 4.2 sites from a multi-site install and by default the wet_quicklink file is requested from the /textpattern folder rather than /admin which is what it should be…

Offline

#119 2009-10-15 09:38:14

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

Re: wet_quicklink: Quick internal link builder

wet_quicklink v0.6 works with Textpattern 4.2+ on single-site and multi-site setups.

Offline

#120 2010-01-23 00:10:49

simoin
Member
From: Ireland
Registered: 2009-02-10
Posts: 50
Website

Re: wet_quicklink: Quick internal link builder

Having a problem running this in conjunction with hak tinymce,
the overlay window pops up with the links, but when I click on a link nothing happens,
I’m running on 4.2
If I disable hak tinymce it works perfectly, can’t figure it out.

Offline

Board footer

Powered by FluxBB