Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-09-03 21:46:29

michael_hamm
New Member
Registered: 2005-08-25
Posts: 6

Zem_Link behaving oddly... to me, at least

Hi everyone,

I’ve created a form that I use for a module on the front page to link to some content on subpages. Unfortunately, what’s happening is the zem_link tag isn’t properly linking.

Note the form below (it includes zem_link and a regular permlink for testing.

<h3><txp:title /></h3>
<txp:excerpt />
<p class=“link”><txp:zem_link title=“Permanent link to ‘%s’” class=“modlink”>read more…</txp:zem_link><txp:permlink>* text or tag here *</txp:permlink></p>

When displayed, the zem_link displays the link to the article as:

http://www.example.com/article-title

Meanwhile, the permlink displays it as:

http://www.example.com/section/article-title

Anybody have any insight as to why zem_link may not be displaying the section in the URL?

Best Regards,

Michael Hamm

Offline

#2 2005-09-04 07:51:26

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,330
Website Mastodon

Re: Zem_Link behaving oddly... to me, at least

Is there a chance that you do not use the latest version of zem_link which experienced several fixes beyond the version which can be fetched from tresholdstate.com?

Offline

#3 2005-09-04 13:56:43

jonhicks
Member
From: Oxfordshire UK
Registered: 2004-03-22
Posts: 256
Website

Re: Zem_Link behaving oddly... to me, at least

Thanks for this thread though – as I wouldn’t have found the updated plugin otherwise!


Cheers,
Jon VC#9

Offline

#4 2005-09-04 18:58:58

michael_hamm
New Member
Registered: 2005-08-25
Posts: 6

Re: Zem_Link behaving oddly... to me, at least

Hi,

I’m using this (copy/pasted from my textpattern installation):

zem_link zem 0.3 Create article plinks and absolute href links

This matches with what’s on http://www.thresholdstate.com/software/3702/zem_link.

I reinstalled but to no effect.

Regards,

Michael Hamm

Offline

#5 2005-09-05 04:37:17

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,330
Website Mastodon

Re: Zem_Link behaving oddly... to me, at least

Michael,
Read this, and you will be enlightened. The version which can be downloaded from tresholdstate.com is not adopted to various changes in textpattern, clean URLs being among those. The patched and functional version will identify itself as 0.3.1 0.3.2.

//w&

Last edited by wet (2005-09-05 21:21:27)

Offline

#6 2005-09-05 19:07:56

michael_hamm
New Member
Registered: 2005-08-25
Posts: 6

Re: Zem_Link behaving oddly... to me, at least

Brilliant! This fixed my problems. I appreciate the help!

Regards,

Michael Hamm

Offline

Board footer

Powered by FluxBB