Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
this precludes the use of (say) an animated gif for "hot" forum topics.
if it makes sense to people as a fix, I'll create a patch that takes the extention from a admin settings variable.
Comment | File | Size | Author |
---|---|---|---|
#6 | 40534_1.patch | 2.54 KB | Wesley Tanaka |
#5 | 40534_0.patch | 3.29 KB | Wesley Tanaka |
#2 | 40534.patch | 1.57 KB | Wesley Tanaka |
Comments
Comment #1
Morbus IffThis is a user-defined setting, see admin/forum/configure and "forum icon path".
Comment #2
Wesley Tanaka CreditAttribution: Wesley Tanaka commentedSorry, clearly I wasn't clear enough.
I'm talking about the "png" part of that code.
The current CVS looks like it might limp along well enough to get it working on my site, so I took the plunge and committed it. Since it's easier for me to create patches now, I'm attaching one which explains what I mean (and incidentally would also fix the problem)
Comment #3
Dries CreditAttribution: Dries commentedI vote against more settings. Let's just make sure this is 100% themable using the theme system.
Comment #4
Dries CreditAttribution: Dries commentedIf it is fully themeable, we can probably remove the "Forum icon path" setting too.
Comment #5
Wesley Tanaka CreditAttribution: Wesley Tanaka commentedreasonable idea
Comment #6
Wesley Tanaka CreditAttribution: Wesley Tanaka commenteda different approach which reduces the burden on the person overriding the theme function.
Comment #7
Dries CreditAttribution: Dries commentedCommitted a modified version of your patch to HEAD. Don't worry about backward compatibility.
Comment #8
(not verified) CreditAttribution: commentedComment #9
drummThis needs documentation at http://drupal.org/node/25297
Comment #10
Robert Castelo CreditAttribution: Robert Castelo commentedAdded documentation telling themers that theme_forum_icon() is now available.
Comment #11
Robert Castelo CreditAttribution: Robert Castelo commented