Closed (outdated)
Project:
Drupal core
Version:
6.9
Component:
profile.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Feb 2009 at 07:08 UTC
Updated:
2 Mar 2016 at 22:18 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
roball commentedI have enabled all the checkboxes available in the "Display post information on" group at "admin/build/themes/settings" - so even posts of content type "page" should get the author information. That works, but I'm not happy with it for several reasons:
So I tried the 'Author information' block - set it to be displayed on the Content bottom region, enabled some of the (custom) profile fields - but nothing gets displayed at all :-(
Comment #2
roball commentedUpdate: Only on the front page there was no author information displayed. On all the others, there was. Even the user's picture has been displayed, although I've disabled "User pictures in posts" to be displayed in the "Toggle display" section of "admin/build/themes/settings". And there seems no way to get the date of the last update displayed. How can this be done?
Comment #3
roball commentedUpdate 2: I have now found the solution for me :-)
I am no more thinking about enabling the "Author information" block - the enabled "Display post information on" just works fine when the corresponding theme template will be modified. So I'm now using
format_date($node->changed, 'large')to get the date of the last update in the customized date & time format, instead of getting the creation date in a fixed date format (which was hard coded in the theme I am using).
Comment #4
ball.in.th commentedI've found a workaround; in "Show block on specific pages: ", select "Show if the following PHP code returns TRUE (PHP-mode, experts only)." And use this php code:
Comment #5
ball.in.th commentedok, here's my first attempt to send a patch.