Extension list

Skip to main content

List of all our extensions

Create an account

JP CS Data Query - Example - Articles with Categories and Authors


Article Index

Example: Joomla Articles with Categories and Authors

A common use case is retrieving Joomla articles together with their category titles and author names.

Configuration

  • Main Table: content
  • Enable Left Join 1: Yes
  • Join Table 1: categories
  • Main Table Column: catid
  • Table 1 - Right Column: id
  • Enable Left Join 2: Yes
  • Join Table 2: users
  • Join 2 Source Table: Main Table
  • Source Table Column: created_by
  • Table 2 - Right Column: id
  • Order By: created
  • Order Direction: DESC
  • Quantity: 10

Field Mapping

Example YOOtheme Pro field mappings:

  • Title: content_title or title
  • Meta / Category: categories_title
  • Meta / Author: users_name
  • Content: content_introtext

The result provides article records together with their related category titles and author names, ready to display in a YOOtheme Pro layout.

Example - E-Commerce Products
Page