- Moderated by:
- Support
-
- rank:
-
Freshman
- registered:
- May 2004
- Status:
- offline
- last visit:
- 19.07.04
- Posts:
- 28
I have gone through the process of creating a banner with Banners Admin and assigned an ID of 1. I'm also using Xanthia, but it is not clear how to display the banner.
Looking through the forums I have seen references to:
Code
if(pnModAvailable('Banners'))
{
pnBannerDisplay(1);
}
which indicates this code is to be placed somewhare in theme.php (I'm not sure if this is a correct assumption). I've done this and still no banner.
There is also reference to:Code
<!--[pnbannerdisplay]-->
Which I guess might go somewhere in one of my theme templates.
Any clarification would be appreciated,
Chris -
- rank:
-
Moderator
- registered:
- March 2002
- Status:
- offline
- last visit:
- 26.08.08
- Posts:
- 7720
Chris,
Use the latter. The pnbannerdisplay plugin called the PHP function pnBannerDisplay. You can also add a specific banner type (1-99 from the banners admin) using
Code
<!--[pnbannerdisplay id=<bannertype>]-->
Hope this helps (as this is all I know about banners....).
-Mark
