Disable changing name and e-mail adress
Posted: 11 Jan 2010, 22:41
Hello,
I have a question:
I use Phoca Guestbook on a site where the guests have to log on before he or she can post messages.
now the name and e-mail adres are filled in but the can be changed.
now i want to prevent that.
Ill have tried to hide the input fields, but than are the name and e-mail adres not saved.
on this forum ill have found an option that contains this:
Change in the document: components\com_phocaguestbook\views\phocaguestbook\tmpl\default.php
line 235:
in
and line 243:
in
but than i''ll have error messages to fill in the e-mail adress and the name.
my question, how can i realize what i want.
can anyone help me?
I have a question:
I use Phoca Guestbook on a site where the guests have to log on before he or she can post messages.
now the name and e-mail adres are filled in but the can be changed.
now i want to prevent that.
Ill have tried to hide the input fields, but than are the name and e-mail adres not saved.
on this forum ill have found an option that contains this:
Change in the document: components\com_phocaguestbook\views\phocaguestbook\tmpl\default.php
line 235:
Code: Select all
<input type="text" name="pgusername" id="pgbusername" value="<Code: Select all
<input type="text" name="pgusername" disabled id="pgbusername" value="<Code: Select all
<input type="text" name="email" disabled id="pgbemail" value="Code: Select all
<input type="text" name="email" disabled id="pgbemail" value="my question, how can i realize what i want.
can anyone help me?