SlideShare a Scribd company logo
1 of 19
Vishwash Gaur

                  © 2012 Vishwash Gaur. All rights reserved.
All registered trademarks, logos, products and service names belong to their
                              respective owners.
       Image Credit: http://ayadipro.com/blog/high-tech-education/25-improvements-in-joomla-2-5/
Disclaimer: Images used on this slide are for representative purposes only and belong to their respective owners.
   Basic knowledge of HTML, PHP and MySQL
   Interest in MVC and CMS frameworks to reduce development
    time
   A web server with PHP/MySQL installed on it
   Joomla! 2.5 package downloaded and installed
    ◦ it can be downloaded from http://www.joomla.org/download.html


   NOTE: This presentation is focused for the beginners in Joomla! and would
    cover only a basic overview due to limited time. Further details can be
    discussed separately later.
An overview of both the
Joomla! Extensions to
understand the
basics, conventions and
structure.
   What is a module?
    ◦ Modules are lightweight and flexible extensions
      used for page rendering. These modules are often
      “boxes” arranged around a component on a typical
      page. A well-known example is the login module.
   Why should we use a module?
    ◦ Can work standalone
    ◦ Good for code reusability
    ◦ Can work with component for database linking
   Conventions
    ◦ Module name should be in small letters
    ◦ Module name should have a prefix “mod_”
   Depends on template
   Added in template using below code:
    ◦ <jdoc:include type="modules" name=“module-positon-
      name" />
   Can be more than one modules on a page
   Go to Joomla! Admin Panel
   Access Top Menu>Extensions>Template
    Manager
   Click on options button on the top-right side
    of the toolbar
   Enable the “Preview module positions”
   Go to website front panel and add “?tp=1” to
    the url
    ◦ It will reveal the module positions in a Joomla
      template
Go to template manager
Click on options
Enable setting to preview
module positions
http://yoursite.com/index.php?tp=1




 Open your
 page with
 “?tp=1” at the
 end of url and
 it will reveal
 all Module
 positions
   Mod_modulename – module folder
    ◦ mod_modulename.xml
    ◦ mod_modulename.php
    ◦ helper.php: This helper file contains a class to
      provide various static functions to perform
      operations. It could be used to perform some
      calculation or to fetch data from DB.
    ◦ index.html: It is an empty file and created to
      prevent direct access to the directory.
    ◦ tmpl folder
      default.php:
      index.html: It is an empty file and created to prevent
       direct access to the directory.
   What is component?
    ◦ Components are the main functional units of
      Joomla!; they can be seen as mini-applications.
    ◦ A component can contain a module and a plug-in
   Why should we use a component?
    ◦ To manage more functional part or application
    ◦ To provide backend handling to a front-end
      functionality
   Conventions
    ◦ Component name should be prefixed by “com_” e.g.
      com_componentname
    ◦ Component name should start with small letters
   Depends on template
   Added in template using below code:
    ◦ <jdoc:include type="component" />
   Can be only one component on a page
Image credit: http://www.slideshare.net/silenceit/joomlacontent-management-system
Website Backend:
Website Front-end:
                                         admin/index.html
helloworld.xml                           admin/helloworld.php
site/index.html                          admin/controller.php
site/helloworld.php                      admin/models/index.html
                                         admin/models/fields/index.html
site/controller.php
                                         admin/models/fields/helloworld.php
site/views/index.html                    admin/models/forms/index.html
site/views/helloworld/index.html         admin/models/forms/helloworld.xml
site/views/helloworld/view.html.php      admin/models/helloworld.php
                                         admin/models/helloworlds.php
site/views/helloworld/tmpl/index.html    admin/views/index.html
site/views/helloworld/tmpl/default.xml   admin/views/helloworlds/index.html
site/views/helloworld/tmpl/default.php   admin/views/helloworlds/view.html.php
                                         admin/views/helloworlds/tmpl/index.html
site/models/index.html
                                         admin/views/helloworlds/tmpl/default.php
site/models/helloworld.php               admin/views/helloworlds/tmpl/default_head.php
                                         admin/views/helloworlds/tmpl/default_body.php
                                         admin/views/helloworlds/tmpl/default_foot.php
                                         admin/views/helloworld/index.html
                                         admin/views/helloworld/view.html.php
                                         admin/views/helloworld/tmpl/index.html
                                         admin/views/helloworld/tmpl/edit.php
                                         admin/tables/index.html
                                         admin/tables/helloworld.php
                                         admin/language/en-GB/en-GB.com_helloworld.ini
                                         admin/language/en-GB/en-
                                         GB.com_helloworld.menu.ini
                                         admin/controllers/index.html
                                         admin/controllers/helloworld.php
                                         admin/controllers/helloworlds.php
   I look forward to learn and share more with you in
    future too.

   I can be reached easily at my blog
    www.vishwashgaur.com and/or using twitter
    @vishwashgaur
   XAMP: http://www.apachefriends.org/en/xampp.html
   Joomla!: http://www.joomla.org/
   JED: http://extensions.joomla.org/
   Joomla! Forum: http://forum.joomla.org/
   Joomla! Magazine: http://magazine.joomla.org/authors/itemlist/user/65-Nicholas-G-Antimisiaris
   Joomla documentation: http://docs.joomla.org/
   Joomla 2.5 essential training: http://www.lynda.com/Joomla-tutorials/Joomla-Essential-Training/95699-2.html
   Joomla! For beginners guide 2012: http://www.danconia.com/joomla-for-beginners-guide-2012.html
   Joomla! Developers guide: http://cocoate.com/sites/cocoate.com/files/private/jdev.pdf

More Related Content

What's hot

Joomla Explained - As Easy as 1, 2, 3
Joomla Explained - As Easy as 1, 2, 3Joomla Explained - As Easy as 1, 2, 3
Joomla Explained - As Easy as 1, 2, 3Rod Martin
 
Custom Template for Joomla! 3
Custom Template for Joomla! 3Custom Template for Joomla! 3
Custom Template for Joomla! 3Carly Willats
 
Getting Started with the Joomla! Framework
Getting Started with the Joomla! FrameworkGetting Started with the Joomla! Framework
Getting Started with the Joomla! FrameworkMichael Babker
 
Joomla 15 Quickstart
Joomla 15 QuickstartJoomla 15 Quickstart
Joomla 15 QuickstartAmyStephen
 
Joomla Tutorial: Joomla 2.5 a first look
Joomla Tutorial: Joomla 2.5 a first lookJoomla Tutorial: Joomla 2.5 a first look
Joomla Tutorial: Joomla 2.5 a first lookTim Plummer
 
Introduction to Joomla
Introduction to JoomlaIntroduction to Joomla
Introduction to JoomlaAsif Islam
 
Joomla CMS SEMINAR PPT
Joomla CMS SEMINAR PPTJoomla CMS SEMINAR PPT
Joomla CMS SEMINAR PPTPinky Mondal
 
Joomla Tomorrow and Beyond
Joomla Tomorrow and BeyondJoomla Tomorrow and Beyond
Joomla Tomorrow and BeyondJessica Dunbar
 
Joomla-Content Management System
Joomla-Content Management SystemJoomla-Content Management System
Joomla-Content Management SystemsilenceIT Inc.
 
Techgig Webinar: Joomla Introduction and Module Development June 2012
Techgig Webinar: Joomla Introduction and Module Development June 2012Techgig Webinar: Joomla Introduction and Module Development June 2012
Techgig Webinar: Joomla Introduction and Module Development June 2012Vishwash Gaur
 
What’s new in joomla 3.7
What’s new in joomla 3.7What’s new in joomla 3.7
What’s new in joomla 3.7Tim Plummer
 
Quick introduction to joomla
Quick introduction to joomlaQuick introduction to joomla
Quick introduction to joomlaSabuj Kundu
 
Joomla 2.5 New Features and Hidden Gems
Joomla 2.5 New Features and Hidden GemsJoomla 2.5 New Features and Hidden Gems
Joomla 2.5 New Features and Hidden GemsMike Carson
 
Joomla
JoomlaJoomla
JoomlaShelly
 

What's hot (20)

Joomla Explained - As Easy as 1, 2, 3
Joomla Explained - As Easy as 1, 2, 3Joomla Explained - As Easy as 1, 2, 3
Joomla Explained - As Easy as 1, 2, 3
 
Custom Template for Joomla! 3
Custom Template for Joomla! 3Custom Template for Joomla! 3
Custom Template for Joomla! 3
 
Social website
Social websiteSocial website
Social website
 
Getting Started with the Joomla! Framework
Getting Started with the Joomla! FrameworkGetting Started with the Joomla! Framework
Getting Started with the Joomla! Framework
 
Joomla - CMS
Joomla - CMSJoomla - CMS
Joomla - CMS
 
Joomla 15 Quickstart
Joomla 15 QuickstartJoomla 15 Quickstart
Joomla 15 Quickstart
 
Joomla
JoomlaJoomla
Joomla
 
Joomla Tutorial: Joomla 2.5 a first look
Joomla Tutorial: Joomla 2.5 a first lookJoomla Tutorial: Joomla 2.5 a first look
Joomla Tutorial: Joomla 2.5 a first look
 
Introduction to Joomla
Introduction to JoomlaIntroduction to Joomla
Introduction to Joomla
 
Joomla CMS SEMINAR PPT
Joomla CMS SEMINAR PPTJoomla CMS SEMINAR PPT
Joomla CMS SEMINAR PPT
 
CMS and Joomla
CMS and JoomlaCMS and Joomla
CMS and Joomla
 
Joomla Tomorrow and Beyond
Joomla Tomorrow and BeyondJoomla Tomorrow and Beyond
Joomla Tomorrow and Beyond
 
Joomla-Content Management System
Joomla-Content Management SystemJoomla-Content Management System
Joomla-Content Management System
 
Techgig Webinar: Joomla Introduction and Module Development June 2012
Techgig Webinar: Joomla Introduction and Module Development June 2012Techgig Webinar: Joomla Introduction and Module Development June 2012
Techgig Webinar: Joomla Introduction and Module Development June 2012
 
CMS Joomla
CMS JoomlaCMS Joomla
CMS Joomla
 
What’s new in joomla 3.7
What’s new in joomla 3.7What’s new in joomla 3.7
What’s new in joomla 3.7
 
Quick introduction to joomla
Quick introduction to joomlaQuick introduction to joomla
Quick introduction to joomla
 
Joomla and cms
Joomla and  cmsJoomla and  cms
Joomla and cms
 
Joomla 2.5 New Features and Hidden Gems
Joomla 2.5 New Features and Hidden GemsJoomla 2.5 New Features and Hidden Gems
Joomla 2.5 New Features and Hidden Gems
 
Joomla
JoomlaJoomla
Joomla
 

Viewers also liked

Codigo conducta etico y moral
Codigo conducta etico y moral Codigo conducta etico y moral
Codigo conducta etico y moral Alex Garzon
 
Sales on the Move: Bridging the Gap between Mobile Email and Salesforce
Sales on the Move: Bridging the Gap between Mobile Email and SalesforceSales on the Move: Bridging the Gap between Mobile Email and Salesforce
Sales on the Move: Bridging the Gap between Mobile Email and SalesforceCirrus Insight
 
Documento 2. cc.oo. elecciones sindicales 2011
Documento 2. cc.oo. elecciones sindicales 2011Documento 2. cc.oo. elecciones sindicales 2011
Documento 2. cc.oo. elecciones sindicales 2011Jose Antonio Chamizo
 
COOTAXIM PORTAL TURISTICO DEL EJE CAFETERO - INSTALACIONES ADMINISTRATIVAS EN...
COOTAXIM PORTAL TURISTICO DEL EJE CAFETERO - INSTALACIONES ADMINISTRATIVAS EN...COOTAXIM PORTAL TURISTICO DEL EJE CAFETERO - INSTALACIONES ADMINISTRATIVAS EN...
COOTAXIM PORTAL TURISTICO DEL EJE CAFETERO - INSTALACIONES ADMINISTRATIVAS EN...cootaxim
 
Curso SEO posicionamiento web en buscadores. UPB . Interlat
Curso SEO posicionamiento web en buscadores. UPB . InterlatCurso SEO posicionamiento web en buscadores. UPB . Interlat
Curso SEO posicionamiento web en buscadores. UPB . InterlatInterlat
 
INNOVATION IN RETINAL IMAGING: OPPORTUNITIES & CHALLENGES - History of Intrao...
INNOVATION IN RETINAL IMAGING: OPPORTUNITIES & CHALLENGES - History of Intrao...INNOVATION IN RETINAL IMAGING: OPPORTUNITIES & CHALLENGES - History of Intrao...
INNOVATION IN RETINAL IMAGING: OPPORTUNITIES & CHALLENGES - History of Intrao...Healthegy
 
Aenj artology 2012 conf
Aenj artology 2012 confAenj artology 2012 conf
Aenj artology 2012 confkkiick
 
informe sobre motores de búsqueda y herramientas web
informe sobre motores de búsqueda y herramientas web informe sobre motores de búsqueda y herramientas web
informe sobre motores de búsqueda y herramientas web Nelly Perez
 
What's hot final dls
What's hot final dlsWhat's hot final dls
What's hot final dlsDavid Smith
 
betterplace lab around the world 2014 - english
betterplace lab around the world 2014 - englishbetterplace lab around the world 2014 - english
betterplace lab around the world 2014 - englishbetterplace lab
 
Renovación hoteles. Caso de estudio Hotel Beatriz & Spa (2011)
Renovación hoteles. Caso de estudio Hotel Beatriz & Spa (2011)Renovación hoteles. Caso de estudio Hotel Beatriz & Spa (2011)
Renovación hoteles. Caso de estudio Hotel Beatriz & Spa (2011)Agustin Dorta Rodriguez
 
eparo - Service Design Immonet iPad-App (Vortrag iico Konferenz 2013 - Rolf ...
eparo - Service Design Immonet iPad-App  (Vortrag iico Konferenz 2013 - Rolf ...eparo - Service Design Immonet iPad-App  (Vortrag iico Konferenz 2013 - Rolf ...
eparo - Service Design Immonet iPad-App (Vortrag iico Konferenz 2013 - Rolf ...eparo GmbH
 
High Performance Buildings - Lessons Learned, June 2012
High Performance Buildings - Lessons Learned, June 2012High Performance Buildings - Lessons Learned, June 2012
High Performance Buildings - Lessons Learned, June 2012Bronwyn Barry
 

Viewers also liked (20)

Codigo conducta etico y moral
Codigo conducta etico y moral Codigo conducta etico y moral
Codigo conducta etico y moral
 
Manual del Celíaco
Manual del CelíacoManual del Celíaco
Manual del Celíaco
 
Sales on the Move: Bridging the Gap between Mobile Email and Salesforce
Sales on the Move: Bridging the Gap between Mobile Email and SalesforceSales on the Move: Bridging the Gap between Mobile Email and Salesforce
Sales on the Move: Bridging the Gap between Mobile Email and Salesforce
 
Documento 2. cc.oo. elecciones sindicales 2011
Documento 2. cc.oo. elecciones sindicales 2011Documento 2. cc.oo. elecciones sindicales 2011
Documento 2. cc.oo. elecciones sindicales 2011
 
Fanta uva
Fanta uvaFanta uva
Fanta uva
 
First witch
First witchFirst witch
First witch
 
Mi expo
Mi expoMi expo
Mi expo
 
COOTAXIM PORTAL TURISTICO DEL EJE CAFETERO - INSTALACIONES ADMINISTRATIVAS EN...
COOTAXIM PORTAL TURISTICO DEL EJE CAFETERO - INSTALACIONES ADMINISTRATIVAS EN...COOTAXIM PORTAL TURISTICO DEL EJE CAFETERO - INSTALACIONES ADMINISTRATIVAS EN...
COOTAXIM PORTAL TURISTICO DEL EJE CAFETERO - INSTALACIONES ADMINISTRATIVAS EN...
 
Curso SEO posicionamiento web en buscadores. UPB . Interlat
Curso SEO posicionamiento web en buscadores. UPB . InterlatCurso SEO posicionamiento web en buscadores. UPB . Interlat
Curso SEO posicionamiento web en buscadores. UPB . Interlat
 
INNOVATION IN RETINAL IMAGING: OPPORTUNITIES & CHALLENGES - History of Intrao...
INNOVATION IN RETINAL IMAGING: OPPORTUNITIES & CHALLENGES - History of Intrao...INNOVATION IN RETINAL IMAGING: OPPORTUNITIES & CHALLENGES - History of Intrao...
INNOVATION IN RETINAL IMAGING: OPPORTUNITIES & CHALLENGES - History of Intrao...
 
Nuevo trabajo ok
Nuevo trabajo okNuevo trabajo ok
Nuevo trabajo ok
 
Aenj artology 2012 conf
Aenj artology 2012 confAenj artology 2012 conf
Aenj artology 2012 conf
 
informe sobre motores de búsqueda y herramientas web
informe sobre motores de búsqueda y herramientas web informe sobre motores de búsqueda y herramientas web
informe sobre motores de búsqueda y herramientas web
 
What's hot final dls
What's hot final dlsWhat's hot final dls
What's hot final dls
 
Apparel Men 2010
Apparel Men 2010Apparel Men 2010
Apparel Men 2010
 
betterplace lab around the world 2014 - english
betterplace lab around the world 2014 - englishbetterplace lab around the world 2014 - english
betterplace lab around the world 2014 - english
 
Renovación hoteles. Caso de estudio Hotel Beatriz & Spa (2011)
Renovación hoteles. Caso de estudio Hotel Beatriz & Spa (2011)Renovación hoteles. Caso de estudio Hotel Beatriz & Spa (2011)
Renovación hoteles. Caso de estudio Hotel Beatriz & Spa (2011)
 
eparo - Service Design Immonet iPad-App (Vortrag iico Konferenz 2013 - Rolf ...
eparo - Service Design Immonet iPad-App  (Vortrag iico Konferenz 2013 - Rolf ...eparo - Service Design Immonet iPad-App  (Vortrag iico Konferenz 2013 - Rolf ...
eparo - Service Design Immonet iPad-App (Vortrag iico Konferenz 2013 - Rolf ...
 
Lupus
Lupus Lupus
Lupus
 
High Performance Buildings - Lessons Learned, June 2012
High Performance Buildings - Lessons Learned, June 2012High Performance Buildings - Lessons Learned, June 2012
High Performance Buildings - Lessons Learned, June 2012
 

Similar to Modules and Components Introduction in Joomla! 2.5

Simple module Development in Joomla! 2.5
Simple module Development in Joomla! 2.5Simple module Development in Joomla! 2.5
Simple module Development in Joomla! 2.5Vishwash Gaur
 
Develop Basic joomla! MVC component for version 3
Develop Basic joomla! MVC component for version 3Develop Basic joomla! MVC component for version 3
Develop Basic joomla! MVC component for version 3Gunjan Patel
 
Mageguru - magento custom module development
Mageguru -  magento custom module development Mageguru -  magento custom module development
Mageguru - magento custom module development Mage Guru
 
Integrate Shindig with Joomla
Integrate Shindig with JoomlaIntegrate Shindig with Joomla
Integrate Shindig with JoomlaAnand Sharma
 
Introduction to Magento 2 module development - PHP Antwerp Meetup 2017
Introduction to Magento 2 module development - PHP Antwerp Meetup 2017Introduction to Magento 2 module development - PHP Antwerp Meetup 2017
Introduction to Magento 2 module development - PHP Antwerp Meetup 2017Joke Puts
 
Joomla Day UK 2009 Template Design Presentation
Joomla Day UK 2009 Template Design PresentationJoomla Day UK 2009 Template Design Presentation
Joomla Day UK 2009 Template Design PresentationChris Davenport
 
Joomla! Day UK 2009 Template Design
Joomla! Day UK 2009 Template DesignJoomla! Day UK 2009 Template Design
Joomla! Day UK 2009 Template DesignAndy Wallace
 
Drupal 8 - Core and API Changes
Drupal 8 - Core and API ChangesDrupal 8 - Core and API Changes
Drupal 8 - Core and API ChangesShabir Ahmad
 
Joomla Extensions Kung Fu
Joomla Extensions Kung FuJoomla Extensions Kung Fu
Joomla Extensions Kung FuOleg Nesterov
 
Joomla! Frappe - Κατασκευή εφαρμογών για το Joomla! χωρίς να τραβάτε τα μαλιά...
Joomla! Frappe - Κατασκευή εφαρμογών για το Joomla! χωρίς να τραβάτε τα μαλιά...Joomla! Frappe - Κατασκευή εφαρμογών για το Joomla! χωρίς να τραβάτε τα μαλιά...
Joomla! Frappe - Κατασκευή εφαρμογών για το Joomla! χωρίς να τραβάτε τα μαλιά...Nicholas Dionysopoulos
 
Finding Your Way: Understanding Magento Code
Finding Your Way: Understanding Magento CodeFinding Your Way: Understanding Magento Code
Finding Your Way: Understanding Magento CodeBen Marks
 
Joomla Day India 2009 Business Logic With The Mvc
Joomla Day India 2009   Business Logic With The MvcJoomla Day India 2009   Business Logic With The Mvc
Joomla Day India 2009 Business Logic With The MvcAmit Kumar Singh
 
Template overrides austin
Template overrides   austinTemplate overrides   austin
Template overrides austinChad Windnagle
 
How to Develop Your First Ever Joomla Template?
How to Develop Your First Ever Joomla Template?How to Develop Your First Ever Joomla Template?
How to Develop Your First Ever Joomla Template?damienwoods
 
Create / Modification of templates for Joomla! At Joomla! Day Spain 2012
Create / Modification of templates for Joomla!  �At Joomla! Day Spain 2012Create / Modification of templates for Joomla!  �At Joomla! Day Spain 2012
Create / Modification of templates for Joomla! At Joomla! Day Spain 2012Saurabh Shah
 

Similar to Modules and Components Introduction in Joomla! 2.5 (20)

Simple module Development in Joomla! 2.5
Simple module Development in Joomla! 2.5Simple module Development in Joomla! 2.5
Simple module Development in Joomla! 2.5
 
Develop Basic joomla! MVC component for version 3
Develop Basic joomla! MVC component for version 3Develop Basic joomla! MVC component for version 3
Develop Basic joomla! MVC component for version 3
 
Mageguru - magento custom module development
Mageguru -  magento custom module development Mageguru -  magento custom module development
Mageguru - magento custom module development
 
Joomla! Template for Beginners
Joomla! Template for BeginnersJoomla! Template for Beginners
Joomla! Template for Beginners
 
Integrate Shindig with Joomla
Integrate Shindig with JoomlaIntegrate Shindig with Joomla
Integrate Shindig with Joomla
 
Introduction to Magento 2 module development - PHP Antwerp Meetup 2017
Introduction to Magento 2 module development - PHP Antwerp Meetup 2017Introduction to Magento 2 module development - PHP Antwerp Meetup 2017
Introduction to Magento 2 module development - PHP Antwerp Meetup 2017
 
Joomla Day UK 2009 Template Design Presentation
Joomla Day UK 2009 Template Design PresentationJoomla Day UK 2009 Template Design Presentation
Joomla Day UK 2009 Template Design Presentation
 
Joomla! Day UK 2009 Template Design
Joomla! Day UK 2009 Template DesignJoomla! Day UK 2009 Template Design
Joomla! Day UK 2009 Template Design
 
Drupal 8 - Core and API Changes
Drupal 8 - Core and API ChangesDrupal 8 - Core and API Changes
Drupal 8 - Core and API Changes
 
Joomla Templates101
Joomla Templates101Joomla Templates101
Joomla Templates101
 
Joomla Extensions Kung Fu
Joomla Extensions Kung FuJoomla Extensions Kung Fu
Joomla Extensions Kung Fu
 
Joomla! Frappe - Κατασκευή εφαρμογών για το Joomla! χωρίς να τραβάτε τα μαλιά...
Joomla! Frappe - Κατασκευή εφαρμογών για το Joomla! χωρίς να τραβάτε τα μαλιά...Joomla! Frappe - Κατασκευή εφαρμογών για το Joomla! χωρίς να τραβάτε τα μαλιά...
Joomla! Frappe - Κατασκευή εφαρμογών για το Joomla! χωρίς να τραβάτε τα μαλιά...
 
Finding Your Way: Understanding Magento Code
Finding Your Way: Understanding Magento CodeFinding Your Way: Understanding Magento Code
Finding Your Way: Understanding Magento Code
 
Joomla Day India 2009 Business Logic With The Mvc
Joomla Day India 2009   Business Logic With The MvcJoomla Day India 2009   Business Logic With The Mvc
Joomla Day India 2009 Business Logic With The Mvc
 
Template overrides austin
Template overrides   austinTemplate overrides   austin
Template overrides austin
 
JOOMLA
JOOMLAJOOMLA
JOOMLA
 
Creating a basic joomla
Creating a basic joomlaCreating a basic joomla
Creating a basic joomla
 
How to Develop Your First Ever Joomla Template?
How to Develop Your First Ever Joomla Template?How to Develop Your First Ever Joomla Template?
How to Develop Your First Ever Joomla Template?
 
Create / Modification of templates for Joomla! At Joomla! Day Spain 2012
Create / Modification of templates for Joomla!  �At Joomla! Day Spain 2012Create / Modification of templates for Joomla!  �At Joomla! Day Spain 2012
Create / Modification of templates for Joomla! At Joomla! Day Spain 2012
 
Joomla_Training_Presentation
Joomla_Training_PresentationJoomla_Training_Presentation
Joomla_Training_Presentation
 

Recently uploaded

Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Neo4j
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentationphoebematthew05
 
Science&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfScience&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfjimielynbastida
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 

Recently uploaded (20)

Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentation
 
Science&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfScience&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdf
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 

Modules and Components Introduction in Joomla! 2.5

  • 1. Vishwash Gaur © 2012 Vishwash Gaur. All rights reserved. All registered trademarks, logos, products and service names belong to their respective owners. Image Credit: http://ayadipro.com/blog/high-tech-education/25-improvements-in-joomla-2-5/ Disclaimer: Images used on this slide are for representative purposes only and belong to their respective owners.
  • 2. Basic knowledge of HTML, PHP and MySQL  Interest in MVC and CMS frameworks to reduce development time  A web server with PHP/MySQL installed on it  Joomla! 2.5 package downloaded and installed ◦ it can be downloaded from http://www.joomla.org/download.html  NOTE: This presentation is focused for the beginners in Joomla! and would cover only a basic overview due to limited time. Further details can be discussed separately later.
  • 3. An overview of both the Joomla! Extensions to understand the basics, conventions and structure.
  • 4. What is a module? ◦ Modules are lightweight and flexible extensions used for page rendering. These modules are often “boxes” arranged around a component on a typical page. A well-known example is the login module.  Why should we use a module? ◦ Can work standalone ◦ Good for code reusability ◦ Can work with component for database linking  Conventions ◦ Module name should be in small letters ◦ Module name should have a prefix “mod_”
  • 5.
  • 6. Depends on template  Added in template using below code: ◦ <jdoc:include type="modules" name=“module-positon- name" />  Can be more than one modules on a page
  • 7. Go to Joomla! Admin Panel  Access Top Menu>Extensions>Template Manager  Click on options button on the top-right side of the toolbar  Enable the “Preview module positions”  Go to website front panel and add “?tp=1” to the url ◦ It will reveal the module positions in a Joomla template
  • 8.
  • 9. Go to template manager
  • 11. Enable setting to preview module positions
  • 12. http://yoursite.com/index.php?tp=1 Open your page with “?tp=1” at the end of url and it will reveal all Module positions
  • 13. Mod_modulename – module folder ◦ mod_modulename.xml ◦ mod_modulename.php ◦ helper.php: This helper file contains a class to provide various static functions to perform operations. It could be used to perform some calculation or to fetch data from DB. ◦ index.html: It is an empty file and created to prevent direct access to the directory. ◦ tmpl folder  default.php:  index.html: It is an empty file and created to prevent direct access to the directory.
  • 14. What is component? ◦ Components are the main functional units of Joomla!; they can be seen as mini-applications. ◦ A component can contain a module and a plug-in  Why should we use a component? ◦ To manage more functional part or application ◦ To provide backend handling to a front-end functionality  Conventions ◦ Component name should be prefixed by “com_” e.g. com_componentname ◦ Component name should start with small letters
  • 15. Depends on template  Added in template using below code: ◦ <jdoc:include type="component" />  Can be only one component on a page
  • 17. Website Backend: Website Front-end: admin/index.html helloworld.xml admin/helloworld.php site/index.html admin/controller.php site/helloworld.php admin/models/index.html admin/models/fields/index.html site/controller.php admin/models/fields/helloworld.php site/views/index.html admin/models/forms/index.html site/views/helloworld/index.html admin/models/forms/helloworld.xml site/views/helloworld/view.html.php admin/models/helloworld.php admin/models/helloworlds.php site/views/helloworld/tmpl/index.html admin/views/index.html site/views/helloworld/tmpl/default.xml admin/views/helloworlds/index.html site/views/helloworld/tmpl/default.php admin/views/helloworlds/view.html.php admin/views/helloworlds/tmpl/index.html site/models/index.html admin/views/helloworlds/tmpl/default.php site/models/helloworld.php admin/views/helloworlds/tmpl/default_head.php admin/views/helloworlds/tmpl/default_body.php admin/views/helloworlds/tmpl/default_foot.php admin/views/helloworld/index.html admin/views/helloworld/view.html.php admin/views/helloworld/tmpl/index.html admin/views/helloworld/tmpl/edit.php admin/tables/index.html admin/tables/helloworld.php admin/language/en-GB/en-GB.com_helloworld.ini admin/language/en-GB/en- GB.com_helloworld.menu.ini admin/controllers/index.html admin/controllers/helloworld.php admin/controllers/helloworlds.php
  • 18. I look forward to learn and share more with you in future too.  I can be reached easily at my blog www.vishwashgaur.com and/or using twitter @vishwashgaur
  • 19. XAMP: http://www.apachefriends.org/en/xampp.html  Joomla!: http://www.joomla.org/  JED: http://extensions.joomla.org/  Joomla! Forum: http://forum.joomla.org/  Joomla! Magazine: http://magazine.joomla.org/authors/itemlist/user/65-Nicholas-G-Antimisiaris  Joomla documentation: http://docs.joomla.org/  Joomla 2.5 essential training: http://www.lynda.com/Joomla-tutorials/Joomla-Essential-Training/95699-2.html  Joomla! For beginners guide 2012: http://www.danconia.com/joomla-for-beginners-guide-2012.html  Joomla! Developers guide: http://cocoate.com/sites/cocoate.com/files/private/jdev.pdf

Editor's Notes

  1. Hi, I am Vishwash Gaur. Today, I am going to present a beginner series webinar on the topic of Component and Module development in Joomla 2.5
  2. There would be an added benefit if you have downloaded, installed and used Joomla! a little bit in prior.In reducing the procedural code issues i.e. lack of code reusability, higher debugging time and more
  3. Modules typically makeup the elements of sidebar or content menus. Module complements the content contained in a component; they are not intended to be main sub-stance of the page.Modules are installed through the admin panel, they don’t manipulate any data from the database all what they do is display the contents on the page like examples on the page.
  4. Module folder is located inside the modules directory of either front end or backend as per the case of development.
  5. Components frequently have sophisticated back-end controls. The back-end is commonly used to create and manage the records from database. In Joomla, Content manager and Banner manager are examples of a component.Convention: Decide structure of component before development i.e. for front end, back end or both – it would allow you easy programming reference during the development.