Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#25 2004-12-08 07:35:14

e-sven
Archived Plugin Author
From: Berlin, Germany
Registered: 2004-11-12
Posts: 17
Website

Re: [plugin] [ORPHAN] zem_link

If there are unencoded quotes in the content, zem_link doesn’t encode them. So the output is not valid. Add a call to htmlentities for $title fixes it.

$title = ($title ? “ title=\”“.htmlentities($title).”\”“ : “”);


Sven
<bc />

Offline

#26 2004-12-08 12:58:59

e-sven
Archived Plugin Author
From: Berlin, Germany
Registered: 2004-11-12
Posts: 17
Website

Re: [plugin] [ORPHAN] zem_link

Seems to be an problem with txp:title. It does not encode Quotes. So the fix shouldn’t be in zem_link.


Sven
<bc />

Offline

#27 2004-12-08 14:26:40

odilon
Member
Registered: 2004-09-01
Posts: 15

Re: [plugin] [ORPHAN] zem_link

Can zem_link be used to assign a unique class to a link?

I want to highlight the link for the current page but can’t seem to find a way to do it.

Offline

#28 2004-12-08 14:35:01

e-sven
Archived Plugin Author
From: Berlin, Germany
Registered: 2004-11-12
Posts: 17
Website

Re: [plugin] [ORPHAN] zem_link

txp:zem_link class=“yourclass” ;-)


Sven
<bc />

Offline

#29 2004-12-09 02:35:55

whit
New Member
Registered: 2004-12-02
Posts: 2

Re: [plugin] [ORPHAN] zem_link

Pardon. This will be obvious to many, but not yet to me, I’m sure already discussed elsewhere but I haven’t found it yet. When I go to http://vigilant.tv/documents/tp/zem_link-0.3.txt I see a file with a long encoded string in it. However, while I trust the author in this case, I don’t as policy run anything on a production server where I don’t at least in principle have the ability to read the source. Is that available on this?

Offline

#30 2004-12-09 02:47:38

Remillard
Plugin Author
From: Lenexa, KS
Registered: 2004-05-16
Posts: 169

Re: [plugin] [ORPHAN] zem_link

Sure. If you upload the plugin, it is not enabled until you click on the No/Yes enabled link. Regardless of enabling it, you can click on the plugin title and see the full plugin code and any included documentation.

Offline

#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
Archived 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
Archived 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,379
Website GitHub Mastodon

Re: [plugin] [ORPHAN] zem_link

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

Offline

Board footer

Powered by FluxBB