<?xml version="1.0" encoding="UTF-8"?>
<changelogs>
    <changelog>
    <element>mod_onpageload_popup</element>
    <type>module</type>
    <version>13.3</version>
    <fix>
      <item>Close, next, and previous controls use buttons so the page no longer jumps to the top on click.</item>
      <item>Focus restore after close keeps the current scroll position.</item>
    </fix>
  </changelog>
<changelog>
    <element>mod_onpageload_popup</element>
    <type>module</type>
    <version>13.2</version>
    <fix>
      <item>Open delay and popup queueing work for every trigger, so instances no longer overlap.</item>
      <item>Close button setting is honoured. Production cookies are set only when configured. Test Mode never writes cookies.</item>
      <item>External link trigger continues to the destination after the popup closes. Modifier clicks bypass the hold.</item>
    </fix>
    <addition>
      <item>Accessible dialog: role, labelled close control, focus trap, Escape, and focus restore to the opener.</item>
      <item>Complete language files for en-GB, de-DE, fr-FR, and nl-NL.</item>
    </addition>
    <change>
      <item>Tablet and mobile sizing with a scroll lock scoped to the open module.</item>
      <item>Media helper: YouTube Shorts, Live, and playlists, Vimeo private hashes, Dailymotion, and current Google Maps URLs.</item>
      <item>Import / Export rebuilt without inline scripts. Translated strings and a version-aware JSON file.</item>
      <item>Module picker shows ID, position, and unpublished state. Trashed modules are omitted.</item>
      <item>Real minified JS and CSS. Unused sprite and overlay images removed.</item>
      <item>jQuery 4 safe APIs. Deprecated jQuery helpers removed.</item>
    </change>
  </changelog>
  <changelog>
    <element>mod_onpageload_popup</element>
    <type>module</type>
    <version>13.1</version>
    <change>
      <item>Modern theme: extra padding so floating bar and sidebar content clears the close control</item>
      <item>Keyboard focus ring on the modern close button</item>
      <item>Single package for Joomla 4, 5, and 6: mod_onpageload_popup_13.1.zip</item>
    </change>
  </changelog>
  <changelog>
    <element>mod_onpageload_popup</element>
    <type>module</type>
    <version>13.0</version>
    <change>
      <item>Modern popup theme with CSS close control and layout skins</item>
      <item>Popup types: Classic, Fullscreen, Slide-in, Floating Bar, Sidebar</item>
      <item>New triggers: On Hover, External Link Click, On Demand (AOLP.open JS API)</item>
      <item>Behavioural triggers: Inactivity, Element Visibility, After X Page Views, Copy Text, AdBlock Detection</item>
      <item>Import and Export JSON configuration for module settings and gallery templates</item>
      <item>Device targeting (All, Desktop, Tablet, Mobile) with legacy mobile disable mapping</item>
      <item>Safer defaults for close position, animation duration, and floating bar height</item>
      <item>Single package for Joomla 4, 5, and 6: mod_onpageload_popup_13.0.zip</item>
    </change>
  </changelog>
  <changelog>
    <element>mod_onpageload_popup</element>
    <type>module</type>
    <version>12.5</version>
    <addition>
      <item>New Feature - Max Display Count: You can now limit how many times a popup is shown to each visitor. For example, set it to 3 to show the popup 3 times before it stops appearing. Set to 0 for unlimited (default behavior unchanged).</item>
    </addition>
  </changelog>
  <changelog>
    <element>mod_onpageload_popup</element>
    <type>module</type>
    <version>12.4</version>
    <fix>
      <item>Cookie Handling Fixes: Fixed issue where cookie was not being set when popup was closed using the close button or by clicking outside the popup</item>
      <item>Cookie Persistence: Fixed cookie not persisting across page navigations when cookieSet was configured as &quot;on page load&quot; - now cookie is set both on page load AND when popup is closed</item>
      <item>Fixed issue where popup would reappear on page navigation even after being closed, due to cookie not being set properly on close action</item>
    </fix>
    <change>
      <item>Enhanced Cookie Reliability: Added multiple fallback methods to ensure cookie is set reliably: on popup display (afterShow), content load (afterLoad), document-level afterClose event, and direct close button click handler</item>
      <item>Close Button Cookie Setting: Added direct click event handler on close button (#aolp-close{moduleId}) to ensure cookie is set immediately when user closes popup, even if other events don&apos;t fire</item>
      <item>Document-Level Event Handling: Improved afterClose event listening by using document-level event handlers with namespaced events to properly catch aolp library&apos;s global event triggers</item>
      <item>Overlay Close Support: Added cookie setting support when popup is closed by clicking on the overlay (when closeClick is enabled)</item>
      <item>Cookie Setting Prevention: Added flag to prevent duplicate cookie setting when cookieSet is configured as &quot;afterLoad&quot; to avoid unnecessary cookie updates</item>
      <item>Improved cookie expiration handling for all cookie types (session, days, hours, minutes, seconds)</item>
      <item>Enhanced error handling in cookie setting functions with try-catch blocks and console warnings for debugging</item>
    </change>
  </changelog>
  <changelog>
    <element>mod_onpageload_popup</element>
    <type>module</type>
    <version>12.3</version>
    <fix>
      <item>Fixed overlay 404 error for missing aolp_overlay.png image (replaced with CSS-based background)</item>
      <item>Fixed overlay not properly disabling when set to &quot;No&quot; in module parameters (was showing as transparent instead of being removed)</item>
      <item>Fixed overlay remaining visible when disabled with modal:true enabled (deep merge conflict resolved)</item>
      <item>Fixed overlay background images and predefined styles not applying (resolved inline CSS override issue)</item>
      <item>Fixed TypeError: this.overlay.css(...).show is not a function error when overlay CSS was empty array</item>
      <item>Fixed overlay element missing unique module ID preventing CSS targeting for multiple instances</item>
      <item>Fixed page-fixed close buttons (e.g., &quot;Page Top Right&quot;) appearing on popup itself instead of being fixed to the page viewport</item>
      <item>Fixed padding and margin values of 0 not being respected (improved numeric value parsing)</item>
      <item>Fixed global cleanup operations affecting all popup instances simultaneously (now properly scoped to individual instances)</item>
      <item>Fixed loading element conflicts in multiple instance scenarios (now uses unique IDs per module)</item>
    </fix>
    <addition>
      <item>Added advanced trigger options to module configuration: Time on Page (Inactivity), Element Visibility, After X Page Views, Copy Text Event, and AdBlock Detection</item>
      <item>Added support for closePopup class on action buttons in templates for consistent popup closing behavior</item>
      <item>Added proper namespace scoping for jQuery event handlers to prevent conflicts</item>
    </addition>
    <change>
      <item>JavaScript Architecture Refactoring: Moved all inline JavaScript to external controller file for better maintainability and performance</item>
      <item>Code Consolidation: Merged jquery-cookie.js, jquery.aolp-media.js, and popup-controller.js into a single aolp-bundle.js file, reducing HTTP requests</item>
      <item>Modern Cookie Handling: Replaced legacy jQuery Cookie plugin with native JavaScript implementation while maintaining backward compatibility ($.cookie API)</item>
      <item>Multiple Instance Support: Enhanced core plugin to properly support multiple popup instances on the same page with unique IDs and scoped cleanup operations</item>
      <item>Replaced all emoji icons with FontAwesome icons for professional appearance</item>
      <item>Adopted minimalist design philosophy - removed gradients and decorative elements from template browser and templates</item>
      <item>Improved template browser layout with responsive card-based design</item>
      <item>Enhanced template preview and selection experience with side-by-side card view</item>
      <item>Improved code organization with centralized trigger handling in external controller</item>
      <item>Enhanced parameter passing from PHP to JavaScript for cleaner separation of concerns</item>
      <item>Improved event binding and unbinding to prevent memory leaks</item>
      <item>Reduced JavaScript file count from 3 to 1 (bundled files) for faster page loads</item>
      <item>Improved minification support with conditional loading of aolp-bundle.min.js when minification is enabled</item>
      <item>Optimized DOM manipulation by scoping operations to specific popup instances</item>
    </change>
    <remove>
      <item>Removed all console.log, console.error, and console.warn statements from production code</item>
    </remove>
  </changelog>
  <changelog>
    <element>mod_onpageload_popup</element>
    <type>module</type>
    <version>12.1</version>
    <change>
      <item>Compatible with Joomla 6 Alpha.</item>
    </change>
  </changelog>
  <changelog>
    <element>mod_onpageload_popup</element>
    <type>module</type>
    <version>12.1</version>
    <fix>
      <item>Fixed issue with closePopup class.</item>
    </fix>
  </changelog>
  <changelog>
    <element>mod_onpageload_popup</element>
    <type>module</type>
    <version>12.0</version>
    <fix>
      <item>Fixed minor CSS and JavaScript issues</item>
    </fix>
    <addition>
      <item>Added Referrer Targeting system to control popup display based on traffic sources</item>
      <item>Added heatmap compatibility with major providers (Hotjar, Crazy Egg, Mouseflow)</item>
    </addition>
    <change>
      <item>Integrated Google Analytics tracking for popup interactions</item>
      <item>Show/hide popups based on visitor referral source</item>
      <item>Include/exclude specific domains with wildcard pattern matching</item>
      <item>Control popup display for direct visits</item>
      <item>Target marketing campaign traffic with specific popups</item>
      <item>Track popup views, closes, clicks, and conversions in Google Analytics</item>
      <item>Support for both Universal Analytics and GA4</item>
      <item>Conversion element tracking via CSS selectors</item>
      <item>Custom event naming and categorization</item>
      <item>Enhanced documentation and user guides</item>
      <item>Code optimizations for better performance</item>
      <item>Improved multilingual support</item>
    </change>
  </changelog>
  <changelog>
    <element>mod_onpageload_popup</element>
    <type>module</type>
    <version>11.0</version>
    <fix>
      <item>Better handling of fixed and absolute positioning</item>
    </fix>
    <addition>
      <item>Added support for percentage-based width and height</item>
      <item>Introduced responsive sizing options</item>
      <item>Added mobile and tablet breakpoint configurations</item>
      <item>Added more precise popup positioning options</item>
    </addition>
    <change>
      <item>Enhanced popup positioning capabilities</item>
      <item>Width and height can now be set in percentages (e.g., &apos;80%&apos;)</item>
      <item>Minimum and maximum dimension support</item>
      <item>Responsive sizing with breakpoint detection</item>
      <item>Dynamic viewport-based dimension calculation</item>
      <item>New parameters: width: Supports percentage and pixel values (default: &apos;80%&apos;)</item>
      <item>height: Supports percentage and pixel values (default: &apos;70%&apos;)</item>
      <item>minWidth: Minimum width in pixels (default: 300)</item>
      <item>minHeight: Minimum height in pixels (default: 200)</item>
      <item>maxWidth: Maximum width in percentage or pixels (default: &apos;95%&apos;)</item>
      <item>maxHeight: Maximum height in percentage or pixels (default: &apos;90%&apos;)</item>
      <item>responsiveSizing: Enable/disable responsive sizing (default: true)</item>
      <item>mobileBreakpoint: Screen width considered mobile (default: 768px)</item>
      <item>tabletBreakpoint: Screen width considered tablet (default: 1024px)</item>
      <item>Improved viewport boundary checking</item>
      <item>Improved dimension calculation logic</item>
      <item>More efficient responsive sizing implementation</item>
      <item>Enhanced viewport detection</item>
    </change>
  </changelog>
  <changelog>
    <element>mod_onpageload_popup</element>
    <type>module</type>
    <version>10.0</version>
    <change>
      <item>Language support for German and French added.</item>
    </change>
  </changelog>
  <changelog>
    <element>mod_onpageload_popup</element>
    <type>module</type>
    <version>9.9</version>
    <fix>
      <item>Fixed CSS issue related to close button for flat close icons.</item>
    </fix>
  </changelog>
  <changelog>
    <element>mod_onpageload_popup</element>
    <type>module</type>
    <version>9.8</version>
    <change>
      <item>Optimized the code within the Helper file to improve performance and maintainability. This includes refactoring to reduce redundancy and ensure more efficient database queries.</item>
      <item>Updated the backend module parameters for enhanced usability and configuration flexibility. This adjustment allows for more intuitive management of module settings by administrators.</item>
    </change>
  </changelog>
  <changelog>
    <element>mod_onpageload_popup</element>
    <type>module</type>
    <version>9.7</version>
    <change>
      <item>Integrated Web Assets to Scripts and Styes of faster loading. (for Joomla 5)</item>
    </change>
  </changelog>
  <changelog>
    <element>mod_onpageload_popup</element>
    <type>module</type>
    <version>9.6</version>
    <change>
      <item>Supports Joomla 5.0.0 without Backward Compatibility Plugin</item>
      <item>Optimization of Code</item>
    </change>
  </changelog>
  <changelog>
    <element>mod_onpageload_popup</element>
    <type>module</type>
    <version>9.5</version>
    <change>
      <item>Supports Dutch Language</item>
      <item>Uses native Joomla Key Update Sites.</item>
    </change>
  </changelog>
  <changelog>
    <element>mod_onpageload_popup</element>
    <type>module</type>
    <version>9.4</version>
    <change>
      <item>Language Support Integrated.</item>
    </change>
  </changelog>
  <changelog>
    <element>mod_onpageload_popup</element>
    <type>module</type>
    <version>9.3</version>
    <change>
      <item>One file to install for both Joomla 3 and Joomla 4.</item>
    </change>
    <remove>
      <item>Removed Option to load JS file in Head/Body. Loads in the head by default.</item>
    </remove>
  </changelog>
  <changelog>
    <element>mod_onpageload_popup</element>
    <type>module</type>
    <version>9.2</version>
    <change>
      <item>Option to enable or disable content prepare. Content Prepare allows Content Plugin to work inside the module</item>
    </change>
  </changelog>
  <changelog>
    <element>mod_onpageload_popup</element>
    <type>module</type>
    <version>9.1</version>
    <addition>
      <item>Add a valid license in the advanced settings of the module parameters.</item>
    </addition>
    <change>
      <item>Update the extension directly from the Joomla Update Manager.</item>
      <item>Download the license key from the Downloads section of the store by creating an account using the same email address which you have used to purchase the extension.</item>
      <item>Manual Update will once required to get the 9.1 version of the module. The future updates can be done automatically using the Joomla Update Manager.</item>
    </change>
  </changelog>
  <changelog>
    <element>mod_onpageload_popup</element>
    <type>module</type>
    <version>9.0</version>
    <fix>
      <item>Fixed issue with Joomla 4.x article selection from backend</item>
    </fix>
  </changelog>
  <changelog>
    <element>mod_onpageload_popup</element>
    <type>module</type>
    <version>8.9</version>
    <change>
      <item>Supports Joomla 4.x</item>
    </change>
  </changelog>
  <changelog>
    <element>mod_onpageload_popup</element>
    <type>module</type>
    <version>8.8</version>
    <fix>
      <item>Fixed CSS layout break issue</item>
    </fix>
  </changelog>
  <changelog>
    <element>mod_onpageload_popup</element>
    <type>module</type>
    <version>8.7</version>
    <fix>
      <item>Motion Effects : Animation Parameters added and fixed in the backend.</item>
    </fix>
  </changelog>
  <changelog>
    <element>mod_onpageload_popup</element>
    <type>module</type>
    <version>8.6</version>
    <change>
      <item>Motion Effects : Option to set an animation for the popup from the list of 30+ animation effects.</item>
      <item>Animation Duration Options added for the popup</item>
    </change>
  </changelog>
  <changelog>
    <element>mod_onpageload_popup</element>
    <type>module</type>
    <version>8.5</version>
    <change>
      <item>Option to directly link an image to a URL</item>
    </change>
  </changelog>
  <changelog>
    <element>mod_onpageload_popup</element>
    <type>module</type>
    <version>8.4.1</version>
    <fix>
      <item>Fixed Border Issue</item>
    </fix>
  </changelog>
  <changelog>
    <element>mod_onpageload_popup</element>
    <type>module</type>
    <version>8.4</version>
    <change>
      <item>Supports Joomla 4 Beta</item>
      <item>Changes made to the module backend for easy configuration</item>
      <item>Uses Joomla Article Modal in the module backend</item>
    </change>
  </changelog>
  <changelog>
    <element>mod_onpageload_popup</element>
    <type>module</type>
    <version>8.3</version>
    <fix>
      <item>Fixed Multiple instance issues of the module</item>
    </fix>
  </changelog>
  <changelog>
    <element>mod_onpageload_popup</element>
    <type>module</type>
    <version>8.2</version>
    <fix>
      <item>Fixed Error on helper file</item>
      <item>Fixed Poup Image Issue</item>
    </fix>
  </changelog>
  <changelog>
    <element>mod_onpageload_popup</element>
    <type>module</type>
    <version>8.1</version>
    <change>
      <item>Complete Code Optimization</item>
      <item>Modification to CSS and jQuery files.</item>
    </change>
  </changelog>
  <changelog>
    <element>mod_onpageload_popup</element>
    <type>module</type>
    <version>8.0</version>
    <change>
      <item>Option to set the text link to 5 different positions</item>
      <item>Option to set onclick link position to Left top, Right top, Right Bottom, Right Bottom or any module position.</item>
    </change>
  </changelog>
  <changelog>
    <element>mod_onpageload_popup</element>
    <type>module</type>
    <version>7.9</version>
    <change>
      <item>Trigger Popup on Right Click</item>
      <item>Option to set an element for right click</item>
    </change>
  </changelog>
  <changelog>
    <element>mod_onpageload_popup</element>
    <type>module</type>
    <version>7.8</version>
    <change>
      <item>Helper file has been updated, removed deprecated functions.</item>
      <item>default file modification, added new classes</item>
    </change>
  </changelog>
  <changelog>
    <element>mod_onpageload_popup</element>
    <type>module</type>
    <version>7.7</version>
    <fix>
      <item>Popup image not showing for inner pages fixed.</item>
    </fix>
    <change>
      <item>Auto Resize Popup according to the contents. Parameters added to the advanced settings of the module</item>
    </change>
  </changelog>
  <changelog>
    <element>mod_onpageload_popup</element>
    <type>module</type>
    <version>7.6</version>
    <fix>
      <item>Fixed the backend Module selection issue.</item>
    </fix>
  </changelog>
  <changelog>
    <element>mod_onpageload_popup</element>
    <type>module</type>
    <version>7.5</version>
    <change>
      <item>Option to directly select an image to appear inside the popup</item>
      <item>Option to change the border properties of the popup box</item>
      <item>Option to add custom close button</item>
    </change>
  </changelog>
  <changelog>
    <element>mod_onpageload_popup</element>
    <type>module</type>
    <version>7.4</version>
    <change>
      <item>Editor for Popup Content Management</item>
    </change>
  </changelog>
  <changelog>
    <element>mod_onpageload_popup</element>
    <type>module</type>
    <version>7.3</version>
    <change>
      <item>Option to use Minified version of JS and CSS</item>
    </change>
  </changelog>
  <changelog>
    <element>mod_onpageload_popup</element>
    <type>module</type>
    <version>7.2</version>
    <change>
      <item>Supports Joomla 4 Alpha</item>
    </change>
  </changelog>
  <changelog>
    <element>mod_onpageload_popup</element>
    <type>module</type>
    <version>7.1</version>
    <fix>
      <item>Popup Image Responsive Issue Fixed</item>
    </fix>
    <change>
      <item>Changes in PHP files and jQuery Updates</item>
      <item>Old Vulnerable files removed</item>
    </change>
  </changelog>
  <changelog>
    <element>mod_onpageload_popup</element>
    <type>module</type>
    <version>7.0</version>
    <change>
      <item>Option to enable or disable the closing of the popup when clicking on the overlay</item>
      <item>Minor PHP issue fix</item>
    </change>
  </changelog>
  <changelog>
    <element>mod_onpageload_popup</element>
    <type>module</type>
    <version>6.9</version>
    <change>
      <item>Option to show popup on click</item>
      <item>Option to add text or image to open on click</item>
      <item>Option to show or hide the popup link</item>
      <item>Option to hide popup link when cookie is set</item>
    </change>
  </changelog>
  <changelog>
    <element>mod_onpageload_popup</element>
    <type>module</type>
    <version>6.8</version>
    <fix>
      <item>Fixed auto width issue of the popup</item>
    </fix>
    <change>
      <item>Uses latest version of fancybox 2</item>
      <item>Minor jQuery Changes in default.php file</item>
    </change>
  </changelog>
  <changelog>
    <element>mod_onpageload_popup</element>
    <type>module</type>
    <version>6.7</version>
    <fix>
      <item>Fixed Media URL Issue</item>
    </fix>
    <change>
      <item>Changes made to backend</item>
      <item>Minor PHP Changes</item>
    </change>
  </changelog>
  <changelog>
    <element>mod_onpageload_popup</element>
    <type>module</type>
    <version>6.6</version>
    <change>
      <item>Changes to JS files.</item>
    </change>
  </changelog>
  <changelog>
    <element>mod_onpageload_popup</element>
    <type>module</type>
    <version>6.5</version>
    <fix>
      <item>Fixed the helper file error issue.</item>
    </fix>
  </changelog>
  <changelog>
    <element>mod_onpageload_popup</element>
    <type>module</type>
    <version>6.4</version>
    <fix>
      <item>Backend blank page issue fixed</item>
    </fix>
    <change>
      <item>Backend uses Joomla jQuery Framework</item>
    </change>
  </changelog>
  <changelog>
    <element>mod_onpageload_popup</element>
    <type>module</type>
    <version>6.3</version>
    <change>
      <item>Cookie can be set to Minutes, Hours and Days</item>
    </change>
  </changelog>
  <changelog>
    <element>mod_onpageload_popup</element>
    <type>module</type>
    <version>6.2</version>
    <change>
      <item>Joomla Update System Added</item>
    </change>
  </changelog>
  <changelog>
    <element>mod_onpageload_popup</element>
    <type>module</type>
    <version>6.1</version>
    <change>
      <item>Clear button has been added to the article select option.</item>
    </change>
  </changelog>
  <changelog>
    <element>mod_onpageload_popup</element>
    <type>module</type>
    <version>6.0</version>
    <fix>
      <item>Missing CSS images issue fixed.</item>
    </fix>
    <change>
      <item>Multiple instance Popup with option to set different styling has been added.</item>
    </change>
  </changelog>
  <changelog>
    <element>mod_onpageload_popup</element>
    <type>module</type>
    <version>5.9</version>
    <change>
      <item>Textbox to Dropdown for selection of modules.</item>
    </change>
  </changelog>
  <changelog>
    <element>mod_onpageload_popup</element>
    <type>module</type>
    <version>5.8</version>
    <fix>
      <item>Image cut off on popup issue fixed.</item>
    </fix>
    <change>
      <item>Option to trigger on Exit</item>
      <item>Option to trigger popup On Scroll</item>
      <item>Option to trigger popup On Scroll to bottom</item>
      <item>Option to set the close button to Left or right corner of the page</item>
    </change>
  </changelog>
  <changelog>
    <element>mod_onpageload_popup</element>
    <type>module</type>
    <version>5.7</version>
    <fix>
      <item>Backend white screen issue fixed.</item>
    </fix>
  </changelog>
  <changelog>
    <element>mod_onpageload_popup</element>
    <type>module</type>
    <version>5.6</version>
    <fix>
      <item>Show for mobile devices issue has been fixed</item>
      <item>Warning Notices fixed.</item>
    </fix>
    <change>
      <item>Border Radius of the popup can be modified in the module parameters.</item>
      <item>Support Google maps and Vimeo.</item>
    </change>
  </changelog>
</changelogs>
