Remove modification to $submitted
maiki - September 24, 2009 - 13:25
| Project: | Advanced Forum |
| Version: | 6.x-2.x-dev |
| Component: | Other module integration |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
| Issue tags: | $submitted, Submitted_by |
Jump to:
Description
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?
| Attachment | Size |
|---|---|
| submitted-by.png | 34.04 KB |

#1
Hmm... 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
#2
Thank you much. I commented that line and it works like a charm. ^_^
#3
Removed from 2.x.
Michelle
#4
Automatically closed -- issue fixed for 2 weeks with no activity.