Hi, my name is Daniel. I have installed phoca guest book and I have a problem.
Is there any way of show de user name in message boxes when the parameter 'Display Input field Name in Guestbook Form' is set to 'no' ?????
If this is too difficult, Is there any way to set the form field 'name' to 'read only'. I don't want that the users can modify it.
Thanks in advance.
Regards
Daniel.
[Solved]I can't see the user name
-
- Phoca Newbie
- Posts: 2
- Joined: 27 Nov 2008, 15:46
[Solved]I can't see the user name
Last edited by gnostris on 30 Nov 2008, 10:55, edited 1 time in total.
- Jan
- Phoca Hero
- Posts: 48706
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: I can't see the user name
Hi, you can change it here:
components\com_phocaguestbook\views\phocaguestbook\tmpl\default.php
line 247 +
Jan
components\com_phocaguestbook\views\phocaguestbook\tmpl\default.php
line 247 +
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 2
- Joined: 27 Nov 2008, 15:46
Re: I can't see the user name
Done!!!
THANKS A LOT!!!
THANKS A LOT!!!
- Jan
- Phoca Hero
- Posts: 48706
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: [Solved]I can't see the user name
great to hear it, Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Enthusiast
- Posts: 55
- Joined: 07 Dec 2007, 15:52
- Contact:
Re: [Solved]I can't see the user name
Hi JanHi, you can change it here:
components\com_phocaguestbook\views\phocaguestbook\tmpl\default.php
line 247 +
Jan
I'm (mis)using this component to obtain feedback on our website. For that purpose we need to know who has written the comment and have their contact info, so we can do a follow up. So, having read this post, above, I see the lines, but I have no idea what to do.
I need the same thing: the field filled with the username and also the email address, so that users cannot change it. What do I have to do to make this happen?
One solution is to use the same feedback form you have here. The reason I'm sticking with the PhocaGuestbook, is that it works well with Joomfish and as a multilingual site, we get the comments translated, so we have a common language for all feedback.
Thanks for your help.
Regards
David
- Jan
- Phoca Hero
- Posts: 48706
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: [Solved]I can't see the user name
Hi, as gnostris didn't write the guide how he did it, I don't know what should be changed there, because I didn't do such changes as gnostris made in the code.
Maybe try to PM him so you get some information from him.
Jan
Maybe try to PM him so you get some information from him.
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 2
- Joined: 13 Jul 2009, 06:11
Re: [Solved]I can't see the user name
Hey,
This was a strange answer, all you need to add is a so it will look like:
I would also suggest to add a background color to it so it will have the "Locked look"
after style add a background color like this:
This was a strange answer, all you need to add is a
Code: Select all
readonly="readonly"
Code: Select all
<input type="text" readonly="readonly" name="pgusername" id="pgbusername"....
after style add a background color like this:
Code: Select all
style="border:1px solid #cccccc; background-color:#D3F0D2"
-
- Phoca Enthusiast
- Posts: 55
- Joined: 07 Dec 2007, 15:52
- Contact:
Re: [Solved]I can't see the user name
Great!
Thanks very much for the input. Works perfectly!
Regards
David
Thanks very much for the input. Works perfectly!
Regards
David
- Jan
- Phoca Hero
- Posts: 48706
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: [Solved]I can't see the user name
teki
Ok, thank you for the guide.
Jan
Ok, thank you for the guide.
Jan
If you find Phoca extensions useful, please support the project