CommonDocs.org
Web Development

Joomla

Guides related to building websites with Joomla can be found here, along with documentation for developers.

48 guides in 7 topics

All guides

25 of 48
  • Check User Group By Group IDThere are many scenarios where you may need to check what group(s) a user is in. For example, I use this code to check if users are in my "Sponsors" group. If…Code SnippetsJul 7, 2024
  • Get Article Field Values From AnywhereThe following code snippets use Joomla's Database Classes to retrieve information about any article in the __content table of your Joomla database. Note that…Code SnippetsJul 7, 2024
  • Accessing Custom Article Fields From Template LayoutsSuppose you want to create a custom article option in Joomla 4/5. In this example, I'm creating two fields -> "showspecialtext" and "specialtext". The…Code SnippetsJul 7, 2024
  • Adding Custom Fields On Extension InstallCustom Fields may be useful in many Joomla extensions. They can be added by calling a custom script file upon an extension install or uninstall. The script…Code SnippetsJul 7, 2024
  • Accessing Custom User Field Values With PHPIn my guide on custom user fields in Joomla, I show how to add custom fields to a user's profile. By default, Joomla only allows you to use these fields to…Code SnippetsJul 7, 2024