Manage Categories

What categories do

Joom Donation categories group campaigns for administration and for filtered campaign lists. They are Joom Donation records in the #__jd_categories table, not Joomla's content Categories. A donation record is a separate record linked to a campaign; it is not categorized directly.

Create a category when visitors need to browse a set of related campaigns, or when administrators need to filter campaigns by a shared theme. Create only a campaign when one fundraising purpose does not need grouping. Creating or publishing a category does not create a frontend page or menu item. You must configure a Campaigns List menu item (or a supported campaign module) to show its campaigns.

Create a category

  1. In Joomla Administrator, go to Components → Joom Donation → Categories.
  2. Select New.
  3. Enter the category details below.
  4. Select Save & Close.

The list shows Title, the total Donated Amount, Published, and ID. It also provides search, a published-state filter, pagination, row checkboxes, and a title link for editing. The toolbar actions are subject to the Joomla permissions assigned to the administrator.

Field What it controls Where it takes effect
Title The category name. The administrator list and the category heading on a category-filtered Campaigns List, when that category is published and the menu item allows category display.
Alias The category alias stored with the category. No category URL is generated by this component; do not treat it as a standalone frontend route.
Description Rich-text explanatory content for the category. The category description on a category-filtered Campaigns List when Show campaign description is enabled.
Access The Joomla viewing access level for the category. The stored category access value. The category query itself checks publication; configure the menu and campaign access levels as well when restricting what visitors see.
Published Whether the category is active. Published categories are available in campaign and module category selectors and can provide category heading/description data. Unpublished categories are not loaded for that frontend category display; an already configured numeric category filter can still filter campaigns by its stored ID.

There are no Parent, Image, Language, or category-specific ordering fields on this form. If multilingual content is enabled, a Translation tab provides translated Title, Alias, and Description values. Category ordering is the ordering of categories in the administrator list; it is not campaign ordering.

Assign campaigns to a category

The relationship is one campaign to zero or one category. It is stored as the campaign's category_id, so a campaign cannot belong to several categories at once.

  1. Go to Components → Joom Donation → Campaigns.
  2. Select a campaign title to edit it.
  3. In the General tab, choose a value in Category. The selector includes an empty value and published categories.
  4. Select Save & Close.

To change the relationship, edit the campaign and select another category or the empty value. Use the Campaigns list Category filter to verify the result. Child campaigns are a special case: when a child campaign is saved, Joom Donation sets its category to empty (category_id = 0), so assign and verify the parent campaign rather than assuming a child inherits its parent's category. Categories do not have parent/child hierarchy, and there is no category-to-category inheritance.

Display categories and campaigns on the frontend

Categories are not listed by a Joom Donation category menu item in the current code. The supported category display is a campaign list filtered by category:

Menu item or layout What visitors see When to use it Important conditions
Campaigns List menu item with Category selected Published campaigns whose category_id equals the selected category, in the selected default or grid Campaigns Layout. The category heading and Description can also be shown when the category record is published. Create a page for one group of campaigns. This is an exact category filter: campaigns in other categories, campaigns with no category, and child campaigns saved without a category are not included. An unpublished or deleted category cannot supply heading/description metadata, but an existing menu item still contains its numeric filter and may continue to list campaigns with that category_id. Show campaign description controls the category description display.
Donation Campaigns module with Category selected A module list of campaigns filtered to that category, with the module's configured title, goal, donated amount, percentage, donor count, dates, and Donate Now options. Show a category's campaigns in a module position. The module applies the category filter and the campaign list still applies campaign publication, privacy, and visitor access rules.

To configure a page, create a Campaigns List menu item and select the category in its Category request parameter. Choose Default Layout or Grid layout, then publish the menu item. A category does not become reachable merely because it exists. For the full set of menu parameters, see Campaigns List.

Campaign category filtering does not change the Donation Form menu item's campaign selection or donation-record category: donation records remain linked to campaigns. Do not infer that a category filter restricts a general donation form unless the form itself is configured with a campaign.

Manage or retire an existing category

Edit the category

Select the category title in Components → Joom Donation → Categories, change Title, Alias, Description, Access, or Published, and save. Renaming changes the displayed category name. Changing the alias does not create or update a Joom Donation category URL because categories have no standalone route. Existing campaign category_id values continue to point to the same category record when its title or alias changes.

Change category ordering

In the category list, sort by the ordering column and use the drag handle (or ordering controls) to save category order. This changes category list ordering only. It does not reorder campaigns and it does not change which campaigns a Campaigns List filter returns.

Unpublish a category

Use the row published control or select categories and choose Unpublish, if your Joomla permission allows state changes. Unpublishing removes the category from the campaign and module selectors and prevents the category's heading/description from loading on the frontend. Campaigns retain their category_id; they are not automatically deleted or moved. An existing category-filtered menu item or module can still list those campaigns because its filter uses the stored ID, while a different, unfiltered campaign list can also display them if they are otherwise eligible.

Before unpublishing, check every Campaigns List menu item and Donation Campaigns module that uses the category. Afterward, open those pages and confirm the intended fallback or empty-list behavior.

Delete a category

Warning: deleting a category is permanent in the component and the delete operation does not reassign campaigns. Back up first and record the campaigns that use the category.

Select the category row(s) and choose Delete, subject to core.delete permission. Joom Donation deletes the category row, while campaigns retain the old numeric category_id; there is no category trash or restore flow and no automatic reassignment to an empty category. A category-filtered menu item or module using the deleted ID can still list campaigns with that dangling ID, but it can no longer load the category heading or description. Remove or repoint that filter after the deletion.

Before deleting, edit each affected campaign and choose the empty Category value or a replacement category, then update any menu item or module that used the old ID. After deleting, check the campaign list, frontend menu item, and module position. If the category is only being retired, unpublishing it and leaving campaigns assigned preserves the records and is safer than deletion.

Common Setup Scenarios

Group campaigns by topic

Goal: give related campaigns a shared administrative and visitor-facing grouping.

Set up: Create and publish a category, assign each applicable campaign to it, and create a Campaigns List menu item with that category selected.

Visitor result: the page shows only published, eligible campaigns assigned to that category and can show its title and description.

Check: use the administrator Campaigns list Category filter, then open the menu item and compare it with a campaign assigned to another category.

Show one category in a module

Goal: show a focused group of campaigns beside other site content.

Set up: Configure Donation Campaigns, select Category, choose the module display options, assign and publish the campaigns, and publish the module in a position.

Visitor result: the module shows the eligible campaigns from that category and their configured module values.

Check: confirm the module's category parameter and verify that an unassigned campaign is absent.

Retire a category while keeping campaigns

Goal: stop using a grouping without deleting campaigns.

Set up: Remove the category from each campaign by selecting the empty Category value, unpublish the category, and unpublish or repoint any menu item or module that referenced it.

Visitor result: campaigns remain available through other eligible campaign lists or dedicated forms, but the retired category page/module no longer provides the old grouping.

Check: open the old menu item and a replacement campaign page, then confirm the campaigns' category values in the administrator.

Verification checklist

Check the result as a visitor:

  1. Open the exact published Campaigns List menu item or Donation Campaigns module position.
  2. Confirm that each displayed campaign belongs to the selected category and is published, public where required, and viewable by the visitor.
  3. Confirm the category title and description only when the category is published and the relevant display option is enabled.
  4. Use a published campaign from another category, or one with no category, to confirm that the category filter excludes it.
  5. Open Donate Now and verify that the expected campaign is selected. Category grouping should not be confused with the campaign attached to a donation record.

Source-verified scope

This guide is based on the current repository's Joomla 5/6-compatible administrator forms, category and campaign models, frontend Campaigns List view, menu metadata, and Donation Campaigns module. It has not been installed or manually tested on a Joomla 5 or Joomla 6 site. In particular, confirm the rendered toolbar and permission results on the target site because Joomla ACL and the administrator's assigned permissions control which actions are available.