Alex.

Select your language

  • Français (Fr)
  • English (UK)
  • Home
  • Services
  • Blog
  • About
  • Login
SCHEDULE A CALL
A l e x
How to use modular SQL in your XML manifest
Published: 05 February 2020
Category: Blog

TIPS - How to use modular SQL in your XML manifest

  • Written by: M. Alexandre ELISÉ
  • Hits: 7065

Hello 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.


How to install cryptography extension libsodium for php7.0.27
Published: 18 January 2018
Category: Blog

TIPS - How to install cryptography extension libsodium for php7.0.27

  • Written by: M. Alexandre ELISÉ
  • Hits: 1096

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.

extension libsodium pour php7.0.27


Should Joomla! tend to become an unopiniated headless CMS? Maybe in Joomla! 4.5?
Published: 25 March 2019
Category: Blog

SUGGESTION - Should Joomla! tend to become an unopiniated headless CMS? Maybe in Joomla! 4.5?

  • Written by: M. Alexandre ELISÉ
  • Hits: 1540

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. 

Read more ...


Multi-context custom fields
Published: 22 March 2019
Category: Blog

EXTENSION - Multi-context custom fields

  • Written by: M. Alexandre ELISÉ
  • Hits: 1606

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.

Read more ...


3 things to master as a Joomla! developer
Published: 02 June 2019
Category: Blog

SUGGESTION - 3 things to master as a Joomla! developer

  • Written by: M. Alexandre ELISÉ
  • Hits: 1894

Hello super joomlers!

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

Read more ...


Powerful relative time feature of custom fields
Published: 04 May 2021
Category: Blog

TIPS - Custom fields and the law of relativity

  • Written by: M. Alexandre ELISÉ
  • Hits: 1267
Hello super joomlers!

Let's say you want to add a calendar custom field for some event (business, party, meeting)
and you want to have a default datetime for the event that is let's say 3 days from now.
The start date is now.For just 3 days it seems easy to calculate in your head,
but what if you don't want to bother do that and rather say something like:
Hey Joomla! I wanna 3 days from now please. Can you do that? Sure.

  1. Create two custom fields of type calendar: start-date and end-date
  2. Set default for start date by typing now
  3. Set default for en d date by typing now +3 days

That's it change and experiment with other values it should work.


Published: 22 February 2021
Category: Blog

CHALLENGE - Custom router rules

  • Written by: M. Alexandre ELISÉ
  • Hits: 991

WHY ?

This project start because of a challenge a joomler friend of mine posted in JUG Breizh on FB on February 16th 2021 The challenge was: Given an url structure like: /parent-category/subcat-a/article-1 /parent-category/subcat-a/article-2 /parent-category/subcat-c/article-7 How to make it work with urls like: /parent-category/article-1 /parent-category/article-2 /parent-category/article-7 In other words without the subcategory

WHAT ?

The answer to that delicious puzzle was custom router rules.

HOW ?

TLDR; Custom router rules injected via a system plugin onAfterInitialise event just right after Joomla! started "booting"
Download
Contact Alexander

Conferences notes about "clean code"
Published: 18 July 2018
Category: Blog

NOTES - Conferences notes about "clean code"

  • Written by: M. Alexandre ELISÉ
  • Hits: 1750

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

Read more ...


Chocolat cupcake
Published: 31 March 2021
Category: Blog

EXTENSION - Dynamic Custom Fields Inference

  • Written by: M. Alexandre ELISÉ
  • Hits: 1024
Hello! Super Joomlers
The concept of "Dynamic Custom Field Inference"

Attempt to "infer" the type of custom field to dynamically create based on cached api

Dynamic What ? Just think of it as "Choco Fields!" Chocolate Custom Fields, synthaxic sugar around custom fields creation wrapped around cached api ice cream

Do you think it's April's Fool Day? Of course! But this extension is real.

Meet "Choco Fields"

Download
Contact Alexander

Languages translation strings usable in custom fields
Published: 13 October 2019
Category: Blog

TIPS - Languages translation strings usable in custom fields

  • Written by: M. Alexandre ELISÉ
  • Hits: 1642

How to use custom fields in a multilingual context

Or how to translate some parts of your custom fields.

Read more ...


Page 2 of 3

  • 1
  • 2
  • 3
  • ANNOUNCEMENT - Helloapi example component Joomla! 4 webservices
  • CHALLENGE - Custom router rules
  • EXTENSION - Dynamic Custom Fields Inference
  • EXTENSION - Jiji, your new Joomla! 4 Console friend
  • EXTENSION - Multi-context custom fields
  • astuce
  • code
  • extension
  • tips
  • solution
alexandree.io

You Found Your Solution

Useful Links
  • Login
  • My account
  • Personal Data Request
  • Confirm Personal Data Request
  • Extend Your Consent
Our Address
Martinique ,FRANCE
+596696886378

Copyright © 2022 alexandree.io. All Rights Reserved.
Copyright
  • Extensions for Joomla! license (GNU GPL 2.0 or later)
  • General Sales Terms And Conditions
  • General Terms Of Use
  • Legal Notice
  • Privacy Policy And Cookies