Joomla! Notes

Links

How Joomla! 1.5 Files are Organized
How to convert a simple PHP application to Joomla! 1.5 MVC – Part 1 – The first pass: Database
JDOC:API Reference Project
API15:Framework

Snippets

Read More

<hr id="system-readmore" />

Redirect

<p>{jsrp}url=/job-search-apply.html;refresh=1{/jsrp}</p>

Templates

Joomla Template FAQ
Joomla 1.5 Template Tutorial

Templates Must have the following:

templates/TEMPLATE/params.ini 666

Overriding Content Layout

Article Content Overrider

Copy

/components/com_content/views/article/tmpl/default.php

to

/templates/template_name/html/com_content/article/default.php

So, same basic folder structure as in components sans the views and tmpl directories.

Components

Components are the main information in Joomla! and are driven by menus.
Each page displays one component at a time.

Modules

Modules are lightweight and flexible extensions used for page rendering.
Modules are sections that lie in pre-defined boxes along each page around the main content.
Regions such as top, left, right, footer, etc.

Plugins

Plugins provide routines which are associated with trigger events within Joomla.
When a particular trigger event occurs all plugin routines of the type associated with the event are executed in sequence.
In this way it is possible to add functionality to the Joomla Framework.

JURI

http://docs.joomla.org/JURI

$juri = clone(JURI::getInstance());

print_r($juri);

JURI Object
( [_uri] => http://client.ayzenberg.com/see/corp/ [_scheme] => http [_host] => client.ayzenberg.com [_port] => [_user] => [_pass] => [_path] => /see/corp/ [_query] => [_fragment] => [_vars] => Array ( ) [_errors] => Array ( )
)

URL = http://client.ayzenberg.com/see/corp/about.html

$juri->getPath() = /see/corp/about.html

JURI::base() = http://client.ayzenberg.com/see/corp/
$juri->base() = http://client.ayzenberg.com/see/corp/
JURI::base(true) = /see/corp
$juri->base(true) = /see/corp
JURI::current() = http://client.ayzenberg.com/see/corp/about.html
$juri->current() = http://client.ayzenberg.com/see/corp/about.html
JURI::root() = http://client.ayzenberg.com/see/corp/
$juri->root() = http://client.ayzenberg.com/see/corp/
JURI::root(true) = http://client.ayzenberg.com/see/corp/
$juri->root(true) = /see/corp

============================================================================