If It's Joomla You Want, Then It's Joomla You've Got!

Joomla-List is the complete resource for all things Joomla. Check our growing list of Joomla Resources on all aspects of Joomla.

If you're a developer or extension expert or just a user of the greatest CMS in the known world, you can submit your Joomla Resource List here for FREE! You can also use Joomla-List Resources from this site as content for your own.

Joomla How to

  • How to implement XML-RPC in a component

    Overview

    XML-RPC is a specification and set of implementations which allow software running on different software platforms and written in different languages to make procedural calls over the

    Read More...
  • How to Create a Joomla! Plugin

    Introduction

    Joomla! plugins serve a variety of purposes.  As modules enhance the presentation of the final output of the Web site, plugins enhance the data and can also provide additional, installable functionality.

    This tutorial looks at the general principles used to design and build a plugin.

    Read More...
  • How to determine if the user is viewing the front page

    In Joomla! 1.0.x it was possible to determine if the user was viewing the front page by using code like this:

    <?php
    if ($option == 'com_frontpage' || $option == '') {
            echo 'This is the front page';
    }
    ?>

    Read More...
  • How to add CSRF anti-spoofing to forms

    What is a CSRF Attack?
    A Cross Site Request Forgery (CSRF) attack relies on the trust a website has for a user to execute unauthorized requests and or transactions. For example, say a user is logged into their Joomla! websites' administrator interface in one tab and is browsing a compromised site in another tab. A simple CSRF attack can be launched simply by tampering with IMG elements in some browsers so that they point to something like
    Read More...
  • How to use the JTable class

    Writing an extension of JTable
    The JTable class is an implementation of the Active Record design pattern. It is used throughout Joomla! for creating, reading, updating, and deleting records in the database table.

    To use JTable, create an extension of the class. In this example, we have a database table containing recipes.

    Read More...
  • How to connect to an external database

    If you need to access tables within the same database as your Joomla! installation then you can simply use the JFactory->getDBO method. This uses the already established connection that Joomla! uses to connect to the database. For example:

    <?php
    $db = JFactory::getDBO();
    ?>


     

    Read More...
  • How to send email from components

    This is an example of how to send an email from a component. You would typically put this into your components controller.

    Fetch the mail object

    A reference to the global mail object (JMail) is fetched through the JFactory object. This is the object creating our mail.

    $mailer =& JFactory::getMailer();

    Read More...
  • How to use the editor in a component

    Introduction
    To get some interaction with the visitors of your website your visitors need to be able to add some content.

    This article will show you how visitors can add some data using a rich text editor.

    Lets start with the component created in the article Developing a Model-View-Controller Component - Part 4 - Creating an Administrator Interface which lets the administrator add new entries to the database. The component can be downloaded at: com_hello4_01. If you haven't done already, install this component on your developing website and create a menu link to this component.

    Read More...
  • How to use the JPane classes in a component

    JPane class types include 'Tabs' and 'Sliders'.

    Sliders implement the mootools accordian effect. Examples are the Joomla Admin parameters settings. Tabs also implement mootools (but in which degree?)

    startPane and endPane() require a string identifier.

    JPanes contain Panels

    Read More...
  • How to debug your code

    The Easy Way: The simplest way to see what is going on inside your code is to temporarily add echo statements for variables to show their values on the screen. For example, say you want to know what the value of some variables are when $i is "5". You could use code like this:

    for ( $i = 0; $i < 10; $i++ ) {         if ( $i == 5 ) {                 echo '$i=' . $i;                  // other echo statements          } } 
    Read More...

  © Copyright 2010 Joomla-List

Home | Sitemap | Contact Us