Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#37 2006-07-17 20:44:14

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

Re: [plugin] [ORPHAN] sdr_guestbook v4.0 (as in comp. with 4.0.1)

As far as I can see this shouldn’t be the problem, but what happens if you add the pagestring_placement attribute to the tag? (values can be "top", "bottom" or "both")

Offline

#38 2006-07-17 20:49:57

xylpho
Member
From: Brest, France
Registered: 2005-10-24
Posts: 28

Re: [plugin] [ORPHAN] sdr_guestbook v4.0 (as in comp. with 4.0.1)

Thanks for your reply. For <code>pagestring_placement=“top”</code> I got an error (just ONE)

<code>tag_error <txp:sdr_guestbook section=“Guestbook” articletitle=“guestbook” pagelimit=“10” pagestring_placement=“top” /> -> Notice: Undefined variable: out on line 223
Go to content Go to navigation Go to search
</code>


don’t eat yellow snow

Offline

#39 2006-07-17 20:53:55

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

Re: [plugin] [ORPHAN] sdr_guestbook v4.0 (as in comp. with 4.0.1)

O.K. Just change production status to ‘live’ (in admin > preferences). It will probably go away ;)

Offline

#40 2006-07-17 20:58:26

xylpho
Member
From: Brest, France
Registered: 2005-10-24
Posts: 28

Re: [plugin] [ORPHAN] sdr_guestbook v4.0 (as in comp. with 4.0.1)

Ho no. That was so simple? It works
Pffff

Thanks for your help Els


don’t eat yellow snow

Offline

#41 2006-09-16 17:18:35

Ulti
New Member
Registered: 2006-09-16
Posts: 3

Re: [plugin] [ORPHAN] sdr_guestbook v4.0 (as in comp. with 4.0.1)

Hi!

I’ve got a little problem. The comments show up, but without the message. I only get the header and the date.

My tag looks like this:
<code>
< txp:sdr_guestbook section=“gbuch” pagelimit=“20” articletitle=“gbuch” form=“gbuch” pagestring_placement=“both” / >
</code>
I have a section and an article both called “gbuch”. My form “comments” is this:

<code>
<h5><txp:comment_name /> <span class=“datum”><txp:comment_time /></span></h5>
<txp:comment_message />
</code>

You can look at it here: my guestbook

Can you please help me?

Last edited by Ulti (2006-09-16 17:19:00)

Offline

#42 2006-09-16 18:10:34

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

Re: [plugin] [ORPHAN] sdr_guestbook v4.0 (as in comp. with 4.0.1)

It’s <txp:message /> :)

Offline

#43 2006-09-16 19:21:45

Ulti
New Member
Registered: 2006-09-16
Posts: 3

Re: [plugin] [ORPHAN] sdr_guestbook v4.0 (as in comp. with 4.0.1)

Thank you, it works now! :)

Offline

#44 2006-11-20 08:33:32

holli.p
Member
From: Pinneberg/Germany
Registered: 2004-04-21
Posts: 83
Website

Re: [plugin] [ORPHAN] sdr_guestbook v4.0 (as in comp. with 4.0.1)

hhmmm… my comments are not in reverse order. what happens?

i use textpattern 4.0.4

this is the conten of the site, used by the guestbook section:

<txp:article form="default" limit="20" />
<txp:sdr_guestbook section="gaestebuch" pagelimit="20" articletitle="gaestebuch" 
divid="navcontainer" pageul="navlist" commentsid="commentsid" 
pagestring_placement="both" />

and the default comment form:

<txp:message /><p>
<em>Schrieb <txp:comment_name /> am <txp:comment_time /> |
<txp:comment_permlink>Link</txp:comment_permlink><p></em>

thanx, holger

Last edited by holli.p (2006-11-20 08:34:56)


Visit my Textpattern sites:
Northerndelight | Hasenbude
Curiculum Vitare | Rezepteblock

Offline

#45 2006-11-24 16:43:56

ZeeRaX
New Member
Registered: 2006-11-24
Posts: 4

Re: [plugin] [ORPHAN] sdr_guestbook v4.0 (as in comp. with 4.0.1)

Hi there, Im quite new with TXP, but my knowledge is gettin better :) Althought I still have big problems with setting my guest book. I have found this and some other mods, but there are not working (form and messagges are not shown). Is there anyone able to help me via ICQ, MSN or just email please ?

I would be grateful for any reaction. Thanks a lot, ZeeRaX

Last version I tryied is this one: http://txp-plugins.netcarving.com/plugins/guestbook-and-comment-pack-integration
And Im using TXP ver. 4.0.4 [Sorry for double post, but dont know where it suits better]

Offline

#46 2006-11-24 19:00:15

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

Re: [plugin] [ORPHAN] sdr_guestbook v4.0 (as in comp. with 4.0.1)

Hi ZeeRax,

Did you follow the instructions on the page you mentioned? For this plugin mod you also need the comment_pack plugin, both can be downloaded from that page. If you create a form ‘guestbook_comment’ (type: comment) with the code Steve provided on his page, you need the attribute commentform="guestbook_comment" in the <txp:sdr_guestbook /> tag. The plugin help text will tell you how to set up the guestbook.
If it still doesn’t work, please post the code you’re using.

Offline

#47 2006-11-25 09:31:44

ZeeRaX
New Member
Registered: 2006-11-24
Posts: 4

Re: [plugin] [ORPHAN] sdr_guestbook v4.0 (as in comp. with 4.0.1)

Thanks for fast support Els, ofc I did (followed guide step by step), but I had problems with comment form and section – coz i used different names instead of guestbook, so I dont know what all i should change.
Well Ill try it once more now, hope it will work (i didnt add the attribute which you mentioned).

EDIT: Well… it still doesnt work :( -> my GB http://wishlist.own.cz/forum

Last edited by ZeeRaX (2006-11-25 09:45:01)

Offline

#48 2006-11-25 11:35:12

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

Re: [plugin] [ORPHAN] sdr_guestbook v4.0 (as in comp. with 4.0.1)

OK let’s give it a try ;)

So your section for the guestbook is ‘forum’. You should create an article in that section that contains the text you want to appear above the guestbook comments. Let’s name it ‘Forum article’. Then you need an article form to display this article: ‘forum-article-form’. And a comments form, to display the comments (start with the code Steve provided on his page, you can adapt it later when everything is working), ‘forum-comments-form’.
Then put this tag on your page:

<txp:sdr_guestbook section="forum" articletitle="Forum article" form="forum-article-form" commentform="forum-comments-form" />

(If you’re using the same page template for section ‘forum’ as for the other sections, wrap this tag in <txp:if_section name="forum">...</txp:if_section>.)

There are other attributes, like pagelimit (default: 10) and some for styling, you can find them in the plugin help.

And of course: don’t forget to activate the plugin ;)

Offline

Board footer

Powered by FluxBB