Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#91 2006-11-14 15:16:18

Ace of Dubs
Member
Registered: 2006-04-17
Posts: 446

Re: [plugin] [ORPHAN] zem_link

Zem_Link is doing something quite strange in 4.0.4

If I set my clean URL structure to root/title, it works fine

however, if I go root/section/title (or any other variation) the plugin still insists on using root/title URL, resulting in 404 errors

Switching to permlink fixes this problem but I miss having control of title attribute.

Any ideas?

Offline

#92 2006-11-14 15:18:27

Ace of Dubs
Member
Registered: 2006-04-17
Posts: 446

Re: [plugin] [ORPHAN] zem_link

In related news, the help section has gone completely bonkers on this plugin

Offline

#93 2006-11-14 17:45:19

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

Re: [plugin] [ORPHAN] zem_link

zem_link 0.3 is broken for ages. You might have better luck here.

Offline

#94 2006-11-15 00:11:16

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: [plugin] [ORPHAN] zem_link

One note: the permlink tag is capable of linking to specific articles too.

Offline

#95 2006-11-15 13:11:25

Ace of Dubs
Member
Registered: 2006-04-17
Posts: 446

Re: [plugin] [ORPHAN] zem_link

Thanks Wet..you da man!

Mary wrote:

One note: the permlink tag is capable of linking to specific articles too.

Indeed it is, my fellow pastafarian. The only thing I don’t like about permlink is that it always puts title attribute “Permanent Link to this Article” on every link. This is okay for a blog, but for pro sites it’s just enough to grate on my perfectionist nerve. If there was some way to turn this off, I wouldn’t need zemlink.

Offline

#96 2006-11-15 14:04:16

soulship
Member
From: Always Sunny Charleston
Registered: 2004-04-30
Posts: 669
Website

Re: [plugin] [ORPHAN] zem_link

The only thing I don’t like about permlink is that it always puts title attribute “Permanent Link to this Article” on every link…..If there was some way to turn this off, I wouldn’t need zemlink.

I am butting in here, so I may be taking this out of context, but this was driving me nuts too! Thanks to asy_wondertag you can do this at least in your article/excerpt form.

<txp:asy_wondertag>
<txp:permlink class="perm" title="
<txp:rss_auto_excerpt length="150" linktext="" linkwraptag="" showlinkwithexcerpt="0" overrideexcerpt="1" striptags="1" />"><txp:title /></txp:permlink>
</txp:asy_wondertag>

Offline

#97 2006-11-15 15:19:33

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: [plugin] [ORPHAN] zem_link

The only thing I don’t like about permlink is that it always puts title attribute “Permanent Link to this Article” on every link. This is okay for a blog, but for pro sites it’s just enough to grate on my perfectionist nerve. If there was some way to turn this off, I wouldn’t need zemlink.

Er, you can: it can be used as a single tag, rather than wrapping, and that outputs just the url, so you can build the link however you like.

Offline

#98 2007-05-10 00:54:22

Logoleptic
Plugin Author
From: Kansas, USA
Registered: 2004-02-29
Posts: 482

Re: [plugin] [ORPHAN] zem_link

I notice that the plugin is now called wet_link. If I install 0.7, do I need to replace all the instances of <txp:zem_link /> in my site?

Offline

#99 2007-05-10 05:07:32

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

Re: [plugin] [ORPHAN] zem_link

No, wet_link processes zem_link tags as well. I just renamed the plugin as I realized that while I intended to offer just a fix for it which would work for TXP 4.0, it started to deviate more and more from the original version. So this renaming would hopefully end all confusion.

wet_link’s thread is here.

Offline

#100 2010-04-09 03:40:57

laptophobo
Member
Registered: 2010-03-01
Posts: 216
Website

Re: [plugin] [ORPHAN] zem_link

Hello Zem,

I’m not sure if your zem_link plug-in will fix my problem. Here’s my problem.
I’ve elected to not use the default TXP navigation tree. Instead, I’m using my own. I’ve figured out how to hyperlink to a “Page” on my site. Example: <a href=”<txp:site_url />about/”>About Us</a>

But when I try to link to a specific Article (replacing the Page name witht the “URL-only title”, such as this:
<a href=”<txp:site_url />our-history/”>Our History</a> OR <a href=”<txp:site_url />about/our-history/”>Our History</a>
the page does not come up. That said, how does one create hyperlinks to articles?

Thank you much for your time and work.

(

Last edited by laptophobo (2010-04-09 03:42:00)


Living the Location-Independent Life: www.NuNomad.com

Offline

#101 2010-04-09 11:16:06

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: [plugin] [ORPHAN] zem_link

laptophobo

First: plugins that have [ORPHAN] in their subject title are not maintained by their author anymore. The support threads are still open because it’s possible that other plugin users can anwer support questions.

Second: you don’t need a plugin for what you want to do. Your code (without the closing slashes) should work, if it matches your permanent link mode setting (in Admin > Preferences). There is a better way though:

<a href="<txp:permlink id="123" />">Our History</a>

where "123" is the ID of your ‘Our History’ article of course.

<txp:permlink /> will always display the URL matching your permanent link mode, so if that is set to /title it will give you http://site.com/our-history and if it is set to /section/title it will be http://site.com/about/our-history.

Offline

Board footer

Powered by FluxBB