eZ ad problem ver. 2.2.7: Ads not displaying on anonymous access

Author Message

Knut Meyn

Sunday 29 February 2004 8:53:19 am

I've discovered something which looks like either a configuration issue or a bug, don't know which. While trying to get ads to run on mainpage and also other news section, I first didn't think it was working. When not being logged in, nothing was showing.

Found empty brackets for banner code and got it from a template file. Then I added the code

<?
$CategoryID = 1;
$Limit = 1;
include( "ezad/user/adlist.php" );
?>
.. into the brackets, don't know if it made any difference. The problem turned out to relate to ads not showing in any section unless you are logged in.

Does anyone know why the ads won't show for anonymous users?
Appreciate a tip on a workaround here!
Rgds
Knut

Knut Meyn

Sunday 29 February 2004 9:30:29 am

Well apparently the code is being entered as one select Ads for the section. But they're still not visible with anonymous access.

Rgds
Knut

Knut Meyn

Sunday 29 February 2004 9:44:35 pm

Interestingly enough it seems that it was a combined caching and cookie issue. I never emptied site/personal cache while I was doing the banner addition tok the section pages.

I remember now something about empyting cache in Site admin after changes applied, so I guess that may explain why twasn't visible for anonymous right away.

Anyway, problem resolved....
Rgds
Knut

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.