I found a bug!
Posted: 09 Oct 2008, 09:20
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:
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!
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 );
$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!