✅ Article Suggester
Automatically displays a modal popup with a recommended article when a user scrolls to the bottom of the current article page.
✅ Trigger Conditions
-
Activated when the user reaches the end of the article via scrolling.
-
Modal appears only if a valid suggestion is available (see fallback logic below).
✅ Article Selection Logic
-
Pulls one article from categories defined in the plugin’s admin settings.
-
Admin can select multiple categories as the source pool.
-
Excludes the current article from being suggested.
-
If no eligible article is found, the modal does not display (fallback behavior).
✅ Modal Content Design
-
Styled as a recommendation card featuring:
-
Article intro image
-
Article intro text or excerpt
-
Optional: article title and read more link
-
✅ Admin Configuration Options
-
Category Selection: Choose one or more categories to pull suggestions from.
-
Display Frequency:
-
Show every time
-
Once per session
-
Once per day
-
-
Fallback Toggle: Enable/disable modal display when no suggestions are available.
-
Styling Options: Optional CSS class input for modal customization.
✅ Compatibility & Standards
-
Fully compatible with Joomla 5 architecture, including:
-
Native plugin structure
-
Joomla 5 event handling
-
Responsive design principles
-