By JCM Team on Friday, 01 November 2013
Category: November

Insight to Module Modernization

This article follows the introductory article in Joomla magazine July issue (https://magazine.joomla.org/issues/issue-july-2013/item/1366-module-modernization). In this article, I will briefly introduce some of the new modules which will be added to Joomla in near future and few of the new features such as module ACL and global configuration.

New Module: Contact Information Module

Contact information module displays a list of contact information of a selected contact from the contacts list.

Screenshots

Basic Options

Pull Request: https://github.com/joomla/joomla-cms/pull/1921

Feature Tracker: http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_id=8549&tracker_item_id=31566

New Module: Image Slider Module

Image Slider module shows a Bootstrap Image Carousel in a selected module position. Users can insert up-to 5 slides with an image, image link, heading and a description. In addition user can set auto start, slide interval and whether to show or hide navigations and controls.

Screenshots

Basic Options

Pull Request: https://github.com/joomla/joomla-cms/pull/1918

Feature Tracker: http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_id=8549&tracker_item_id=31568

New Module: Google Maps Module

This module shows a Google Map with basic options, in a given module position. User can define the location either by Longitude & Latitude or by address. Additionally user can set the zoom level, map size, map type as well. API key is an optional field. If the user has a Google Maps API 3 key, it can be specified in the ‘API Key’ field. The Maps module uses Google Maps API V3. In the future I’m planning to incorporate OSM and other map APIs as well.

Screenshots

Basic Options

Pull Request: https://github.com/joomla/joomla-cms/pull/1917

Feature Tracker: http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_id=8549&tracker_item_id=31570

New Module: Selected Tag Module

This module shows a list of articles which contains the selected tag, Selected Tag module is in a way somewhat similar to the Similar Tags module, which shows similar articles which contains similar tags to the article currently viewing. But instead Selected Tag module shows a list of articles which has a user specified tag. User can select the order and the direction the list of articles to be displayed. This module uses a new JLayout which can be used for both the tag modules

Screenshots

Basic Options

Pull Request: https://github.com/joomla/joomla-cms/pull/1919

Feature Tracker: http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_id=8549&tracker_item_id=31569

Module Global Configuration

Sets the global values for some advance module options, they include the following: Module Class Suffix, Module Tag, Bootstrap Size, Header Tag and Header Class. These global configurations can be overridden inside each module as user need.

How to access

To access this screen you can either:

Screenshot

Description

The Global module options will be applied for every module unless they are overridden inside a particular module.

Pull Request: https://github.com/joomla/joomla-cms/pull/1922

Feature Tracker: http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_id=8549&tracker_item_id=31571

Module Access Control

The module permission part was done by Sander Potjer and I did a few bug fixes and testing. Since it is an entirely new feature for Joomla modules, I would like to introduce it here as well and explain how a user can set permissions per module.

“Module Access Control provides the capability of using Joomla Access Control List functionality to Joomla Modules. Administrator can set permissions for each module, instead of setting permissions for all the modules as a whole now. If you are now to Joomla ACL, it is recommend to look at how Joomla ACL works.” http://docs.joomla.org/Access_Control_List/1.6-2.5/Tutorial

How to set Global Module Permissions

To access the Global Module Permissions, you first need to get to the Module Manager Options screen.

Click on the Permissions Tab to set Global Module Permissions.

Screenshot

Screenshots are shown below in more detail.

Description

Administrator can set Global Module permissions for each user group from the permissions tab.

Notes:

How to set individual Module Permissions

To access the Individual Module Permissions, you first need to get to the Module Manager screen.

Click on the Module you want to set permissions from the Module Manager. Click on the Module Permissions tab.

Basic Options

This where permissions for each user group is managed for this particular module.

Notes:

Sander’s PR: https://github.com/joomla/joomla-cms/pull/1930

Feature Tracker: http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=28638

Sander’s Article: http://www.aclmanager.net/blog/general/338-acl-permissions-per-module-in-joomla-32

Final Thoughts

It had been an enjoyable four months or so in Google Summer of Code program with the Joomla Community. I was able to get to know many people and obtain a lot of experiences. I would like to thank Elin Waring, Janich Rasmussen who guided me throughout the program and many other people who helped me out pointing out mistakes and improvements. It was a lifetime experience for me. Even though it has come to the end of the GSOC program, I would be more than happy to help the Joomla community in the future, especially to make Joomla modules better in every aspect.

Finally, it would be greatly helpful if you can test above new features (Links are provided inline) and suggest improvements, point out mistakes etc. where I can improve. Hope this article helps out both developers as well as users who wish to have new Joomla features.

Leave Comments