Textpattern CMS support forum

You are not logged in. Register | Login | Help

#31 2004-12-09 03:13:43

wilshire
Plugin Author
From: Akron, Ohio
Registered: 2004-08-27
Posts: 656
Website

Re: [plugin] [ORPHAN] zem_link

And if you have an RC2 version of TXP (at least I think thats where this first showed up) you’ll be shown the source and prompted for confirmation when you install the plugin.

Offline

#32 2005-01-15 09:46:58

carton
Plugin Author
From: Tokyo
Registered: 2004-08-10
Posts: 9
Website

Re: [plugin] [ORPHAN] zem_link

Thanks for your useful plugins, zem! I just modified zem_link to display the article excerpt as a link title when the following tag format is used:

<code>&lt;txp:zem_link title=“excerpt”&gt;linktext&lt;/txp:zem_link&gt;</code>

It’s a simple hack and possibly useful to others — maybe worth including in future versions?

Offline

#33 2005-01-27 21:24:50

Andrew
Plugin Author
Registered: 2004-02-23
Posts: 730

Re: [plugin] [ORPHAN] zem_link

zem – can you add a little thing to append an #anchor to links? Say, I want to link to my article permlink, but want to anchor-down to #post-comment.

Offline

#34 2005-01-29 00:32:29

Etz Haim
Plugin Author
From: Karlstad, Sweden
Registered: 2005-01-24
Posts: 262
Website

Re: [plugin] [ORPHAN] zem_link

I’ve found out that if the URL-only title of an article contains underscores, zem_link strips them.

Offline

#35 2005-02-25 18:36:58

michaelkpate
Moderator
From: Avon Park, FL
Registered: 2004-02-24
Posts: 1,187
Website

Re: [plugin] [ORPHAN] zem_link

This plugin is not working with RC3. Handle with caution.

Offline

#36 2005-05-01 20:30:09

bluearc21
Member
From: US.VA
Registered: 2004-02-24
Posts: 62
Website

Re: [plugin] [ORPHAN] zem_link

Just installed zem_link with a current build of RC3. It works fine, however the url-title is being duplicated.

So, if the article url-title for article “25” in section “is_it_real” is “heaven”, the <txp:zem_link href="25" /> points to domain.com/is_it_real/heavenheaven (if url-scheme is /section/title).

A quick fix is to comment out line 34.

//if ($url_mode==1) $url = $url . (empty($rs["url_title"]) ? stripSpace($rs["Title"]) : $rs["url_title"]);


“If you build it, they will come.”

Offline

#37 2005-05-04 09:07:57

ChrisJ
Member
From: Vienna, Austria
Registered: 2004-03-30
Posts: 54
Website

Re: [plugin] [ORPHAN] zem_link

bluearc, you are my star

Offline

#38 2005-05-05 23:56:35

alicson
Member
Registered: 2004-05-26
Posts: 465
Website

Re: [plugin] [ORPHAN] zem_link

that’s why they were being duplicated!?!? bluearc, you’re a <em>super</em>star! thank you :)


textpattern.org :: find and share Textpattern resources
docs.textpattern.io :: Textpattern user documentation

Offline

#39 2005-05-06 00:31:34

Etz Haim
Plugin Author
From: Karlstad, Sweden
Registered: 2005-01-24
Posts: 262
Website

Re: [plugin] [ORPHAN] zem_link

What’s wrong with this plugin (as well as with lots of other ones) is that it depends on the deprecated url_mode variable. You could either opt for bluearc’s solution, or set url_mode to 0 directly in the database as I explain here.

Offline

Board footer

Powered by FluxBB