Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » Archives
  3. » [archived] sdr_guestbook

#16 2004-08-22 11:25:55

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: [archived] sdr_guestbook

I did that, and changed < ul $commentsul > into < br / >, and removed < /ul >. Like this:

if ($darr) {
$out.= “< br / > \n”;
$out.= sdr_formatComments($darr, $atts);
$out.= n.’< br / >$pagestring’;
}

It shows on my page: $pagestring.

(of course I removed the spaces before and after the < and >.

I also tried it exactly as you said, without changes, and then the comments are in an unordered list, but still the text $pagestring is shown.

I hate to bother you like this, but I would really like to use the plugin because it’s something I have wanted to be able to do for a long time.

EDIT: NEVER MIND, GOT IT! Changed the last line into:
$out.= “< br />$pagestring\n”;
Thank you for all your help!

Last edited by doggiez (2004-08-22 11:44:12)

Offline

#17 2004-08-22 18:19:03

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: [archived] sdr_guestbook

DONE! New page is <a href=“http://www.doggiez.nl/reakties/”>here</a>.

Thank you Sander for this great plugin!

Offline

#18 2004-09-22 18:00:43

yatil.de
Archived Plugin Author
From: Vienna/Austria
Registered: 2004-02-26
Posts: 14
Website

Re: [archived] sdr_guestbook

Well done, but i don’t like the paging, at least if you have one page it’s pretty disturbing.

But well done.

Oh, it doesnt work with foreign characters like ä (which is needed in the German word for guestbook=Gästebuch). Is there a way to use the article-number instead of the name?

URI: http://www.yatil.de/gaestebuch/


Eric Eggert
Textpattern-Sites: yatil! | Snookerblog | Schachfreunde Ruhbank

Offline

#19 2004-09-22 18:23:02

sderuiter
Plugin Author
From: Laren NH
Registered: 2004-02-24
Posts: 38
Website

Re: [archived] sdr_guestbook

> yatil.de wrote:

> Well done, but i don’t like the paging, at least if you have one page it’s pretty disturbing.

But well done.

Oh, it doesnt work with foreign characters like ä (which is needed in the German word for guestbook=Gästebuch). Is there a way to use the article-number instead of the name?

URI: http://www.yatil.de/gaestebuch/

Using the article-id where? In the tag? In the URL? I think it should also work to call the article using the ID alone.

Maybe I’ll add some code to surpress the navigation if there’s only 1 page.

Offline

#20 2004-09-22 20:06:17

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: [archived] sdr_guestbook

> sderuiter wrote:

> Maybe I’ll add some code to surpress the navigation if there’s only 1 page.

That would be nice! Especially since no one is posting, so I keep seeing this 1… ;-(

Offline

#21 2004-10-19 23:01:03

stevechamp
Member
Registered: 2004-08-13
Posts: 12

Re: [archived] sdr_guestbook

I would like to get the comments to display as divs, and use textile to convert into paragraphs, headings etc.

Is this possible with this plugin. can get the divs, but paragraphs??

Last edited by stevechamp (2004-10-20 12:23:31)

Offline

#22 2004-11-01 09:09:34

Jeena Paradies
New Member
From: Germany / Bamberg
Registered: 2004-10-16
Posts: 3
Website

Re: [archived] sdr_guestbook

Hello,

I’ve a problem with setting up this sdr_guestbook.

<ol> <li>I’ve created a specific section with the name »guestbuch«</li> <li>I’ve created a article that I want to use as the guestbook called »Guestbuch«</li> <li>I’ve filled in the body this: <blockquote> Wollt ihr uns was mitteilen? Na dann los. Wenn ihr was konkretes auf unsere News antworten möchtet dann macht es direkt dort.

< txp:sdr_guestbook section=“guestbuch” pagelimit=“10” articletitle=“Guestbuch” / > </blockquote> </li> </ol>

But when I go to this page <a href=“http://vivosomuertos.de/guestbuch/”>http://vivosomuertos.de/guestbuch/</a> nothing apears even not the normal page.

If I erase the line with < txp:sdr_guestbook section=“guestbuch” pagelimit=“10” articletitle=“Guestbuch” / > it works but of course without the guestbook. What I’m doin wrong, can anybody help me?

Jeena

Offline

#23 2004-11-01 10:15:32

sderuiter
Plugin Author
From: Laren NH
Registered: 2004-02-24
Posts: 38
Website

Re: [archived] sdr_guestbook

Jeena,

You need to setup a txp-page with the < txp:sdr_guestbook section=“guestbuch” pagelimit=“10” articletitle=“Guestbuch” / > tag, NOT an article. The body of your article should contain:

Wollt ihr uns was mitteilen? Na dann los. Wenn ihr was konkretes auf unsere News antworten möchtet dann macht es direkt dort.

So, where normally you would have a <txp:article > tag, just replace this with the correct <txp:sdr_guestbook> tag.

Good luck!

Last edited by sderuiter (2004-11-01 10:38:19)

Offline

#24 2004-11-01 10:21:59

Jeena Paradies
New Member
From: Germany / Bamberg
Registered: 2004-10-16
Posts: 3
Website

Re: [archived] sdr_guestbook

Yes it works! Thanks a lot, it was so easy and I wasn’t able to figure it out for a week.

Jeena

Offline

#25 2004-11-01 10:35:08

sderuiter
Plugin Author
From: Laren NH
Registered: 2004-02-24
Posts: 38
Website

Re: [archived] sdr_guestbook

Jeena,

Do you have a comments tag in your default txp-form? I left an entry in your guestbook, but it’s not showing up. However, navigating to the article itself (change section to news2) reveals the comment….

Offline

#26 2004-11-01 10:39:46

Jeena Paradies
New Member
From: Germany / Bamberg
Registered: 2004-10-16
Posts: 3
Website

Re: [archived] sdr_guestbook

It is showing up on the <a href=“http://vivosomuertos.de/guestbuch/”>http://vivosomuertos.de/guestbuch/</a> page.

Offline

#27 2004-11-01 10:43:32

sderuiter
Plugin Author
From: Laren NH
Registered: 2004-02-24
Posts: 38
Website

Re: [archived] sdr_guestbook

It does! F5 works. Looks good.

Offline

#28 2004-12-28 19:12:12

Lasse
New Member
From: Aurich7Germany
Registered: 2004-12-23
Posts: 2
Website

Re: [archived] sdr_guestbook

Why are the pagenumbers of the guestbook in the list? What id do they have, so I can style them (it kinda looks like the “1” was an entry into the guestbook).

(http://www.lasseloose.com/privat/guestbook/)

Last edited by Lasse (2004-12-28 19:31:38)

Offline

#29 2004-12-28 19:44:45

sderuiter
Plugin Author
From: Laren NH
Registered: 2004-02-24
Posts: 38
Website

Re: [archived] sdr_guestbook

> Lasse wrote:

> Why are the pagenumbers of the guestbook in the list? What id do they have, so I can style them (it kinda looks like the “1” was an entry into the guestbook).

Hi,
pagenumbers are a separate list, which can be styled using ‘pageul’.

regards,
sderuiter

Offline

#30 2005-01-07 22:09:54

soulship
Member
From: Always Sunny Charleston
Registered: 2004-04-30
Posts: 669
Website

Re: [archived] sdr_guestbook

I have been playing with this for about an hour. I can not seem to get anything from this plugin. I have placed and built everything specified, but when I load the page I get the begining of my article “guestbook” and where the plugin tag should produce our coded “guestbook” all I am getting is an empty space and no comment fields.

It is <a href=“http://www.evolutiondesigns.org/guestbook”>here</a>

Any help or suggestions are appreciated.

Thanks!
Jamie

Last edited by soulship (2005-01-07 22:13:56)

Offline

  1. Index
  2. » Archives
  3. » [archived] sdr_guestbook

Board footer

Powered by FluxBB