I am creating a custom Joomla 1.5 Component and I am having some issues. I have searched this forum and the internet and can not seem to find an answer that will solve my issue.
I am receiving the Layout "default" not found error, however I have a default.php file within views/reviews/tmpl/ folder.
My view.html.php code:
Code: Select all
<?php
defined( '_JEXEC' ) or die( 'Restricted access' );
jimport( 'joomla.application.component.view' );
class ReviewsViewReviews extends JView
{
function display($tpl = null)
{
JToolBarHelper::title( JText::_( 'Review Manager' ), 'generic.png' );
JToolBarHelper::deleteList();
JToolBarHelper::editListX();
JToolBarHelper::addNewX();
// Get data from the model
$items = & $this->get( 'Data');
$this->assignRef('items', $items);
parent::display($tpl);
}
}
Any help would be greatly appreciated.
Thank You.