I tried using the SQL date format with the Guestbook and nothing happened.
The option parameter was added as follows: {cms_module module="gastbuch" dateformat="%M-%d-%Y" }. It doesn't work with single or double quotes.
-Jab
Need exact date format for Guestbook (Gastbuch)
-
cyberman
Re: Need exact date format for Guestbook (Gastbuch)
Which version of gastbuch you are using?
Re: Need exact date format for Guestbook (Gastbuch)
I'm using version 0.7. I just noticed that there is a new release. Should I upgrade?
Re: Need exact date format for Guestbook (Gastbuch)
Use {cms_module module="gastbuch" dateform="%M-%d-%Y" }.
Re: Need exact date format for Guestbook (Gastbuch)
Please do. Quite some improvements and fixes were made.jab wrote: I'm using version 0.7. I just noticed that there is a new release. Should I upgrade?
I made changes to SVN to solve this bug (will be fixed in the next release).
Re: Need exact date format for Guestbook (Gastbuch)
Thanks!
I installed the latest release and it formated differently than the old version and doesn't show the email addresses. That was after it crashed due to a change in how the "showmessage" option receives an input (i.e. showmessage="2a" instead of showmessage="showmessage2a.tpl". It took me a while to figure out that this was the issue. The help should be updated to reflect this differnce.
-Jab
I installed the latest release and it formated differently than the old version and doesn't show the email addresses. That was after it crashed due to a change in how the "showmessage" option receives an input (i.e. showmessage="2a" instead of showmessage="showmessage2a.tpl". It took me a while to figure out that this was the issue. The help should be updated to reflect this differnce.
-Jab
Re: Need exact date format for Guestbook (Gastbuch)
No prob. Sorry for the inconvenience, I got involved in the gastbuch module development after 0.7 because lots of things weren't working. Actually most of it works as expected now.
AFAIK the email addresses weren't stored (or shown) in 0.7, in version 0.8 and higher they are.
I believe the only difference in formatting is the fieldname for the country (was countryshow, now country - see the changes in the defautl templates, I'll update the release notes).
The showmessage option takes the short input in the new versions, the help file reflects this (to tell you the truth I didn't even know this was changed, but I'll update the changelog and will see if I can make the help more clear).
You're right about the help file being wrong on the dateformat (so I discovered in this thread), I changed the module in SVN to accept the dateformat parameter instead of dateform, so this'll be fixed with the next release.
I hope you got the the guestbook module working the way you want it. Let me know if you have suggestions for improvements.
AFAIK the email addresses weren't stored (or shown) in 0.7, in version 0.8 and higher they are.
I believe the only difference in formatting is the fieldname for the country (was countryshow, now country - see the changes in the defautl templates, I'll update the release notes).
The showmessage option takes the short input in the new versions, the help file reflects this (to tell you the truth I didn't even know this was changed, but I'll update the changelog and will see if I can make the help more clear).
You're right about the help file being wrong on the dateformat (so I discovered in this thread), I changed the module in SVN to accept the dateformat parameter instead of dateform, so this'll be fixed with the next release.
I hope you got the the guestbook module working the way you want it. Let me know if you have suggestions for improvements.
Re: Need exact date format for Guestbook (Gastbuch)
Thank you! You have been very helpful. I have to admit, overall the members of this forum are the best. Everyone is willing to help and courteous as well.
As far as additional features, I did put in a request fo the addition of city and state/province fields. In the mean time I modified the label on the country field to reflect city and state for one of the sites I have. Also, a "bad word" filter would be nice.
-Jab
As far as additional features, I did put in a request fo the addition of city and state/province fields. In the mean time I modified the label on the country field to reflect city and state for one of the sites I have. Also, a "bad word" filter would be nice.
-Jab

