Hi,
This is not entirely a bug but something not expected. Content types can be configured to not display post information, i.e. submitted by author, in admin/build/themes/settings. "Page" content type is configured to hide post information by default. However, when Author information profile block is enabled, author info is shown even for a "Page" content type. This seems like a conflict. And there's no easy way to turn it off for just some content types.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | 368384.diff | 710 bytes | ball.in.th |
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.