We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Banners/Ads rotating system

How Do I?

Goha's avatar
Goha
6 posts
6 years ago
Goha's avatar Goha

Hello!

I need an advice about where I should dig in since I can’t find any 3rd party Banners/Ads rotating add-on: what is the easiest or best way to build it with the pure EE4 if I need to show advertising depends on view count or end date? Or I missed the add-on maybe?

Thanks!

       
Derek Jones's avatar
Derek Jones
7,561 posts
6 years ago
Derek Jones's avatar Derek Jones

What are the criteria? Based on what you’ve said so far, there’s no need for an add-on. Channel Entries can handle those requirements.

       
Goha's avatar
Goha
6 posts
6 years ago
Goha's avatar Goha

There are 2 criteria for advertising blocks: show a certain number of times, or show up to a specific date. And rotate advertising block content if there are 2+ commercial entries for that advertising block (with different settings: the first commercial should be shown 1000 times and the second one should be shown up to a specific date).

I looked for 3rd party addons just because of user-friendly settings pane for commercial content (show mode: show count or date; content management etc…) — template hardcode is the risky way to manage this blocks (I can be wrong here).

       
Derek Jones's avatar
Derek Jones
7,561 posts
6 years ago
Derek Jones's avatar Derek Jones

I’m uncertain of what you mean by “template hardcode is the risky way to manage this”, but if you should be able to use entry view tracking along with the relaxed_track_views config override, since your single entry ads being served by a channel entries tag would not have its URL title in the address.

See: https://docs.expressionengine.com/latest/general/system_configuration_overrides.html#relaxed-track-views

       
Goha's avatar
Goha
6 posts
6 years ago
Goha's avatar Goha
I’m uncertain of what you mean by “template hardcode is the risky way to manage this”…

I mean it’s too risky to give access to the template code to the manager who should manage commercial blocks/entries just with content (text, image) and settings (number of views or up to date for different commercials) and who is not a programmer.

Thanks, will learn about relaxed track views.

       
Goha's avatar
Goha
6 posts
6 years ago
Goha's avatar Goha

But looks like I start to understand the idea: the manager can use entries custom fields to set the specific characteristics. Will try this stuff. Thanks for the response, Derek!

       
Derek Jones's avatar
Derek Jones
7,561 posts
6 years ago
Derek Jones's avatar Derek Jones

Gotcha, and absolutely, you don’t want to give them template access. You should be able to set up what is needed with custom fields, entry / expiration dates, etc.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.