Page 1 of 1
help with possible new module?!
Posted: Wed Apr 27, 2005 10:14 am
by Geo
hey guys,
my client has asked me to implement a simple guestbook feature to the website i've built...inshort they are looking to have three things.
a) the guestbook to layout inputted data as such: (its okay if they simple rack up under each other)
date/time of visit Name of Visitor Message
11/05/04 12:15 Howard Hello, long time no see....
b) the ability to moderate the posts to the guest book (automatically set to unauthorised perhaps?) before posting them to the live website.
c) a simple form for posting the entries...
any thoughts on an existing module which would do this, or that might be hackable by a determined n00b? How hard would it be in your opinion for me to write a module to do this comparitively simple task? I'm certainly not a programmer in any language to any real level of proficiency but i'm a good copy paste/code butcher if need be.
any thoughts would be really appreciated
regards,
Geo.
Re: help with possible new module?!
Posted: Wed Apr 27, 2005 10:56 am
by jah
There is already a guestbook module (It is called gastbuch). I think it has the functionality you need. You can use CSS to style it.
For the moderation issue se this link:
http://forum.cmsmadesimple.org/index.ph ... 774.0.html.
Jon
Re: help with possible new module?!
Posted: Wed Apr 27, 2005 3:20 pm
by Geo
thanks jah!
i'm looking at the gastbuch module at the moment i've implemented but i'm having a few issues getting it to lay out the content the way i'd like to to be, in the single line format as above - its a great module in terms of function and i'm still hopeful in being able to use it

However if i cant get it to display the way the client is requesting i'm looking at other options now rather than later if you understand my logic
Geo.
Re: help with possible new module?!
Posted: Wed Apr 27, 2005 4:14 pm
by jah
I have used the guestbook on this site:
http://www.roseliabarnehage.no/index.php?page=Gjestebok. The CSS I have used is like this:
Code: Select all
.cms-gastbuch-div-insertbutton {
}
.cms-gastbuch-div-counseit {
/*display : none;*/
}
.cms-gastbuch-div-back {
}
.cms-gastbuch-div-vor {
}
.cms-gastbuch-div-show{
font-size : 8pt;
margin-top : 14px;
width : 420px;
padding : 5px;
}
/****** Navn ********/
.cms-gastbuch-div-show-name {
height : 25px;
background : url(../images/person.gif) no-repeat;
border-bottom : 1px dashed #c0c0c0;
}
.cms-gastbuch-div-show-value-name {
position: relative;
top: -25px;
left: 30px;
font-size: 7pt;
font-size: 10pt;
font-weight: bold;
font-family: cursive;
}
/****** Dato *******/
.cms-gastbuch-div-show-date {
display: none;
}
.cms-gastbuch-div-show-value-date{
position: relative;
top: 17px;
left: 330px;
font-size: 7pt;
}
/****** E-post *******/
.cms-gastbuch-div-show-e-mail {
display: none;
}
.cms-gastbuch-div-show-value-e-mail{
display: none;
}
/****** Hjemmeside *******/
.cms-gastbuch-div-show-homepage {
display: none;
}
.cms-gastbuch-div-show-value-homepage{
display: none;
}
/****** Melding *******/
.cms-gastbuch-div-show-message {
display: none;
}
.cms-gastbuch-div-show-value-message {
position: relative;
top: -10px;
}
.cms-gastbuch-div-insert-homepage {
display: none;
}
.cms-gastbuch-div-insert-value-homepage {
display: none;
}
I'm sure you can modify some of this for your needs. Another possibility is to modify the PHP to lay out the info in a table according to your needs. That would not be so difficult.
Jon
Re: help with possible new module?!
Posted: Wed Apr 27, 2005 4:25 pm
by Geo
mate your a total star! i've just applied a bit of the commonsense you suggested and i think emulating something similar to what you've got there would be supurb and would make my client happy
many thanks - have a beer tonight on me!
Geo.
Re: help with possible new module?!
Posted: Wed Apr 27, 2005 5:26 pm
by jah
Glad to help

.
Have to say the page I referred to is a private kindergarten where my kids are, and making their hompage is just ahobby for me. I'm not a professional in this area.
Have to go to a meeting tonight so no beer unfortunately. Maybe tomorrow!.
Jon