LOGIC Library

This site is the Logic involvement in sharing expertise and skills acquired in daily work. The goal is to create a solid knowledge base and share best practices in software development and systems management.

More info about us can be found on logicsistemi.it.

Joomla! 3: a different layout or style for the front page

In the last years, web site front pages left their specifity giving way to a look similar to other pages. According to TheNextWeb article on web design trends for 2014, it seems that hero pages are one of the most common features in new websites, requiring a front page slightly different from the others.

Let's see how we can accoomplish this work in Joomla!

Joomla! 3: how to add custom fields to user registration form

More than a year ago I wrote a tutorial that explained how to write a plugin to add fields to the Joomla! 2.5 user registration form.

A year later the Joomla! 3 version is widely used and it's time to update my tutorial to make it work with the new version.

A redirect plugin for Joomla! 2.5

In this post we'll take a look to content plugins and we'll write a very simple plugin that allows to create a redirect page in our Joomla! Site.

By doing this we will discover how to use a plugin to modify article test or add Javascript code to it.

Joomla! 2.5 user plugin: adding validation

In a previous post we have learned how to extend users' data with custom fields during a Joomla! user registration. In the example we have left the new fields without any validation.

In this post we will add 3 types of validation to the new fields: client side validation, server side validation and a complex server side validation.

To undestand every passage of this post I suggest you to read the Joomla! form validation tutorial and the last part of the Joomla! MVC component tutorial. They both have information about validation we will use in this example.

Joomla! 2.5 form validation - part 3

It's time to complete our validation example by managing the required attributes server side and by adding custom validation rules server and client side.

Joomla! 2.5 form validation - part 2

Client side validation is working great in our Joomla! module, but, if you turn down Javascript support in your browser, you can easily bypass it: for security reasons, we also need a server side validation.

This second type of validation will be created using PHP and the set of Joomla! classes called “rules”.

Page 1 of 4