I recently posted two articles about cloning joomla sites for development and transferring the changes back to the live site. Those posts apply for large changes to existing sections on your Joomla website, but for smaller changes and added functionality you can operate extemely efficiently through what I call "Clever ACL Management". This will speed up development while still providing minimal disturbance to your users on your live site.

What is Clever ACL Management?

This means that you keep the new functionality hidden from the users on your live site as you work on changes. You will be able to do all of your work under the radar and then quickly publish the new sections.

ACL stands for "Access Control Level". In Joomla this used for your user groups, where the lowest ACL is "public", next is "registered", and so on up to "super administrator."

Primary ACL Management through Menu Items

In Joomla, you publish new sections to your site primarily by creating menu items that link to the section or component. Without these menu items, you users will have no way to get to those sections. Joomla menu items can be published to a certain minumum ACL. That is, if you set a menu item to "public" everybody will be able to see the menu item. If you set it to "registered", only logged-in users will be able to see the menu item. If you set it to "special" only users with an ACL at or above "author" will be able to see the menu item.

We'll assume that you only have registered users on your site, or at least that your authors are trusted "internal" users who can be told to ignore certain menu items. This shortcoming of Joomla will be fixed in Joomla 1.6.

So all you have to do to keep sections invisible to your users is simply set the access for each new menu item to "special". This way, only authors and admins will be able to see the menu items and access the new sections. When you are ready to launch the new features, just set the access down to public or registered, whichever applies.

Secondary ACL Management through Modules

Joomla modules also have the same ACL settings as menu items, where you can set their access to public, registered, or special. If you are creating a new menu for your new section (say on a sidebar position), you can simply set that menu's module to "special" access. This will let you leave the menu items themselves set to public access if you need to test if from a public perspective. To access the new sections from a public user's view, just log in as an admin, copy the urls from the menu module, and paste them into a text file. Log out and paste the urls into your address bar to see and interact with the sections as a public user might.

This method will let you access the new sections without logging in because you know what the urls are. Keep in mind that anybody with these urls could potentially access these sections.

You can also use module ACL to control any other modules for the new section. This applies if you have modules for that new section that will appear on your public homepage. Simply set their access to special and your users won't notice, but you can still see how your pages will look once you publish the new section. Again, once you are ready to launch, just set the access to each module back to public or registered.

Doctor's Orders

Clever management of ACLs can help you prototype and configure new sections and features for your Joomla site and then allow you to rapidly deploy them for public or registered use. Stay tuned for an overview of a tool called "MetaMod" that will allow very specific module control beyond that provided by Joomla's core module system.

Jesse DundonJesse Dundon is a founding partner at Hathway Tech, where he is responsible for project management, training, and overall business strategy. He is a graduate of Cal Poly San Luis Obispo, avid rugby player, and a true scholar of Joomla! and web development in general.


Like this? Tweet it to your followers!

Latest articles from Jesse Dundon

Latest 'tweets' from JomDoc.com

  • Do you use SEF URLs with your Joomla site? Check out this very important post on how do save time in the long run: http://bit.ly/6nvSfv Link Wednesday, 25 November 2009 21:23
  • New Blog: Selecting a Professional Joomla Theme http://tinyurl.com/ykokson Link Monday, 16 November 2009 23:58
  • Cloning a Joomla site for development - not that hard. See the tutorial on JomDoc.com: http://tinyurl.com/yfdzzqh Link Sunday, 15 November 2009 19:28
  • Virtuemart + authorize.net customer information manager = secure customer data storage Link Monday, 09 November 2009 21:02
  • Looking forward to some improvements on the company site. Link Saturday, 07 November 2009 23:17
blog comments powered by Disqus

Getting by with a little help from our friends...

The Doctor recommends jReviews for slick design customization and extended content functionality.