Component View Error

For Joomla! 1.5 Coding related discussions, please use: http://groups.google.com/group/joomla-dev-general
Locked
ewitchin
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Wed Oct 19, 2011 6:44 pm

Component View Error

Post by ewitchin » Tue Mar 20, 2012 2:57 pm

Hello,

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);
        }
}
I am able to get to this file fine, which makes me think the issue is in this file somewhere.

Any help would be greatly appreciated.

Thank You.

Locked

Return to “Joomla! 1.5 Coding”