Guestbook: Changing "Show E-Mail" default setting

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
larmann
Posts: 311
Joined: Thu 23. Jun 2005, 10:51
Location: Hamburg
Contact:

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

Post by larmann » Fri 17. Jun 2011, 20:26

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

User avatar
update
Moderator
Posts: 6394
Joined: Mon 10. Jan 2005, 17:29
Location: germany / outdoor

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

Post by update » Sat 18. Jun 2011, 12:45

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
It's mostly all about webdesign, logo design, new and old pages refresh, print BUT slowly switching to be supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.

larmann
Posts: 311
Joined: Thu 23. Jun 2005, 10:51
Location: Hamburg
Contact:

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

Post by larmann » Sat 18. Jun 2011, 20:56

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.

User avatar
update
Moderator
Posts: 6394
Joined: Mon 10. Jan 2005, 17:29
Location: germany / outdoor

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

Post by update » Sun 19. Jun 2011, 13:24

Welcome :)
It's mostly all about webdesign, logo design, new and old pages refresh, print BUT slowly switching to be supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.

Post Reply