Closed (outdated)
Project:
Advertisement
Version:
6.x-2.2
Component:
ad module
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
13 Jul 2010 at 13:52 UTC
Updated:
19 Sep 2024 at 11:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
SweeneyTodd commentedI have now created the template file and patch for the text ad.
I have created a single template file (ad-text-ad.tpl.php) to replace the previous messy system with 2 theme functions (ad_text_ad and ad_text_text).
As before, the old code has been left in place; to change between the template and the functions, the file / template lines in the ad_text_ad array in function ad_text_theme in ad_text.module need to be commented / uncommented.
These changes can be implemented independent of (or in addition to) the changes to theming the ad block contents (see original post).
Comment #2
SweeneyTodd commentedI have created the template and patch for the image ad.
Again I have created a single template from the 2 theme functions. A lot of the php for the image is done in the preprocess function in ad_image.module so the function file looks pretty bare.
Implementation of this does not depend on any of the above patch / templates so these can be tried out individually.
Comment #3
SweeneyTodd commented...and finally I have done the html ad.
I do not intend doing the external ad type as well unless anyone really wants it - let me know.
Comment #4
lrwebks commentedDrupal 6 is EOL and no longer supported. Closing this as outdated for that reason. Thanks for your contribution!