Page 2 of 2

Re: Guestbook: Changing "Show E-Mail" default setting

Posted: Fri 17. Jun 2011, 20:26
by larmann
Now I changed the cache in conf.inc to 1 and turned cache off in the article head. But nevertheless: There is the not-wanted "checked" in the source code.

My template:
Image

The source code in the frontend:
Image

Re: Guestbook: Changing "Show E-Mail" default setting

Posted: Sat 18. Jun 2011, 12:45
by update
Did you clear the browser's cache?
look at one of my templates (working):

Code: Select all

<td>
<input name="guestbook_show" type="radio" value="0">Afficher courriel<br />
<input name="guestbook_show" type="radio" value="1">Cacher courriell<br />
<input name="guestbook_show" type="radio" value="2" checked>Afficher courriel sous la forme "info at mail dot com"
</td>
Don't care about the table construction ... ;)
Try it without {GBSHOW_0/1/2} - I don't use this...

Look at http://forum.phpwcms.org/viewtopic.php?p=130918#p130918 again

Re: Guestbook: Changing "Show E-Mail" default setting

Posted: Sat 18. Jun 2011, 20:56
by larmann
Thank you, Claus. This works and the code looks fine. I don't understand what the GBSHOW in the default template was for, but I don't bother any more. It works like this and I am very grateful that you took all that time for explaining it to me.

Re: Guestbook: Changing "Show E-Mail" default setting

Posted: Sun 19. Jun 2011, 13:24
by update
Welcome :)