Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#91 2009-02-15 02:44:08

Kayamon
New Member
Registered: 2009-02-15
Posts: 3

Re: wet_quicklink: Quick internal link builder

Just a FYI – on my installation (txp 4.0.8) the Insert Link button would just not show up.

Turns out this is because I was still running the site in my test mode – I had a index.html in the root directory which would override textpattern (so my existing visitors would go to the old HTML site, while I could set up the new TXP site in parallel).

You can fix this by editing the wet_quicklink plugin and changing:

echo “<script src=’” .hu.”?wet_rsrc=quicklink_js&amp;v=0.4.5’ type=‘text/javascript’></script>\n”;

to

echo “<script src=’” .hu.“index.php?wet_rsrc=quicklink_js&amp;v=0.4.5’ type=‘text/javascript’></script>\n”;

I’m just posting this in case anyone else has the same issue.

Last edited by Kayamon (2009-02-15 02:44:55)

Offline

#92 2009-03-07 21:08:02

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

Re: wet_quicklink: Quick internal link builder

wet_quicklink 0.5 has been released. No functional changes, but a few internal enhancements and speed-ups. Textpattern 4.0.7+ required.

Offline

#93 2009-03-08 18:53:32

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

Re: wet_quicklink: Quick internal link builder

Thanks for the update. One of my must must-have plugins.

Offline

#94 2009-03-08 21:55:34

masa
Member
From: North Wales, UK
Registered: 2005-11-25
Posts: 1,095

Re: wet_quicklink: Quick internal link builder

Very noticable speedup – thanks, Robert!

Offline

#95 2009-04-26 20:34:58

saccade
Plugin Author
From: Neubeuern, Germany
Registered: 2004-11-05
Posts: 521

Re: wet_quicklink: Quick internal link builder

I had some trouble with this plugin and the www-prefix.
Unfortunately depending on the way I get into my backend (or my co-workers) sometimes all URLs read www.mydomain.de and sometimes mydomain.de (which I prefer and which is given in the preferences).

Now: When in www-mode the _Insert Link_-link doesn’t appear.
It only works with sans-www-URL. Then it is pretty fine.

As far as I understand that obviously has something to do with the login-cookie.
Is it possible to make the plugin independent from “www.” or plain domain.tld?

Offline

#96 2009-04-27 06:01:59

wolle
Member
Registered: 2006-05-04
Posts: 19
Website

Re: wet_quicklink: Quick internal link builder

saccade schrieb:

I had some trouble with this plugin and the www-prefix.
Unfortunately depending on the way I get into my backend (or my co-workers) sometimes all URLs read www.mydomain.de and sometimes mydomain.de (which I prefer and which is given in the preferences).

The same type of behaviour here:
www.xxxxxxx.tld given in the preferences. The link in the backend only appears when the backend has been entered with www.xxxxxxxx.tld.

Offline

#97 2009-04-27 06:08:21

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

Re: wet_quicklink: Quick internal link builder

Enforce a “canonical URL”, and you’re set.

 RewriteCond %{HTTP_HOST} !^example\.com [NC]
 RewriteRule ^(.*)$ http://example.com/$1 [R=301,L]

Offline

#98 2009-04-27 06:28:54

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

Re: wet_quicklink: Quick internal link builder

Installing wet_quicklink v0.5 gives this error-message

A site build on Textpattern 4.0.8 …

Something to do with PHP config … !?

Thanks for any help!

Offline

#99 2009-04-27 06:54:08

saccade
Plugin Author
From: Neubeuern, Germany
Registered: 2004-11-05
Posts: 521

Re: wet_quicklink: Quick internal link builder

Thanks wet, for that quick answer.

But (maybe I’m wrong) it does work for the public-side but obviously doesn’t affect the admin-side.
On the admin-side the URL stays “domain.de/textpattern” if entered without www and stays “www.domain.de/textpattern” if entered with “www”. Odd.

Do I need to set the Rewrite explicitly in the textpattern subdirectory? (I did it in the domains root)

Or (please forgive that noobie-question) does one of those ReWrite-Rules I found here, better?

RewriteCond %{HTTP_HOST}//s%{HTTPS} ^www\.(.*)//((s)on|s.*)$ [NC]
RewriteRule ^ http%3://%1%{REQUEST_URI} [L,R=301]

(from Sitepoint mentioned here by masa)

RewriteCond %{HTTP_HOST} ^www\.domain\.com$ [NC]
RewriteRule ^(.*)$ http://domain.com/$1 [R=301,L]

(from jm im this forum)

RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L] 

(from no-www.org)

Edit No, obviously they don’t, I have tested them. All that rewriting doesn’t take effect for subdirs (textpattern) and directly called phps (e.g. if I call www.domain.de/index.php no rewrite done).

Last edited by saccade (2009-04-27 07:04:50)

Offline

#100 2009-06-16 13:28:49

feytus
Member
Registered: 2009-06-02
Posts: 43

Re: wet_quicklink: Quick internal link builder

When using the permlink option with this (v. 0.5), nothing shows up on the atual article page. When using textile, it works though. But it would be nice to have all the internal links more flexible. Any suggestions? Here’s the page I’ve been trying to add the links to (under “releases” at the bottom):

http://www.marsmelons.com/artists/30/amor-fati

Last edited by feytus (2009-06-16 13:29:34)

Offline

#101 2009-06-16 16:48:31

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

Re: wet_quicklink: Quick internal link builder

Please perform these steps and report back, at which stage you do not receive the expected result:

  1. Create a new article on the “Content > Write” tab
  2. Click inside the text area labelled “Body”
  3. Enter some body text
  4. Select / highlight (a portion of) the body text
  5. Click on the “Insert link” menu entry on the left
  6. Select the “txp:permlink” entry on the “Permanent link mode” drop-down
  7. Click on any article’s title from the QuickLink list
  8. What’s the content of the article’s body now?

Offline

#102 2009-06-18 14:44:04

feytus
Member
Registered: 2009-06-02
Posts: 43

Re: wet_quicklink: Quick internal link builder

That worked a treat – I’d just forgotten to put any text to actually show the link. :p Thanks, man!

Offline

#103 2009-08-11 05:06:45

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

Re: wet_quicklink: Quick internal link builder

No ‘Insert Link’ on the Write page (TXP 4.0.8 ) … all plug-ins installed and working! Tried all suggestions in this thread; no effort. An .xml output of wet_peex search you can find here … any help is welcome … :)

Offline

#104 2009-08-11 05:52:36

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

Re: wet_quicklink: Quick internal link builder

I see the error message, but can’t think of a reason for it to occur. Being granted admin access would eventually help…

Offline

#105 2009-08-18 10:59:56

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

Re: wet_quicklink: Quick internal link builder

I have installed wet_quicklink on my local textpattern installation on my Mac (Leopard, with the apple delivered apache+php and mysql install).

It did work, but out of the blue, the ‘insert link’ option in the admin panel for writing new content has disappeared. The plugins were not changed and still active. I have deinstalled the plugins and reinstalled them, but I can’t get them to work anymore. No error messages on installing or activating.

I have tried several browsers (Camin0 1.6.8, safari 4, Firefox 3.5) to make sure there is not some javascript blocker at work, but in every browser the same result.

Any idea where to look, what to try or how to debug to find out what is happening?

The plugins still work on the production machine, a hosted website running on a Linux install I pressume.

Offline

Board footer

Powered by FluxBB