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.
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
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.
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';
}
?>
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.
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();
?>
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();
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.
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
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 } }
© Copyright 2010 Joomla-List
Home | Sitemap | Contact Us