Version 3.4.1
October 1, 2024
Fixed
- Fixed bug encountered when using pre-defined image transforms. (#43)
Version 3.4.0
May 29, 2024
Added
- Added ability to track views via JavaScript. (#50, thanks @cballenar)
Fixed
- Fixed bug encountered when saving an Ad Group without a field layout. (#51)
Version 3.3.2
January 18, 2024
Fixed
- Fixed bug encountered when uninstalling. (#44)
Version 3.3.1
August 24, 2023
Fixed
- Now shows values of custom fields on Ads index page.
Version 3.3.0
January 9, 2023
Added
- Added action to “Duplicate” an Ad.
- Added action to “Restore” a deleted Ad.
Fixed
- Fixed a permissions issue with element actions.
- Now clears Ad queries cache when an Ad is moved from one group to another.
- Fixed migration bug when updating from Craft 2 to Craft 3.7. (thanks @engram-design)
Version 3.2.1
July 18, 2022
Added
- Made plugin translatable. (thanks @davidwebca)
Version 3.2.0
April 28, 2022
Added
- Craft 4 compatibility.
Version 3.1.4
January 15, 2022
Changed
- New plugin icon.
Version 3.1.3
April 15, 2021
Fixed
- Fixed minor spacing issue.
Version 3.1.2
February 4, 2021
Fixed
- Query adjustments based on MySQL vs PostgreSQL. (thanks @pgrzyb)
Version 3.1.1
September 25, 2020
Fixed
- Fixed redirect bug when installing from console. (thanks @juban)
Version 3.1.0
July 30, 2020
Added
- Compatible with the new Craft 3.5 field layout editor.
- Added an Ads field type, an elements field containing Ads. (thanks @engram-design)
- Added an Ad Group field type, a dropdown that stores the handle of a selected Ad Group. (thanks @engram-design)
Changed
- Craft 3.5 is now required.
- Renamed JS file as an ad blocker deterrent.
- Pre-selects Ad Group when creating a new Ad.
Fixed
- Properly validates the URL field.
- Respects soft-deleted field layouts.
Version 3.0.4
March 4, 2020
Fixed
- Fixed broken link to asset volumes.
Version 3.0.3
February 8, 2020
Fixed
- Fixed PHP 7.4 compatibility issues.
Version 3.0.2
August 22, 2019
Fixed
- Fixed redirect bug which occurred when saving an ad.
Version 3.0.1
August 21, 2019
Added
- Added
.onlyValid()
filter for getting Ads with an Element Query.
Version 3.0.0
July 16, 2019
Added
- Added ability to use custom fields on Ads via Field Layouts.
- Added ability to completely customize the attributes of an ad's
<img>
tag. - Supports dot notation in dynamic attributes.
- Added native fields to HUD editor.
- Added ability to show "Group" on index page.
Changed
- Improved Postgres compatibility.
- Improved technique for handling image transforms.
- Log error message in console if ad has no image asset.
- Log error message in console if ad image is in a volume with no public URL.
- Log deprecation warning for old transforms method.
Fixed
displayAd
will no longer show an expired or max viewed ad.- Fixed null maxViews bug.
- Fixed system timezone bug.
Version 2.0.1
August 21, 2018
Fixed
- Allows access for logged-in non-admins.
Version 2.0.0
July 30, 2018
Added
- Craft 3 compatibility.
Version 1.3.2
September 23, 2017
Fixed
- Fixed “Move to group” bug.
Version 1.3.1
September 6, 2016
Added
- You can now move ads between different ad groups.
- Added
displayAd
method to AdModel.
Changed
- Proper breadcrumbs.
- Added deprecation warnings.
Fixed
- Fixed PHP 7 race condition.
- Fixed "New Ad" button.
Version 1.3.0
February 16, 2016
Added
- REQUIRES CRAFT 2.5
- Added thumbnail images for ads.
- Introduced retina support.
- Added "displayAd" and "randomizeAdGroup" variables.
- Get ads via an ElementCriteriaModel.
- Added ability to bulk delete ads.
Changed
- Fully tested and reformatted to fit better with Craft 2.5.
- Moved error messages to console.
- Changed all references from "Positions" to "Groups".
- DEPRECATED: "ad" and "position" variables.
Fixed
- Fixed widgets to be compatible with Craft 2.5.
Version 1.2.0
August 11, 2015
Added
- Added new "Stats" page.
- Added support for image transforms.
Changed
- Vastly improved widget UX.
- Improved UX of "+ New Ad" button.
Fixed
- Fixed CSRF bug.
Version 1.1.1
October 31, 2014
Fixed
- Anonymous click fix.
Version 1.1.0
October 30, 2014
Changed
- Improved error handling.
- Made CSRF compatible.
- Removed jQuery dependency.
Version 1.0.2
August 22, 2014
Fixed
- Fixed locale bug.
Version 1.0.1
August 6, 2014
Fixed
- Bug fixes.
Version 1.0.0
August 6, 2014
Initial release.