Joomla - Component: Create Hello World Component on Back End


After made "Hello World" on front end, we will learn how to make "Hello World" on back end page. Back end means only administrator can access this page.

  1. Create a folder named "com_hello" under joomla/administrator/components.
    Create com_hello within administrator components
  2. Create a file "admin.hello.php" within com_hello folder.
  3. Write following code in hello.php:
    <?php
    defined( '_JEXEC' ) or die( 'Restricted access' );
    echo 'Hello, World!';
    ?>
    
  4. Call your Joomla! in web browser. Login as administrator.
  5. If you install Joomla! on a local web server in a directory title joomla, the URL for accessing this component will be http://localhost/joomla/administrator/index.php?option=com_hello
    Hello World in Back End


Series this article:
Joomla - Component: Create Hello World Component on Front End
Joomla - Component: Create Hello World Component on Back End
Joomla - Component: Registering Your Component in database
Joomla - Component: Create Component Link for Front End
Joomla - Component: Creating Toolbars
Joomla - Component: Available Toolbar Buttons
Joomla - Component: Creating the Database Table
Joomla - Component: Creating Form Input Data at Back End
Joomla - Component: Saving Data to Database
Joomla - Component: Creating a List Screen
Joomla - Component: Creating Advance List Screen
Joomla - Component: Editing Data
Joomla - Component: Deleting Data
Joomla - Component: Updating publish state
Joomla - Component: Hello From Database at Front End
Joomla - Component: a Hello page
Joomla - Component: Generating Friendly Links
Joomla - Component: Adding Comment ( Create Table )
Joomla - Component: Adding Comment (Create Form)
Joomla - Component: Adding Comment ( Insert Data )
Joomla - Component: Adding Comment ( Displaying Comments )
Joomla: Fast Road to Understand Component Programming

Bookmark and Share Tag: joomla, cms, Joomla Component Category: PHP Framework Post : November 03rd 2007 Read: 49,828

blog comments powered by Disqus