Hello,
From the K2 categories I can select "Item created date and time" and "Item modified date and time", and if set to "show", these will be visible in the category and item views. All good.
But what if I want to display the date when the item is published? For example, if I have a blog or news list in the main k2 container, and there are blog posts showing the dates when they were created, but I want to list the publishing dates instead?
Is there an alternative script I could use in the custom K2 template to replace the "JHTML::_('date', $this->item->created" string? I tried "item->published" but it resulted the date showing 1.1.1970.
This is irritating, especially as I want to write many articles in advance and then set them to be automatically published on later dates. I am also using Latest News Enhanced module to show news feed / latest blog posts on the side of the page, and it shows K2 published dates well.
Eero
Ps. K2 version 2.6.8 and Joomla 3.3.6
From the K2 categories I can select "Item created date and time" and "Item modified date and time", and if set to "show", these will be visible in the category and item views. All good.
But what if I want to display the date when the item is published? For example, if I have a blog or news list in the main k2 container, and there are blog posts showing the dates when they were created, but I want to list the publishing dates instead?
Is there an alternative script I could use in the custom K2 template to replace the "JHTML::_('date', $this->item->created" string? I tried "item->published" but it resulted the date showing 1.1.1970.
This is irritating, especially as I want to write many articles in advance and then set them to be automatically published on later dates. I am also using Latest News Enhanced module to show news feed / latest blog posts on the side of the page, and it shows K2 published dates well.
Eero
Ps. K2 version 2.6.8 and Joomla 3.3.6
Edited 11 years 6 months ago by Eero · Reason: Forgot to mention K2 and J! version
