Hiding/ Removing Date indicators when Publishing and modifying contents

Author Message

Fennilyn Tugaoen

Tuesday 02 March 2010 6:12:56 pm

Hello!

 

Since this is my first post, let me just say "hi" to all of you!

 

I am just wondering about this:

If I wants to publish an article but doesn't want to reveal when it was created and modified is there any way the administrator can hide the dates? It usually shows up at the bottom of the title of the article.

e.g.

TITLE

 

author 03/02/2010 08:11 am

is there any way the administrator can hide or remove the time stamp? If so, where and how?

Robin Muilwijk

Thursday 04 March 2010 12:16:22 pm

Hi Fennilyn,

Welcome to the community site.

With regards to your question on timestamps; one of the options is to create a template override. In case of eZ Webin check extension\ezwebin\design\ezwebin\override\templates\full where you find article.tpl. This already is an override template file and you could take this as an example.

Starting at line 20 you find:

<p class="date">
             {$node.object.published|l10n(shortdatetime)}
</p>

If you were to create your own override files, you could for example simply remove such code so those dates will not show. As far as I know there are no settings such as radio buttons or checkboxes to disable/enable these dates in the back end. If anyone has more/smarter ways of achieving this, please add them to the topic.

Regards Robin

Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.

LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 02:10:12
Script start
Timing: Jan 18 2025 02:10:12
Module start 'layout'
Timing: Jan 18 2025 02:10:12
Module start 'content'
Timing: Jan 18 2025 02:10:13
Module end 'content'
Timing: Jan 18 2025 02:10:13
Script end

Main resources:

Total runtime0.6762 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0080 589.5078152.6875
Module start 'layout' 0.00810.0033 742.195339.5234
Module start 'content' 0.01140.6633 781.7188531.3828
Module end 'content' 0.67470.0014 1,313.10168.0781
Script end 0.6761  1,321.1797 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.4731160.0002
Check MTime0.00130.1869160.0001
Mysql Total
Database connection0.00080.118310.0008
Mysqli_queries0.626392.6319540.0116
Looping result0.00050.0806520.0000
Template Total0.639594.620.3198
Template load0.00190.274720.0009
Template processing0.637794.306520.3188
Template load and register function0.00010.019410.0001
states
state_id_array0.00090.139510.0009
state_identifier_array0.00120.181820.0006
Override
Cache load0.00150.2281240.0001
Sytem overhead
Fetch class attribute can translate value0.00060.085320.0003
Fetch class attribute name0.00150.217430.0005
XML
Image XML parsing0.00130.193620.0007
class_abstraction
Instantiating content class attribute0.00000.001530.0000
General
dbfile0.00210.3067180.0001
String conversion0.00000.001440.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/header.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/header.tplEdit templateOverride template
1content/datatype/view/ezxmltags/strong.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/strong.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 13
 Number of unique templates used: 8

Time used to render debug report: 0.0001 secs