Articles Field

data [created]

4 months 4 days ago #78112

Boillat Jean-Philippe's Avatar Boillat Jean-Philippe

I use a custom hltm to render the fields

<p>{tab title="[created]" color_inactive_handles="false" outline_handles="false" outline_content="false" alignment="justify"}</p>
<div class="col-xs-12 col-sm-4 col-md-4 col-lg-4 pull-left paddingdroite"><img src="[image_intro]" alt="" itemprop="image"></div>[introtext]
and this work great ( i just had to add the
{/tabs} and modifiy with this <? php echo JHtml::_('content.prepare', value);....
in the layout override render.php

My question is
[created]
render the date not formatted . So how can I format this like DATE_FORMAT_LC3

Thanks

4 months 4 days ago #78113

Peter van Westen's Avatar Peter van Westen Admin

4 months 4 days ago #78114

Boillat Jean-Philippe's Avatar Boillat Jean-Philippe

Thanks for your answer

but this doesn't work I just get the code in output now

prix-genevois-litterature.ch/actualites/...eated-format-l-m-y-3

4 months 4 days ago #78116

Peter van Westen's Avatar Peter van Westen Admin

Ah, sorry, I thought you were using Articles Anywhere.
There is no option for formatting the date field in Articles Field at the moment.