Custom Fields – how far can you go ??
Marc Dechèvre | CMS Africa 19 | #CMSAfrica19
present slides https://slides.woluweb.be
1. Joomla before version 3.7
Near perfection… | Musical analogy :
2. Then Joomla 3.7 came in April 2017
OMG ! 3.7 shipped with Custom Fields. Joomla rocks !!!
3. Giving that feeling
4. Custom Fields
How far can we go ?
A few examples to get inspiration
NB : Want to read the long version ? In the April 2018 issue of Joomla Community Magazine, I published an article about “how far can we go with Joomla and Custom Fields” :
4.1. Custom Fields make Joomla so powerful
Custom Fields make Joomla so powerful and it is so easy.
And above all : it is part of core, meaning
- it is robust
- it can be used for basically everything (articles, contacts, … Even third-party extensions if they have integrated the option)
- and you don’t not depend on third-party
4.2. Many different types of Custom Fields
16 types natively, ie readily available in Joomla Core
- Calendar Field
- Checkboxes Field
- Color Field
- Editor Field
- Usergroup Field
- List Field
- List of Images Field
- Textarea Field
- Text Field
- Media Field
- Integer Field
- Radio Field
- Sql Field
- Url Field
- User Field
- Repeatable Field
4.4. You want more ??
Many other Custom Fields have already been developed
Even more are coming
Examples : YouTube, Related Article, Map, …
A new Category in the Joomla Extension Directory dedicated to Custom Fields : https://extensions.joomla.org/category/authoring-a-content/custom-fields/
And even more are available
(see next edition of Joomla Community Magazine)
4.5. Need your own Custom Field ??
Custom Fields are simple “plugins” (in the Joomla sense).
So it is very (very) light to develop.
(like duplicate another one, edit a few lines of code and that’s it)
4.6. Many usecases
Can be used in various contexts :
6 practical examples of Joomla websites using Custom Fields
5.1. Directory of persons
For each person (member) :
- phone number
- name of company
Same layout automatically for all persons.
5.2. Film Festivals
Details of a film :
5.3. Knowledge Base
On every page, tabs on the right with
5.4. Products Catalog
Each product has many Custom Fields
5.5. Play with colors !
Custom Fields are not only about content : here, a different Color for each article
5.6. Event Website
On each Session page
- all details (pitch, time, …)
- link to Speaker page
- link to Room page
Interesting thing : the slot is a Custom Field of type List, ie Slot1, Slot2 etc. That value is not displayed as content… but is inserted as a Class on each Session. Given the fact that the timetable is a table made with CSS Grid, the Session will position itself automatically in the right cell !
6. Behind the scene
Let’s see the backend
6.1. Flexible and easy to setup
Each Custom Field can be assigned
- either to all Articles
- either only to certain (Categories) of Articles
All Custom Fields can also be grouped so that they will appear on distinct Tabs when editing Articles, Contacts etc
6.2. Example for joomladay.fr
Custom Fields for a Session (on 2 dedicated tabs)
- slot, link PDF, video, text, …
- link to Speaker / Room
Custom Fields for a Speaker (2 other dedicated tabs) :
- pitch, …
- social links (Facebook, Twitter, Github , …)
7. Thank you, Allon !
Before ending, big round of applause for Allon Moritz (CH)
He is the author of Custom Fields (previously one of his extensions: DP Fields) and gave it for free to the Joomla Project. Tweet him now
Thank You @laoneo for #Joomla #CustomFields ! #CMSAfrica19
8. Useful links
Already available in Joomla Community Magazine :
- How far can we go with Joomla! and Custom Fields?
- Custom Fields – Episode 2 : how to manage your Custom Fields
- Custom Fields – Episode 3 : all the parameters one can wish for
Coming soon in Joomla Community Magazine :
- Custom Fields – special issue 1 – list of resources
- Custom Fields – special issue 2 – more plugins and extensions
This is (not) the end
With these 6 examples above we do not pretend to have covered all that can be achieved with Custom Fields.
Our objective here is simply to give a flavour of how powerful and easy Joomla can be when using Custom Fields.
The only limit now… is your imagination!
10. Get in touch
Any suggestion about this presentation ?
Please feel free to contact me. I’ll be happy to keep improving it :)
Marc Dechèvre | @woluweb
+32 474 37 13 12 | +32 2 772 58 69