Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-09-04 11:17:57

dr.pearson
New Member
Registered: 2008-09-04
Posts: 1

permlink issue in v4.0.5

When using permlink in the following format (as shown as an example in the documentation)

<notextile>
<a href=”<txp:permlink />”>your link text</a>
</notextile>

the returned code is

<code>
<p><a href=“http://www.mysite.org/views&#8220;&#62;your link text</a></p>
</code>

which corrupts the rest of my article.

Any suugestions as to the cause?

Offline

#2 2008-09-04 11:48:08

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: permlink issue in v4.0.5

The cause is Textile Markup not Textpattern itself.

For inline usage:

==<a href="<txp:permlink />">your link text</a>==

Works while it is middle of line surround by spaces, or other letters:

<txp:permlink>your link text</txp:permlink>

For block usage:

notextile. <a href="<txp:permlink />">your link text</a>

And to notify, please update your Textpattern version. 4.0.5 is old.

Offline

Board footer

Powered by FluxBB