Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-10-27 09:05:48

RedFox
Member
From: Netherlands
Registered: 2005-03-25
Posts: 809
Website

'next' url isn't right ... !?

On this page the next (and prev!) url has a slash before the ? > http://dorpshuiswapse.nl/txp/agenda/?pg=2

The page is loading (!?) but the stylesheet isn’t. How can I get rid of the slash?

[edit]
It certainly has to do something about messy and/or clean url’s … that’s a tough one … some guidance please!

Last edited by RedFox (2009-10-27 09:31:56)

Offline

#2 2009-10-27 09:29:51

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

Re: 'next' url isn't right ... !?

RedFox wrote:

The page is loading (!?) but the stylesheet isn’t. How can I get rid of the slash?

You might want to fix your link-element URLs instead of the slash.

[...]href="<txp:site_url />some.css"[...]

Word is, site_url.

Offline

#3 2009-10-27 09:34:01

RedFox
Member
From: Netherlands
Registered: 2005-03-25
Posts: 809
Website

Re: 'next' url isn't right ... !?

Hi Gocom!

I’m using the <txp:newer /> and <txp:older /> tags!

<p class="paging"><txp:newer showalways="1">prev</txp:newer> | <txp:older showalways="1">next</txp:older></p>

How about that?

Last edited by RedFox (2009-10-27 09:37:44)

Offline

#4 2009-10-27 09:43:36

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

Re: 'next' url isn't right ... !?

RedFox wrote:

How about that?

No, fix stylesheet and javascript urls. There is absolutely nothing wrong in the prev and next links.

Offline

#5 2009-10-27 13:07:42

RedFox
Member
From: Netherlands
Registered: 2005-03-25
Posts: 809
Website

Re: 'next' url isn't right ... !?

OK, Gocom … now I understand … thanks … :)

<link rel="home" href="<txp:site_url />" />
<link rel="stylesheet" href="<txp:site_url />dorpshuiswapse.css" type="text/css" media="screen, projection" />
<link rel="stylesheet" href="<txp:site_url />dorpshuiswapse_print.css" type="text/css" media="print" />

The only thing is that it’s working only towards the first page … because there has to be more pages … but I’m guessing that’s something for the <smd_calendar> thread!

Offline

Board footer

Powered by FluxBB