Tagged: article info, JA Simpli
I am trying to figure out how I can get the words: "Created: Modified: Published:" to show in article info. I have some of these set to show but all that shows is the date.
What shows in my published articles is (see attached image):
12 November 2010 – 27 December 2017
What I would like to see is this:
Published: 12 November 2010 – Modified: 27 December 2017
By default, we show the modified date in article page so you can open this file:
and add this line of code:
<?php echo JText::sprintf(‘COM_CONTENT_PUBLISHED_DATE_ON’, ”); ?>
This language text: COM_CONTENT_PUBLISHED_DATE_ON is declared in language file of com_content: root/language/en-GB/en-GB.com_content.ini
For published / created date, you can edit the same in associated php file in this directory: root/templates/ja_simpli/html/layouts/joomla/content/info_block/
Hope this helps.
I totally forgot about this. So I tried adding the line of code you suggested and it does not work. What shows on frontend is this ‘COM_CONTENT_PUBLISHED_DATE_ON’ before the date.
I’m curious as to why the words Modified, Published, Created, etc were removed as it only makes sense for them to show?
Kindly share the credentials of your site: URL, Admin + FTP account so I can take a look.
This topic contains 3 replies, has 2 voices, and was last updated by Saguaros 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
New Unified Portal is live
Please post all new support queries in our New Forum.
Please read this Announcement for details.