Forums / Setup & design / Hiding/ Removing Date indicators when Publishing and modifying contents

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