Show hidden content after Joomla! 4.x dev installation

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

Conferences notes about "clean code"

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
How to install cryptography extension libsodium for php7.0.27

After trying to install this extension using pecl without much success,

I had the following message

Warning cannot install module.These settings must match
.
To summarize, the pecl extension was not compiled with the right version of php.

The short tutorial I show you here works well and have been tested on
Ubuntu Server 16.04 LTS and php7.0.27.

How to send an email in text and html using Joomla! 3 JMail api?

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.

Page 3 of 3

Get the newsletter

Super Joomlers! Get the most out of Joomla!
We hate spam as much as you do and we will not send you email without your prior consent. You can unsubscribe / resubscribe any time you want.