Forums / Developer / phpadsnew extension / Comment42394
Sofie Johansson
Friday 09 June 2006 1:11:33 am
Hi
I am trying to figure out how to use phpadsnew and I have come to the point where my ads are shown using this code:
{let data=phpadsnew( '3', 'html')} {$data.html} {/let}
This picks up the ad with the ID 3, and works fine. However. I would like to be able to place an ad in a zone and pick it up without knowing the ID of the ad, just the zone.
I think the way of using the ads ID is to nondynamic and would like more flexibilty by using zones. Can anyone help?
I also wonder how to loop over 2 ads in one zone..
Best Regards/Sofie
Developer, Novitell AB