The Donation Form menu item publishes the frontend form supplied by Joom Donation. This page describes the current Joomla 5 and Joomla 6 menu item and the three layouts that the component registers. The folder name is historical; this page is for Donation Form, not licenses.
To change an existing page, open the menu item, go to Options, change Select Layout, and save. The global Configuration value Default Donation Layout is used only when this menu item has no valid layout value. It is not a fourth menu-item layout.
| Layout | What donors see | Best for | Important differences or limits |
|---|---|---|---|
Default layout (default) |
A single-page form with campaign context or selection, amount controls, donor fields, optional custom fields, donation type, payment method, payment details, and submit action. | A complete form where the available information should be visible together. | The amount choices, fields, recurring controls, payment fields, and campaign information are conditional; this layout does not bypass Configuration, campaign, or payment-plugin rules. |
Simple Donation layout (simpleflow_layout) |
A single-page, more compact presentation of the same donation flow, with amount, donor information, recurring controls, payment selection/details, and submission. | A shorter-looking page when the site still needs the normal donation data. | “Simple” is presentation, not a promise of fewer steps or fewer fields. It still renders custom fields and recurring controls when the relevant settings allow them. |
Multi-steps Donation layout (smart) |
A guided form with visible Amount, Info, Payment, and Confirm stages. The donor moves through the stages and reviews a summary before submitting. | A long form where separating amount, donor information, payment, and confirmation makes the sequence clearer. | The step display does not change validation or payment-plugin capability. Some controls are hidden until their step; the submitted values are still validated by the same component flow. |
These are the complete choices in the current Donation Form menu-item XML. default_campaign.php and simpleflow_layout_campaign.php are internal campaign variants, not additional administrator choices. The module's layouts and Joomla template overrides are separate: they do not add choices to this menu item, and an override can change presentation without becoming a supported component layout.
The effective layout order is:
default.The implementation accepts default, simpleflow_layout, and smart; an unknown menu value falls back to the configured default. A Joomla template override may change the final HTML and appearance, so confirm the published frontend page after installing or changing an override.
When Choose campaign contains a campaign ID, the request carries that campaign ID. The form loads that published campaign, shows its title/context when the campaign-information settings permit it, and uses its campaign-specific limits, amounts, currency, donation type, messages, and other settings where applicable. The donor is not given a general campaign switch by that fixed menu-item link; changing the campaign requires changing the menu item or using a different link/request.
When no campaign is selected, the component builds a selector from published, public campaigns and the form can ask the donor to choose one when campaign use is enabled. This is not an unconditional promise that a dropdown will be visible: Configuration → Use campaign, the selected layout, the available campaigns, and any override affect what is rendered. If the submitted campaign remains empty, the persistence logic falls back to the first published campaign by ordering; therefore a general page must be tested rather than described as an unassigned donation page.
After a campaign is selected, the frontend can refresh campaign-dependent data. Depending on the campaign and configuration, this includes suggested amounts and the custom-amount box, campaign custom fields, one-time/recurring availability and frequencies, currency, and payment methods. A campaign that permits only one donation type or a payment plugin that does not support recurring donations can remove that choice. The three layouts use the same underlying validation and processing; their major difference is arrangement and navigation.
The default layout presents the donation form on one page. The donor first sees campaign context or the campaign selector (when one is available), then suggested amounts and, if enabled, a custom amount. The donor supplies the configured donor fields and custom fields, chooses one-time or recurring when Configuration, campaign settings, and the selected payment plugin allow it, enters payment details required by that plugin, and submits. The final controls include the component's validation, consent/captcha and payment processing; they are not replaced by the menu item.
Campaign-specific suggested amounts, minimum/maximum limits, currency, messages, custom fields, and recurring rules can make two default forms look different. A field hidden by a campaign or configuration is not collected from this screen, but hidden/default values can still be bound and checked during submission. Use this layout when seeing the full flow at once is more useful than reducing the initial visual density.
Simple Donation keeps the flow on one page but uses a more compact arrangement. Amount selection/custom amount, donor information, custom fields, recurring options, payment method/details, and submit controls remain conditional on the same component settings as Default. It is therefore suitable for a form that needs only essential information, but it does not remove configured required fields or guarantee that recurring donations or custom fields are unavailable.
Choose it for a visually shorter page, accepting that a campaign with many required fields, recurring choices, or payment details can still produce a substantial form. It is not a separate payment or validation path.
Multi-steps Donation (smart) displays four progress stages: Amount, Info, Payment, and Confirm. The donor chooses a suggested or custom amount in Amount, enters donor and custom-field data in Info, selects a payment method and supplies its required details in Payment, and reviews the summary in Confirm before the form is submitted. The campaign ID is carried through the form; this layout does not make a fixed-campaign menu item switchable.
The progress UI is a presentation of the same campaign, configuration, custom-field, recurring, and payment-plugin rules. Recurring choices appear only when recurring is enabled and both the campaign and payment method permit them. Payment fields are supplied by the selected plugin, and a plugin can leave the payment step unavailable or limited. This layout is useful for longer forms, but its extra navigation is a trade-off for a single-page view.
Goal: publish a Donate page dedicated to one campaign. Menu item and layout: create Joom Donation → Donation Form, set Choose campaign to the campaign, and select Default, Simple Donation, or Multi-steps. Additional setup: configure the campaign's amounts, limits, donation type, custom fields, currency, and messages in Campaigns. Confirm the global Configuration and the required Payment Plugins are enabled. Donor experience: the campaign is fixed and its title/context and campaign-specific options are used; the donor does not choose another campaign in this form.
Goal: let donors choose a campaign when the installation supports that flow. Menu item and layout: leave Choose campaign empty and choose the desired layout. Additional setup: review Configuration → Use campaign, publish the intended public campaigns, and configure their amounts, fields, donation types, and payment methods. Donor experience: when the selector is enabled and eligible campaigns exist, the donor sees a campaign list and campaign-dependent controls can change after selection. If campaign use is disabled or no eligible campaign is available, the result is different; verify the page and do not assume that it records an unassigned donation. An empty submitted campaign can fall back to the first published campaign.
Goal: keep the initial page visually short. Menu item and layout: choose Simple Donation layout. Additional setup: configure the donor fields and custom fields in Custom Fields, and review campaign and Configuration requirements. Do not remove required fields merely to make the page look short. Donor experience: the form is presented compactly on one page, but all enabled required fields, payment details, and recurring controls still appear when applicable.
Goal: make richer donation choices clear without hiding the processing rules. Menu item and layout: choose Default layout for an at-a-glance form or Multi-steps Donation layout for a guided sequence. Additional setup: set suggested amounts and amount-box behavior in Configuration and/or Campaigns; define fields in Custom Fields; enable recurring and its frequencies in Configuration; and enable/configure a compatible recurring Payment Plugin. The payment plugin must implement recurring support; enabling the global option alone is not sufficient. Donor experience: suggested/custom amounts and custom fields appear where enabled, recurring appears only for compatible campaign/payment combinations, and the payment step shows only fields supplied by the selected plugin.
From a logged-out visitor's perspective:
This update changes only documentation/pages/08.menu-layouts/04.licenses/docs.md. The layout names and menu parameters were verified in site/views/donation/tmpl/default.xml; layout selection and fallback are implemented in site/view/donation/html.php; the Default, Simple Donation, and Multi-steps markup is in site/view/donation/tmpl/default.php, site/view/donation/tmpl/simpleflow_layout.php, and site/view/donation/tmpl/smart.php. Campaign loading and campaign-specific limits are in site/view/donation/html.php, while submission fallback and recurring payment gating are in site/model/donation.php and site/controller/donation.php.
The previous page listed only Default and Simple Donation and presented the campaign dropdown as unconditional. It omitted Multi-steps Donation, the global-layout fallback, campaign/configuration/payment conditions, custom fields, recurring behavior, and the distinction between menu layouts, internal campaign templates, module layouts, and template overrides. This documentation is source-verified; it does not claim that a Joomla 5 or Joomla 6 site was run. Verify the actual frontend for the site's template, overrides, campaign data, configuration, and payment plugins.