Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2010-04-28 00:55:35

fowler
Member
Registered: 2007-02-12
Posts: 79

..create a custom permalink scheme?

I’m trying to load some links using jquery

in order for them to fire, textpattern should create a permalink that looks like this:

<a href="#/section/title" class="anchor">Title</a>

is this possible?

Last edited by fowler (2010-04-28 00:56:03)

Offline

#2 2010-04-28 02:00:29

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: ..create a custom permalink scheme?

What about <a href="#<txp:permlink />" class="anchor">Title</a>? Or does it output the full URL?

Another option, if you are inside an article or a loop of articles: <a href="#/<txp:section />/<txp:article_url_title />" class="anchor">Title</a>.


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#3 2010-04-28 02:09:28

fowler
Member
Registered: 2007-02-12
Posts: 79

Re: ..create a custom permalink scheme?

the last suggestion worked perfect.

although in between the time i posted and now, the site went down. awesome.

Offline

Board footer

Powered by FluxBB