Joomla is a free and open source content management system (CMS) for publishing content on the World Wide Web and intranets and a model–view–controller (MVC) Web application framework that can also be used independently.
Joomla is written in PHP, uses object-oriented programming (OOP) techniques and software design patterns[citation needed], stores data in a MySQL database, and includes features such as page caching, RSS feeds, printable versions of pages, news flashes, blogs, polls, search, and support for language internationalization.

Joomla 1.5: Using the Page Class Suffix in Template Code

Joomla 1.5: Using the Page Class Suffix in Template Code
Sometimes web designers need to access a page class suffix from directly within a template. A common reason to do this is to assign unique styles to individual pages linked from a menu (e.g. to change the dominant color on that page). By default Joomla applies the page class suffixes only to limited areas of a page, which often doesn’t offer enough flexibility. However, by making some simple changes to your template you can take advantage of the cascading nature of stylesheets to apply unique styles to any element on a page.

Load Suffix

First, we need to find out what the page class suffix is for the page we are visiting. To do this, you will need add some code to your template:
[custom_list type=”check”]

  • Open your template’s index.php file (located in /templates/*template-name*/)
  • Find the tag in the index.php, near the top area of the template
  • Above this, insert one of the following code blocks (Either of the following options will work fine in most cases. However they work slightly differently, so in certain cases your needs may dictate a specific choice.)

[/custom_list]
(more…)

Continue ReadingJoomla 1.5: Using the Page Class Suffix in Template Code

Joomla 1.5: How to remove "Joomla SEF URLs by Artio" in artio joomsef?

To remove “Joomla SEF URLs by Artio” in your page, download this necessary file using ftp:
/components/com_sef/joomsef.php
then use an editor to open the file then comment line 1771 and 1772
line 1771 and 1772 looks like this

 if (JRequest::$cosi('fo'.'rmat') != 'r'.'aw')
    $doc->$cache($cacheBuf . base64_decode($cacheBuf2), 'component');

So this will look like this now

/*
 if (JRequest::$cosi('fo'.'rmat') != 'r'.'aw')
    $doc->$cache($cacheBuf . base64_decode($cacheBuf2), 'component');
*/

(more…)

Continue ReadingJoomla 1.5: How to remove "Joomla SEF URLs by Artio" in artio joomsef?

Joomla 1.5: Template conditional code

Template conditional code.

There two types of Joomla conditions
1. Module count conditions
2. Parameter Conditions

Joomla module count conditions are base on whether a module name position is active.
Modules are tied into the menu system in a few ways but I’m going to mention only the basics
for now. So you can understand how module count conditions work with the menu system.

Modules can be assigned to show and hide based on the location of the user or access level.
To view module assignment control go to the Module Manager administrator.
Click on any module and scroll down to see the Menu Assignment Controls.

The default Joomla data install uses three menus Mainmenu, Keyconcept, ExamplePages.
At this point the Menu Assignment Control module will show on every page on your site.
(more…)

Continue ReadingJoomla 1.5: Template conditional code

Joomla 1.5: What is a Joomla Component?

Joomla has both Front End & Back End components but the real question here is what is a component?

A component is an application within the Joomla framework some examples are the Joomla article system “com_content”, banners, menus, polls, links and contacts.
Some components are rendered in your Front End template as content for example articles. Others are used in the backend to manage things like user accounts.
(more…)

Continue ReadingJoomla 1.5: What is a Joomla Component?