Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
Welcome, Guest

Article doesn't display a published date
(1 viewing) (1) Guest
  • Page:
  • 1
  • 2

TOPIC: Article doesn't display a published date

Article doesn't display a published date 11 years ago #8911

  • stolodan
  • OFFLINE
  • Single Product
  • Fresh Boarder
  • Posts: 5
  • Karma: 0
I have a problem with publishing date. When I open an article I can see only text "published date" without date. You can see the problem on the demo of template on your site demo.smartaddons.com/#smart-news. I'm counting on your help.

Re: Article doesn't display a published date 11 years ago #8994

  • SA Thuy
Dear Daniel Stołowski,

Could you please open default.php file (your site/templates/smart_news25/html/com_content/article/html/default.php), find code:
<?php if ($params->get('show_publish_date')) : ?>
		<dd class="published">	
		<?php echo JText::sprintf('COM_CONTENT_PUBLISHED_DATE', JHTML::_('date',$this->item->publish_up, JText::_('DATE_FORMAT_LC2'))); ?>
		</dd>
<?php endif; ?>


change to:
<?php if ($params->get('show_publish_date')) : ?>
		<dd class="published">
		<?php echo JText::sprintf('COM_CONTENT_PUBLISHED_DATE_ON', JHtml::_('date', $this->item->publish_up, JText::_('DATE_FORMAT_LC3'))); ?>
		</dd>
<?php endif; ?>


Thanks
Last Edit: 11 years ago by .

Re: Article doesn't display a published date 11 years ago #9009

  • stolodan
  • OFFLINE
  • Single Product
  • Fresh Boarder
  • Posts: 5
  • Karma: 0
Dear SA Thuy

You advice helped me partly. After modification published date displays, but only when open an article. If opening category still doesn't display publish date. I tried to change simillar code in folder "my site/templates/smart_news25/html/com_content/category", but without result.

Re: Article doesn't display a published date 11 years ago #9024

  • SA Thuy
Dear Daniel Stołowski,

Could you please send your url to us?

Thanks

Re: Article doesn't display a published date 11 years ago #9030

  • stolodan
  • OFFLINE
  • Single Product
  • Fresh Boarder
  • Posts: 5
  • Karma: 0
Dear SA Thuy

Main URL is http://www.przemyskimisiek.pl/

The sam problem is when you open URL for Main Menu ":
"Aktualności" - http://www.przemyskimisiek.pl/aktualnosci
"Społeczeństwo" - http://www.przemyskimisiek.pl/spoleczenstwo
"Nasze miasto" - http://www.przemyskimisiek.pl/nasze-miasto
"Redakcja" - http://www.przemyskimisiek.pl/redakcja

When you scroll down, below module "Sj Mega News II", you can see articles displayed in menu Item Type "Articles » Category Blog". There is the probelm. It displays only text "opublikowano" ("published" in English) without date. If you open an article it displays correctly.

I checked how it works if I would like to display "Show Modify Date". It works correctly. The same for "Show Create Date".

Thank you in advance

Re: Article doesn't display a published date 11 years ago #9055

  • SA Thuy
Dear Daniel Stołowski,

Could you please send your account to us?
For the security reason, please enter your site account in
Require Help
From Staff + Mod/Admin?

when you reply this answer.

Thanks
  • Page:
  • 1
  • 2
Time to create page: 0.21 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Home Pricing
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
SearchSupport
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes