I am using the Submitted_by module to change the output of $submitted on a per content type basis.
Additionally, it allows one to change the "submitted by..." line for comments as well. I have them changed for all the content types on the site (both node and comments), and they all work, except for the output for forum comments when Advanced Forum is enabled. When I turn AF off the submitted line shows up as I mean it to.
Attached is a screenshot of the of the two submission outputs. The code I am using is simply <?php print $submitted ?>.
Any ideas?
| Comment | File | Size | Author |
|---|---|---|---|
| submitted-by.png | 34.04 KB | maiki |
Comments
Comment #1
michelleHmm... This appears to be legacy code that is no longer used. I'll take it out of 2.x. If you want to take it out of your 1.x, find this line and delete it:
$variables['submitted'] = format_date($variables['comment']->timestamp);Michelle
Comment #2
maiki commentedThank you much. I commented that line and it works like a charm. ^_^
Comment #3
michelleRemoved from 2.x.
Michelle
Comment #6
avpadernoI am removing issue tags used from a single issue.