Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-10-01 21:36:51

robin746
Member
From: Ireland
Registered: 2007-09-22
Posts: 113
Website

customising link_to_prev

I need to add my own class to the anchor tag that is generated by <txp:link_to_prev>. I see that <txp:prev_title /> gives me the title of the previous article, but how do I get the address of it, to manufacture my own anchor?


robin

Offline

#2 2007-10-01 23:06:36

robin746
Member
From: Ireland
Registered: 2007-09-22
Posts: 113
Website

Re: customising link_to_prev

OK, well I hacked myself a solution starting with the jk_neighbour plugin provided here. While I was at it I fixed the bug that had the sortby argument defaulting to “title”. For compatibility it should be “posted”.


robin

Offline

Board footer

Powered by FluxBB