- Posts: 8
- Thank you received: 0
Changing Date format on articles
-
AlbinP
Inactive member - New Member
Less
More
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
10 years 3 months ago #41725
by ivan.milic
Replied by ivan.milic on topic Changing Date format on articles
Does it change when you change it in original language files (not in override)?
Please Log in to join the conversation.
-
AlbinP
Inactive member - New Member
Less
More
- Posts: 8
- Thank you received: 0
10 years 3 months ago #41732
by AlbinP
Replied by AlbinP on topic Changing Date format on articles
I tried with Slovenian language and with English language. With override and without. Same situation.
I can give you access to FTP and to portal. Just tell me where should i send it
I can give you access to FTP and to portal. Just tell me where should i send it
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
10 years 3 months ago #41752
by ivan.milic
Replied by ivan.milic on topic Changing Date format on articles
Use 'Report To Moderator', also describe where we can find date displayed
Please Log in to join the conversation.
-
AlbinP
Inactive member - New Member
Less
More
- Posts: 8
- Thank you received: 0
10 years 3 months ago #41771
by AlbinP
Replied by AlbinP on topic Changing Date format on articles
Sent to Report
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
10 years 3 months ago #41778
by ivan.milic
Replied by ivan.milic on topic Changing Date format on articles
In :
templates/hot_news_portal/html/com_content/category/blog_item.php
changed to:
In
templates/hot_news_portal/html/com_content/featured/default_item.php
changed to
in /templates/hot_news_portal/html/com_content/article/default.php
changed to:
templates/hot_news_portal/html/com_content/category/blog_item.php
Code:
<?php if ($params->get('show_publish_date')) : ?>
<dd class="published">
i class="fa fa-clock-o"></i> <?php echo JText::sprintf( JHTML::_('date',$this->item->publish_up, JText::_('F d'))); ?>, <?php echo JText::sprintf( JHTML::_('date',$this->item->publish_up, JText::_('Y'))); ?>
</dd>
<?php endif; ?>
changed to:
Code:
<?php if ($params->get('show_publish_date')) : ?>
<dd class="published">
<i class="fa fa-clock-o"></i> <?php echo JText::sprintf( JHTML::_('date',$this->item->publish_up, JText::_('DATE_FORMAT_LC2'))); ?>
</dd>
<?php endif; ?>
In
templates/hot_news_portal/html/com_content/featured/default_item.php
Code:
<?php if ($params->get('show_publish_date')) : ?>
<dd class="published">
<i class="fa fa-clock-o"></i> <?php echo JText::sprintf( JHTML::_('date',$this->item->publish_up, JText::_('F d'))); ?>, <?php echo JText::sprintf( JHTML::_('date',$this->item->publish_up, JText::_('Y'))); ?>
</dd>
<?php endif; ?>
changed to
Code:
<?php if ($params->get('show_publish_date')) : ?>
<dd class="published">
<i class="fa fa-clock-o"></i> <?php echo JText::sprintf( JHTML::_('date',$this->item->publish_up, JText::_('DATE_FORMAT_LC2'))); ?>
</dd>
<?php endif; ?>
in /templates/hot_news_portal/html/com_content/article/default.php
Code:
<?php if ($params->get('show_publish_date')) : ?>
<dd class="published">
<i class="fa fa-clock-o"></i> <?php echo JText::sprintf( JHTML::_('date',$this->item->publish_up, JText::_('F d'))); ?>, <?php echo JText::sprintf( JHTML::_('date',$this->item->publish_up, JText::_('Y'))); ?>
</dd>
<?php endif; ?>
changed to:
Code:
<?php if ($params->get('show_publish_date')) : ?>
<dd class="published">
<i class="fa fa-clock-o"></i> <?php echo JText::sprintf( JHTML::_('date',$this->item->publish_up, JText::_('DATE_FORMAT_LC2'))); ?>
</dd>
<?php endif; ?>
Please Log in to join the conversation.
Time to create page: 0.099 seconds