Security Tips To Stop Joomla Hackers In Their Tracks

I do a bit of business from time to time when clients call me to clean up broken or hacked Joomla web sites. While the paths the hackers took to get into the system were all different they all boil down to a few basic things. From the moment you first set up your Joomla […]
Continue reading…

 

Upgrading to Joomla 3.x Fatal error: Call to undefined method JRegistry::getValue()

Joomla is a free and open-source content management system (CMS) for publishing web content. It is built on a model–view–controller web application framework that can also be used independently. Joomla 3.x released, if your website joomla verion lower than 2.5 please Upgrade to Joomla 2.5.x or 3.x Upgrading to Joomla 3.x Fatal error: Call to […]
Continue reading…

 

How to installation sh404sef joomla component for SEO (URL friendly)

sh404SEF rewrites Joomla URL to user-friendly format (SEF URL or URL rewriting): mysite.com/index.php?option=com_content&Itemid=69&id=34… becomes mysite.com/en/sh404SEF-and-url-rewriting/list-of-available-plugins.html). It is also a security component. Page title and meta tags manager for every page. With or without .htaccess file. Joomfish compatible. Caching system for high speed and very small DB queries overhead. Support many components natively: VirtueMart, K2, FlexiContent, […]
Continue reading…

 

Converting Joomla Templates for Right to Left (RTL) Languages

There doesn’t seem to be much information around the internet on this subject (well at least not in English), so I thought I’d post my notes here. I’ve been working on a Joomla 1.5 site with a client and they needed an Arabic site put up. I initially tried to do this using Joomfish translation […]
Continue reading…

 

Reset administrator joomla password PHPMyAdmin

Problem
You forget, lose or your Super Admin (or other user account) won’t allow you access to your system.

Solution
Reset password using PHPMyAdmin

If you have access to PHPMyAdmin then you can edit the account that you want to reset the password for and as long as you follow the screencast shown below you can enter your password in plain text and have it encrypted for you as it is saved to the database.

Just make sure that you choose the same encryption method that your site is currently using.

 


Continue reading…

 

joomla 2.5 First and Last Menu Overrides

Adding classes to the first and last element in navigation menu can be helpful in defining menu styles. We can easily add extra class “first” and “last” to the respective elements of the menus by adding a few lines to the menu module code. This as far as I know has never been a feature in Joomla, going forward adding the classes should be made redundant as support for CCS3 matures and we can reliably use the CSS3 Pseudo-classes :first-child and :last-child but until then.

Joomla 2.5.0 has a mod_menu (Joomla 1.7 used mod_mainmenu) module for creating menus. Joomla allows the users to create overrides to get this special enhancements. We want to make an override to Joomla’s ‘mod_menu’ module to get our first and last class finctionality. This will allow your modifications to remain after a Joomla update.

 

Continue reading…

 

Migrating from Joomla 1.5 to Joomla 1.6+, joomla 1.7

With Joomla 1.6 officially released, there have been a lot of questions as to how to migrate or upgrade to Joomla 1.6 from 1.5. This guide will take you step-by-step through the general procedure of how to migrate to Joomla 1.6. Please read through all the material as this is not a light undertaking.

Before Upgrading

Don’t let the numerical closeness of 1.5 and 1.6, mislead you. Joomla 1.6 took three years to develop and has been a major undertaking. Countless hours have been spent by many volunteers from around the world to put it all together. Although much of the code is the same from Joomla 1.5, much of it has been written from the ground up, and the changes are comparable to the changes from Joomla 1.0 to 1.5. Because the changes from Joomla 1.5 to 1.6 are so large and because of the massive effort put into getting Joomla 1.6 to where it is today, there is no core upgrade path, this is indeed a migration. In planned future releases of Joomla (which will be released every 6 months), such as Joomla 1.7, 1.8, etc, the changes from version to version will be more incremental and a core upgrade path is planned. Now that Joomla 1.6 is finally here and stable, a community initiative led by the developers of Joomla is turning towards jUpgrade (a 3rd party Joomla extension on the JED originally developed by Matias Aguirre) for help and to help. Many of Joomla’s developers (who are all volunteers that freely contribute their time) are volunteering to put the finishing touches on jUpgrade.

Continue reading…

 

Upgrading a Joomla 1.5 template to Joomla 1.6 Joomla 1.7

This page provides feedback on the process of upgrading a Joomla 1.5 template for use with Joomla 1.6 from those who have already attempted it. This is intended to be a living document that can be added to as more experience is gained and is likely to be reorganised periodically. If you have encountered a problem when upgrading a template, or if you have any information that you think will help smooth the way for others who will follow then please add your comments initially on the Talk page. We will then collate the information and incorporate it into this page.

Chris Davenport prepared slides for a presentation at the JoomlaDay UK 2010 event which explain the changes in templates for Joomla! 1.6.

Template parameters

In both Joomla! 1.5 and 1.6 template parameters are defined in templateDetails.xml.

Whereas in 1.5 parameters are defined as part of the <params> section, and each parameter is defined as a <param>, in 1.6 template parameters are contained in the <config> section and treated as a <field> nested within the <fieldset> and <fields> tags, as illustrated below.

 

    <config>
        <fields name="params">
            <fieldset name="basic">
                <field name="" type=" default="" label="" description="">
                    <option value="1">On</option>
                    <option value="0">Off</option>
                </field>
                <field name="" type="" default="" label="e" description="" />
            </fieldset>
        </fields>
    </config>

<fieldset name="basic"> wraps the parameters in a slider and using name=”basic” labels that slider as “Basic Options” and name=”advanced” labels it as “Advanced Options”.

The name=”” type=” default=”” label=”” description=”” attributes still apply.

Template Manifest File

Two other important changes to the templateDetails.xml file include: 1) adding the new 1.6 Doctype and 2) changing the <install> tag to <extension> as shown below.

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE install PUBLIC "-//Joomla! 1.6//DTD template 1.0//EN" "http://www.joomla.org/xml/dtd/1.6/template-install.dtd">
<extension version="1.7" type="template" client="site">

Notice the additional new “client” attribute which is set to “site” for a front-facing template and “administrator” for an back-end template.

Objects and Methods

Sitename

  • <?php echo $mainframe->getCfg('sitename');?> is now $app->getCfg('sitename'); Where $app = JFactory::getApplication();

Error Codes

  • $this->error->code is replaced by $this->error->getCode();
  • $this->error->message is replaced by $this->error->getMessage();

Continue reading…

 

What is new in T3 Framework 2.0

  • Introducing Profiles – a new presets feature to control template design and other template settings.
  • The template administration panel comes with a new look, split into several sections and is AJAX powered.
  • Modular code makes the template light and fast but also powerful. Scripts that are not used, are not loaded!
  • New performance features: template cache and CSS&JS compression.
  • Now the framework support advanced override features to develop a flexible front-end design, user friendly!
  • The new framework comes with a new structure – meet the new plugins to take over the framework functions!
  • Control Panel – front-end users can customize the look and feel of the website by switching user tools values:
    • font-size switcher – allows users to increase / decrease or reset font size;
    • screen size switcher – allows users to select the template width;
    • profiles switcher – allows users to switch profiles;
    • layouts switcher – allows users to change only the layout;
    • text direction switcher – allows users to change the text direction of the website.



Continue reading…

 

Easy to start developing templates – JA T3 Blank Template

JA T3 Blank Template is a new clean template design powered by the new framework.
Benefits:

  • Easy to start developing templates from a blank core template
  • Easy to update the core while customizing the template layout design
  • Multiple themes with theme mixing capability – this allows you to use multiple themes simultaneously
  • Template administration panel is now your best friend: it allows you to edit files, upload your themes and customize settings like never before.
  • Flexibility have never reached this level!


Continue reading…