My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
Entrypoint  
Lesson 3 : entry point
Updated Aug 23, 2009 by joomlafr...@gmail.com

the name of this file is the same name as the component.

example: bib.php

This file is stored in the root of the component

example: com_bib/bib.php

First we check if the plugin is active:

// Check if Nooku Framework (codename= Koowa) is active
if(!defined('KOOWA')) {
    JError::raiseWarning(0, JText::_("Koowa wasn't found. Please install the Koowa plugin and enable it."));
    return;
}

Second we call the dispatcher (this is like create the controller in Joomla!)

// Create the component dispatcher
KFactory::get('admin::com.bib.dispatcher', array('default_view' => 'books'))
	->dispatch();

use admin for administrator

use site for frontend

Give a default view

Comment by satya.sf...@gmail.com, Jul 14, 2010

Thanks for nice guide and help me lot to building a nooku example component.

Can you please put "manifest.xml" in svn code so that i can complete proper instlation. Also if you create zip file for component (hello and bis) that would be great for every developer.


Sign in to add a comment
Powered by Google Project Hosting