Closed (fixed)
Project:
Banner
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
9 Aug 2004 at 21:25 UTC
Updated:
31 Aug 2004 at 01:20 UTC
This patch does two things. I'm trying to make small patches, but sometimes two things get changed at once.
1) In the admin UI, drupal_goto() is used after banners are edited, added, or deleted and after the cache is reset. The error messages are still displayed. The destination URL is admin/banner.
2) The _banner_show() function becomes theme_banner_show() so themes can alter the way banners are displayed. Themes can even customize the display per banner position by detecting $banner->position.
The "(link)" for text ads is found in _banner_show(). So if someone doesn't like this behavior, they can override theme_banner_show() now.
| Comment | File | Size | Author |
|---|---|---|---|
| banner.3.patch | 4.95 KB | njivy |
Comments
Comment #1
jeremy commentedApplied, thanks. :)
Comment #2
(not verified) commented