Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

All other Modules

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Simple Guestbook module


Go to End
Reply

85 Posts   31347 Views

Avatar
Euphemismus

8 December 2009 at 9:15pm Community Member, 82 Posts

Hi folks,

I've recently published [url=http://silverstripe.org/simple-guestbook-module/]my first module[/url] :-)
If you encounter any problems, this would be the thread to post into.
Also I'm open for anny suggestions, comments and feedback!

Avatar
mathiasmex

19 January 2010 at 1:51am (Last edited: 19 January 2010 1:52am), Community Member, 28 Posts

Hi Euphemismus,

I just played around with your new module. Looks all good. Is there a way to display headlines and first 15 words of guestbook entries in the sidebar or any other place on the site ? Tried to use a custom function without success. Can you give me a hint ?

Noticed that when a guest enters his/her homepage without "http://", the given URL is http://www.yourdomain.com/www.theguestdomain.com.

Thanks,

mathiasmex

Avatar
Euphemismus

19 January 2010 at 2:16am Community Member, 82 Posts

Hi mathiasmex,

thank you for the feedback!
Displaying latest guestbook entries in the sidebar should be done with a widget (which I haven't programmed, yet ;-)).
Try the [URL=http://doc.silverstripe.org/doku.php?id=widgets]widgets dokumentation[/url] - if you have any questions on the data structure, don't hesitate to ask :-)
The URL-Thing will be dealt with within the next sub-version of the guestbook.

Regards,
Marc

Avatar
mathiasmex

19 January 2010 at 3:55am Community Member, 28 Posts

Hi Euphemismus,

the [url=http://www.silverstripe.org/latest-blog-post-widget/]Lates Blog Post Widget[/url] with some minor modifications did it. Thanks to Nivanka.

Brgds,

mathiasmex

Avatar
Euphemismus

19 January 2010 at 10:36am Community Member, 82 Posts

Hi mathiasmex,

I've just had some time to fix the URL issue - You can download the latest version from the unstable trunk, since my next release will be the spammail protection.
Just look into the trunk ( [url=http://www.silverstripe.org/simple-guestbook-module]module page[/url] ) or download mod_guestbook-trunk-r40.tar.gz when it's generated.

Regads,
Marc

Avatar
Euphemismus

21 January 2010 at 11:17am (Last edited: 21 January 2010 11:18am), Community Member, 82 Posts

Hi,

I had a little spare time, so I've added the URL fix and optional email encoding to a new release.
You can find it on [url=http://www.silverstripe.org/simple-guestbook-module/]the module page[/url] or download [url=http://www.silverstripe.org/assets/modules/stable/mod_guestbook-vrelease_0_3_0_2010-01-20.tar.gz]this archive[/url] :-)

Feedback & suggestions are always welcome!

Regards,
Marc

Avatar
mathiasmex

21 January 2010 at 9:04pm Community Member, 28 Posts

Hi Marc,

just updated my Guestbook. Url set correctly now by adding http://.

Thanks for the changes.

Mathias

Avatar
Euphemismus

8 February 2010 at 6:34am Community Member, 82 Posts

Hi,

since I'm working on the guestbook module again, I'd welcome some opinions on the use of Ajax there.
At the moment I'm extending the data model for adding multiple comments and came across some more improvements:

  • the "add comment" form opens in a thick-/lightbox
  • after entering the comment (and the validation), it's shown instantly within the page
  • also I could add an Ajax-load of the guestbook contents in the first place, etc. but at the moment this is too much to program, since there's a lot of stuff like paging and validations etc.

Go to Top