paule Posted October 29, 2018 Report Share Posted October 29, 2018 For adblock reasons I'm using local mode on my sites, since it's harder to block it and most ads will not get blocked by default. However, I have a big website with multiple zones on every page and wonder if there is a possiblity to alter the request code somehow to get all zones in a single request to the backend. $phpAds_raw = view_local('', 1, 0, 0, '_blank', 'test', '0', $phpAds_context, ''); The second variable is the zone ID, however I can't pass an array there. Quote Link to comment Share on other sites More sharing options...
andrewatfornax Posted November 1, 2018 Report Share Posted November 1, 2018 Hi @paule, This would require a change to the underlying source code & operation of the tag - it's not going to be a case of changing the parameters used in the call. The code of the Local Mode tag only supports getting one banner for the desired zone - not getting banners for multiple zones. Quote Link to comment Share on other sites More sharing options...
paule Posted November 1, 2018 Author Report Share Posted November 1, 2018 Thanks, I already suspected this. Maybe I'll find some time to make a plugin for the community to do so... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.