Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#25 2007-08-15 15:09:12

NicKy
Member
Registered: 2007-08-08
Posts: 13

Re: How do i separate the comments from the article ?

i use
[request_uri] => /textpattern-4.0.5/article/1/comments/
[permlink_mode] => section_id_title

Last edited by NicKy (2007-08-15 15:12:49)

Offline

#26 2007-08-15 16:40:44

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

Re: How do i separate the comments from the article ?

Is ‘comments’ your article title?

Offline

#27 2007-08-15 20:20:45

NicKy
Member
Registered: 2007-08-08
Posts: 13

Re: How do i separate the comments from the article ?

[request_uri] => /textpattern-4.0.5/article/1/first-post/comments/

same result.

Last edited by NicKy (2007-08-15 20:20:54)

Offline

#28 2007-08-15 20:31:12

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

Re: How do i separate the comments from the article ?

If you put this just below the ‘extract’ line in the code, what does it show?:

dmp($u1);dmp($u2);dmp($u3);dmp($u4);

Last edited by ruud (2007-08-15 20:34:39)

Offline

#29 2007-08-17 07:53:12

NicKy
Member
Registered: 2007-08-08
Posts: 13

Re: How do i separate the comments from the article ?

NULL
NULL
NULL
NULL

Last edited by NicKy (2007-08-17 07:53:27)

Offline

#30 2007-08-17 09:45:48

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

Re: How do i separate the comments from the article ?

That’s strange… in that case clean urls would not work at all on your website. What does this show:

<txp:php>
  global $pretext;
  dmp($pretext['req']);
  dmp(chopUrl($pretext['req']));
  extract(chopUrl($pretext['req']));
  dmp($u1);dmp($u2);dmp($u3);dmp($u4);
</txp:php>

Offline

#31 2007-08-17 09:53:08

NicKy
Member
Registered: 2007-08-08
Posts: 13

Re: How do i separate the comments from the article ?

ok i got it, erros are gone.. but it’s not doing what i want grr (almost)

i got the article but there is still the old comments block after
http://vanmeerbeck.hd.free.fr/textpattern-4.0.5/article/1/first-post

the comments but same here i got the comments but there is still the old comments block after
http://vanmeerbeck.hd.free.fr/textpattern-4.0.5/article/1/first-post/comments/

Last edited by NicKy (2007-08-17 09:58:43)

Offline

#32 2007-08-17 09:57:21

NicKy
Member
Registered: 2007-08-08
Posts: 13

Re: How do i separate the comments from the article ?

btw, i did not follow exactly what you guys said (i coiuldnt get it worked)

all i changed is the page default, the forms default, article_form, comments and comment_form

Last edited by NicKy (2007-08-17 09:58:26)

Offline

#33 2007-08-17 09:58:45

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

Re: How do i separate the comments from the article ?

Fixed. You can remove the login/password from your previous post now.
In the preferences you had “Automatically append comments to articles?” set to Yes. I changed that to No.

Last edited by ruud (2007-08-17 09:59:27)

Offline

#34 2007-08-17 09:59:24

NicKy
Member
Registered: 2007-08-08
Posts: 13

Re: How do i separate the comments from the article ?

uh om… :D GOD!
so what i did was correct ?

Last edited by NicKy (2007-08-17 10:00:25)

Offline

#35 2007-08-17 10:02:35

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

Re: How do i separate the comments from the article ?

Yes :)

Offline

#36 2007-08-17 10:20:16

NicKy
Member
Registered: 2007-08-08
Posts: 13

Re: How do i separate the comments from the article ?

thanks man, cya later :)

Offline

Board footer

Powered by FluxBB