error message

Phoca Guestbook - creating guestbooks in Joomla! CMS
scaramusch
Phoca Member
Phoca Member
Posts: 18
Joined: 21 Apr 2010, 17:01

error message

Post by scaramusch »

hello

i would like to change the color of the errormessage ( Diese E-Mail-Adresse existiert schon!)
how can I do that? In the code of default.php I found following:
echo $this->tmpl['errmsg_top'];

secondly
i would like to make it possible that someone can make more than one message in the guestbook. but when I enter the same e-mail-adress twice it doesn't work. how can I alter that?

thanks!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48739
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: error message

Post by Jan »

Hi, you can set it in CSS, see the class of the error message and change it in CSS.

In Phoca Guestbook you can add so many messages you want. There is no limitation (no idea why there should be such limitation :idea: ).

Jan
If you find Phoca extensions useful, please support the project
scaramusch
Phoca Member
Phoca Member
Posts: 18
Joined: 21 Apr 2010, 17:01

Re: error message

Post by scaramusch »

I did try to change the css (phocaguestbook.css) and it doesn't work. is there another css where I can change it?

well I have the message ( Diese E-Mail-Adresse existiert schon!) where can I change that that someone can make two messages with the same e-mail-adress?

is it something with the code: echo $this->tmpl['errmsg_top'];
how can I change this or where do I find what it does there?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48739
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: error message

Post by Jan »

Hi, please let me know your guestbook, I will paste there two messages with the same email address (as I don't know any limitation to email address)


Maybe you mean that you cannot use email address from some registered user (but this does not mean you cannot paste two messages with the same email, it means you cannot use email from another registered users), see:


See - email settings and Disable User Check here:
https://www.phoca.cz/documents/3-phoca-g ... -menu-item

Jan
If you find Phoca extensions useful, please support the project
scaramusch
Phoca Member
Phoca Member
Posts: 18
Joined: 21 Apr 2010, 17:01

Re: error message

Post by scaramusch »

User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48739
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: error message

Post by Jan »

Added, you can remove them as they are test "Eintragen" :-)

Jan
If you find Phoca extensions useful, please support the project
scaramusch
Phoca Member
Phoca Member
Posts: 18
Joined: 21 Apr 2010, 17:01

Re: error message

Post by scaramusch »

when it's an e-mail of someone who doesn't have a loggin it works. but for someone who has a loggin it doesn't.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48739
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: error message

Post by Jan »

Hi, just register me on your site so I can leave you both message (and try to read the above mentioned articles so you will know the difference between writing two messages and using some other registered account)

Jan
If you find Phoca extensions useful, please support the project
scaramusch
Phoca Member
Phoca Member
Posts: 18
Joined: 21 Apr 2010, 17:01

Re: error message

Post by scaramusch »

I disabled the control of the user. then it works. but I thought there is another way without disabling the control of the user. is that correct, that i have to disable the control of the user? otherwise I will give you a login
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48739
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: error message

Post by Jan »

Disabling User Control Panel is a security parameter for UCP - if you disable it, there is no way that user will set some URL to upload images (without you will add a link to UCP). This is only one function of this parameter - disable access to UCP.


Jan
If you find Phoca extensions useful, please support the project
Post Reply