I found a bug!

Phoca Guestbook - creating guestbooks in Joomla! CMS
dax702
Phoca Enthusiast
Phoca Enthusiast
Posts: 85
Joined: 10 May 2008, 21:11

I found a bug!

Post by dax702 »

I was racking my brain trying to figure out how to make the height of the editor change as 400 px is rather big. I tried doing it from the CSS with no success. The I opened:

views/phocaguestbook/view.html.php

Line 44 and 45 was:

Code: Select all

$tmpl['editorwidth'] = $params->get( 'editor_width', 400 );
$tmpl['editorheight'] = $params->get( 'editor_width', 200 );
But it should be:
$tmpl['editorwidth'] = $params->get( 'editor_width', 400 );
$tmpl['editorheight'] = $params->get( 'editor_height', 200 );

This is why when I changed the params, nothing happened. As soon as I changed the width to height, it worked!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48689
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: I found a bug!

Post by Jan »

Hi, thank you for this information, it is fixed in 1.3.1 stable
If you find Phoca extensions useful, please support the project
Post Reply