Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
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
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
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
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
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><txp:zem_link title=“excerpt”>linktext</txp:zem_link></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
Re: [plugin] [ORPHAN] zem_link
I’ve found out that if the URL-only title of an article contains underscores, zem_link strips them.
VC3 :: weblog :: my wishlist
Offline
Re: [plugin] [ORPHAN] zem_link
This plugin is not working with RC3. Handle with caution.
Offline