Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-08-04 16:02:03

mattgilbert
Member
Registered: 2006-03-23
Posts: 70

article_url? javascript events in a permlink?

hey, sorry if these have been dealt with before. i couldn’t find any other threads on this.

is there an easy way to get an article’s url, not as a link as with permlink, but just the url?

OR

is there a way to define attributes of a permlink tag, such as javascript attributes like “onClick”, etc.?

Offline

#2 2007-08-04 17:26:45

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: article_url? javascript events in a permlink?

See Textbook
When not using the tag as a container tag it returns just the URL:

<txp:permlink />

Offline

#3 2007-08-04 17:35:21

mattgilbert
Member
Registered: 2006-03-23
Posts: 70

Re: article_url? javascript events in a permlink?

woops! sorry, i thought i read it thoroughly. thanks!

Offline

Board footer

Powered by FluxBB