Closed (fixed)
Project:
Zen
Version:
6.x-2.x-dev
Component:
PHP code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
7 Mar 2011 at 09:35 UTC
Updated:
8 Oct 2020 at 07:28 UTC
Jump to comment: Most recent
Comments
Comment #1
hswong3i commentedAre you using with zen-6.x-2.0 (http://drupal.org/node/838400) or zen-6.x-2.x-dev (http://drupal.org/node/373826)? The revamp of interactive_media-6.x-2.x-dev are based on zen-6.x-2.x-dev.
I check with the http://drupalcode.org/project/zen.git/blob/refs/heads/6.x-2.x:/templates... and you should able to override the submitted with your own node.tpl.php. Please correct me.
Comment #2
Anonymous (not verified) commentedI have installed zen-6.x-2.0.
Perhaps my previous post is not clear: there is no bug in interactive_media. In alpha4 release, it is possible to override Zen
node.tpl.phpwith a custom one as I suggested in order to use a possible custominteractive_media_node_submitted($node)function (as required by Drupal Theme Guideline).Since I find that Zen
node.tpl.phpis not a good example of template, I suggest as 'feature request' for interactive_media to fix such not good example overriding it by a more standardnode.tpl.php, where custominteractive_media_node_submitted($node)function are used if defined.Comment #3
hswong3i commentedSo, if Zen's default template is not good enough, why don't we contribute the changes to Zen as a new standard, rather than manually override it within subthemes?
Please kindly understand that I am going to migrate ALL of my theme contributions as Zen subthemes, and it is now working in progress. Therefore if this should be done within interactive_media, I will fork it for other project, too (and result as duplicated effort for daily maintenance).
In case of zen-7.x-3.x-dev, node.tpl.php is already implement with $submitted as suggested. I think Zen team would like to review with this suggestion, too. I would like to refer this issue to the suitable project.
Comment #4
johnalbinJust before Drupal 7.0 was released, core's node.tpl was modified to no longer hard-code the t() function in it for the submitted date formatting and to once again use the D6-style $submitted variable. See #547696: Update node.tpl to use ideas from D7
Since Zen 6.x-2.0 was released last June, it was modeled after how D7 worked at the time.
Let's get Zen 6.x-2.1 inline with D7.0.
Fixed. http://drupalcode.org/project/zen.git/commit/3b5f9a9