Hi guys
I need some help...
I have done some customization to phocagallery to suit my design needs...
I use Jcomment, and i wanted to modify the layout where Jcomment appears to just have Jcomment, and no panels.
See here what i mean :
http://maoartland.com/index.php/photogr ... netes.html
I have modified default.php (view/category/tmpl) around line 497.
Original :
echo $pane->endPanel();
}
if ((int)$this->tmpl['displaycomment'] == 1) {
echo $pane->startPanel( JHTML::_( 'image.site', 'components/com_phocagallery/assets/images/icon-comment.'.$this->tmpl['formaticon'],'', '', '', '', '') . ' '.JText::_('Comments'), 'pgcomments' );
if (JComponentHelper::isEnabled('com_jcomments', true) && $this-
Modif:
echo $this->loadTemplate('rating');
echo $pane->endPanel();
}
if (JComponentHelper::isEnabled('com_jcomments', true) && $this-
Everything worked fine in local but got errors online:
Warning: Missing argument 1 for JPaneTabs::startPanel(), called in D:\www\maoartland.com\htdocs\components\com_phocagallery\views\category\tmpl\default.php on line 497 and defined in D:\www\maoartland.com\htdocs\libraries\joomla\html\pane.php on line 160
Warning: Missing argument 2 for JPaneTabs::startPanel(), called in D:\www\maoartland.com\htdocs\components\com_phocagallery\views\category\tmpl\default.php on line 497 and defined in D:\www\maoartland.com\htdocs\libraries\joomla\html\pane.php on line 160
Any idea how i could fix that?
Thanks in advance!
Customization
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Customization
Hi, check if the functions in JPane class get all the arguments they need, maybe there are missing some of them.
Jan
Jan
If you find Phoca extensions useful, please support the project
