Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-11-15 06:16:58

nzaccardi
Member
Registered: 2009-10-29
Posts: 13

outputting an anchor tag

All I want to do it this:

<txp:anchor href=“example.com” class=“style”><txp:image id=“1” /></txp:anchor>

and the output:

<a href=“example.com” class=“style”><img src=“example.com/image/1.jpg” alt=“Some Image” title=“some image” /></a>

Can this be done… I have been looking for days.

Cheers!

Offline

#2 2009-11-15 08:40:16

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: outputting an anchor tag

What’s wrong with:

<a href=“example.com” class=“style”><txp:image id=“1” /></a>

Offline

#3 2009-11-15 14:27:48

nzaccardi
Member
Registered: 2009-10-29
Posts: 13

Re: outputting an anchor tag

jstubbs,

how do I make it dynamic?

Offline

#4 2009-11-15 14:55:13

richtestani
Plugin Author
Registered: 2009-11-08
Posts: 128

Re: outputting an anchor tag

I think you want the permlink tag

Offline

Board footer

Powered by FluxBB