I couldn't find any info about editing the guestbook error messages. I need to change the font size.
Please help.
Thanks
Raffaele
Editing error messages
- Jan
- Phoca Hero
- Posts: 48739
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Editing error messages
Hi, which error message you mean, there is Phoca Guestbook error message (e.g. captcha is wrong) or system message (created by Joomla! - at the bottom of the site)
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 5
- Joined: 14 Sep 2010, 12:54
Re: Editing error messages
I mean phoca guestbook error massages I suppose.
If I try to post a message and miss to fill in all fields, like email address or title, I get a red error message but the font is so small and it happened some guest just think to have sent succesfully the message.
I wish to change the font in bigger size so guests can clearly see they have missed to fill in the name, content, email or title.
I couldn't find a solution, I'm sure it will be very simple...
thank you
If I try to post a message and miss to fill in all fields, like email address or title, I get a red error message but the font is so small and it happened some guest just think to have sent succesfully the message.
I wish to change the font in bigger size so guests can clearly see they have missed to fill in the name, content, email or title.
I couldn't find a solution, I'm sure it will be very simple...
thank you
- Jan
- Phoca Hero
- Posts: 48739
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Editing error messages
Hi, the message is stored in "small" tags - can be styled in CSS or you can change it in php/html code:
cca line 226:
components/com_phocaguestbook/views/phocaguestbook/view.html.php
Jan
cca line 226:
components/com_phocaguestbook/views/phocaguestbook/view.html.php
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 5
- Joined: 14 Sep 2010, 12:54
Re: Editing error messages
Jan wrote:Hi, the message is stored in "small" tags - can be styled in CSS
Thank you Jan
unfortunally I couldn't find any solution.
Could you help me to find out where I can modify CSS style.
I don't know if it is important, I'm using italian translation so I need to change font size of the italian error message.
Raffaele
- Jan
- Phoca Hero
- Posts: 48739
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Editing error messages
Hi, did you try it to change directly in the html?
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 5
- Joined: 14 Sep 2010, 12:54
Re: Editing error messages
cca line 226:
components/com_phocaguestbook/views/phocaguestbook/view.html.php
Yes, I did try but following the instruction above I could'nt see any solution.
I just wish to risize the font of error messages.
I need to find out where I can modify font size.
Thank you for helping
Raffaele
components/com_phocaguestbook/views/phocaguestbook/view.html.php
Yes, I did try but following the instruction above I could'nt see any solution.
I just wish to risize the font of error messages.
I need to find out where I can modify font size.
Thank you for helping
Raffaele
-
- Phoca Newbie
- Posts: 5
- Joined: 14 Sep 2010, 12:54
[SOLVED]Re: Editing error messages
Thank you Jan
I've understood your hint and opend the view.html.php > line 245 > changed small with h1
Perfect!
//-----------------------------------------------------------------------------------------------
// !!!! 1. Server Side Checking controll
//-----------------------------------------------------------------------------------------------
//Form Variables --------------------------------------------------------------------------------
//captcha is wrong,we cannot redirect the page,we display message this way
//DISPLAY MESSAGES WHICH YOU GET FROM CONTROLL FILE - (CONTROLLERS - phocaguestbook.php)
$smB = '<h1 style="color:#fc0000;">';
Grazie!
Raffaele
I've understood your hint and opend the view.html.php > line 245 > changed small with h1
Perfect!
//-----------------------------------------------------------------------------------------------
// !!!! 1. Server Side Checking controll
//-----------------------------------------------------------------------------------------------
//Form Variables --------------------------------------------------------------------------------
//captcha is wrong,we cannot redirect the page,we display message this way
//DISPLAY MESSAGES WHICH YOU GET FROM CONTROLL FILE - (CONTROLLERS - phocaguestbook.php)
$smB = '<h1 style="color:#fc0000;">';
Grazie!
Raffaele
- Jan
- Phoca Hero
- Posts: 48739
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact: