Hello super joomlers!

Here is some commands to type in your terminal (on Linux or macOS and maybe Windows)

  1. Install latest Docker version on your machine
  2. git clone https://github.com/alexandreelise/j4x-docker j4x
  3. cd j4x && chmod 700 develop && ./develop up --build

Note: Change to app custom image name to suit your needs or any revelant information. It's a proof of concept still in dev stage.

It's a Joomla! 4 unofficial docker setup. For more information follow this link.

Hello super joomlers!

A joomler friend asked me: "how to add $this->item->jcfields in a core module like mod_articles_latest"

I accepted the challenge and share with this post the results to the Joomla! community, the joomlers family.

Get right into the code well commented and ready to use.


How to do it

Hello super joomlers!

During your Joomla! journey, you will from time to time have a problem that can be solved by: "The Power of the Guest"

In fact it is the Guest access level, that is by default in Joomla! core


The Power of the Guest relies upon the fact that we can show elements of our Joomla! site like (menus, articles, modules, etc...) just to guests (not logged in users)

Therefore we can tailor an awesome user experience just for our guests.


Don't hesitate to use this functionality in your Joomla! sites.


That's all for today! Take care

What's up super joomlers!

A new Joomla! core juicy trick just for you.

Did you know that you can use multiple sql files for the install process of your custom component?

They are red sequentially following the order in the xml manifest file of your component

Here is an example. Pay close attention to the install part.

Hello super joomlers!

A simple trick to login a Joomla! user by code rather than using a form.

Interested? Let's move on...

Hello super joomlers!

I know, I know. You will likely tell me that there will be conflicts by using custom fields by name because names are not necessarily unique.

But there is a solution for that. Using a naming convention for your custom fields. For example for article content custom fields you could use something like article-my-field.

Besides this convention. You can use this oneliner sample code rather than trying to memorize custom fields id by heart even if we might have written the ids down on a document it's a painful task.

Here is an attempt to simplify this task.

Hello super joomlers!

After searching the web, the official website, php documentation and forums, I found, at last, the solution thanks to a friend's suggestion : "What if it was just the image background?"

Hello super joomlers!

Assuming your plugin was a system plugin named helloworld. (plg_system_helloworld)

The base structure of the link to access to your plugin directly from your Joomla! website backend would therefore be: 

Hello super joomlers!

As a Joomla! developer, in my opinion, there are 3 things to master:

Hello super joomler!

An interesting API for developers wanting to monitor the behavior of their custom component or simply debug their extension analysing logs using SQL queries.

In this article I show you step by step how to achieve this database storage logger using a MySQL database.

Download free ebook now

Hello super joomlers!

If you are like me and like using the latest and greatest stuff, you might have tried to install Joomla! 4.x-dev on your computer. But maybe you had the same issue than I had. Either on frontend and backend modules won't show up. However no prominent error pops up. An SQL query to the rescue! Here it is:

UPDATE `#__modules` SET `publish_down` = '0000-00-00 00:00:00' WHERE 1=1;
UPDATE `#__content` SET `publish_down` = '0000-00-00 00:00:00' WHERE 1=1;

At first sight, the second query is not required. But just in case the articles won't show up, you can execute the second query. To do this you can use tools like phpMyAdmin, adminer, Sequel Pro, HeidiSql or MySQL Workbench.
Take care super joomlers

Hello super joomlers!

This time, I will show you a simple code snippet to copy paste in your template overrides of com_content (articles). For those of you who want to add custom fields in their favourite templates there are 2 snippets to add. Here they are.

After watching many conferences about clean code on Youtube. I share with you what I have learned.

General rules about clean code:

  • do not abbrieviate
  • return early
  • do not use return
  • Keep classes and methods small
  • features separeted in methods
  • defensive controls exit early
  • one ident level

Hello Super Joomlers!

Today I will talk about percona server. An optimized and ultra high performance fork of MySQL to have enterprise level quality for free. Here is the 5 steps to install it on Ubuntu Bionic.

How to use custom fields in a multilingual context

Or how to translate some parts of your custom fields.

How to clone one branch only with git 2.21.0 ?
For example to clone the  4.0-dev of the joomla-cms repository into the joomla4x directory

Hello Super Joomlers!

Sorry for being so quiet for so long. I'm back with a new present for you: How to load global language file from your Joomla! site in any of your custom extensions. Are you a Joomla! extension developer? You might have had, just like me,  that same  problem when coding your extension.

Hello Super Joomlers!

I know, I know. Multi what?  What is that entangled weird title? Fear not! Delicious meal is coming. Everything going be crystal clear soon. Bear with me. Since Joomla! 3.7 custom fields was merged into Joomla! core. Custom fields was originally a work from Allon Moritz (@laoneo). He decided to gave it to Joomla! community. Big thanks to him and all the Joomla! team and contributors. What you need to know is that core components like com_content (articles) support custom fields out-of-the-box. But how about third-party extensions that we as developers want to make? We want custom fields too for our extensions even more.

I more or less recently stumbled upon the "headless CMS" thing where the actual content is completely separated from the actions one can do to "manipulate" or "act on" the content using an API. I know that Webservices are coming in Joomla 4 hopefully. But I was wondering if a full fledge "headless CMS" might be the way to go to help Joomla! become popular again to more developers. To me, If more developers do more stuff for Joomla! core and contribute, the whole Joomla community will benefit from it. 

Hello Super Joomlers!

By default, you can only send and email in text only or html only with JMail api in Joomla! 3.

But with this code snippet, you can send both, html and text email at the same time.

This is useful to improve your score and find your email less and less in your customers spams mailbox.

Here is the code.