I do not have access to older versions of postnote for joomla 1.7 so please check following files and replace as below.
Problem: Due to wrong language string used in custom styles, when article published date is enabled following happens in frontend, instead of " Published on: xx xx xxxx " users only see "Published" word.
Replace "COM_CONTENT_PUBLISHED_DATE" with "COM_CONTENT_PUBLISHED_DATE_ON" without qoutes.
Check following files and lines, although line numbers are from latest version code should be similar.
\templates\gk_postnote\html\com_content\article\default.php
- Code: Select all
Line 152: <?php echo JText::sprintf('COM_CONTENT_PUBLISHED_DATE', JHTML::_('date',$this->item->publish_up, JText::_('DATE_FORMAT_LC2'))); ?>
Line 294: <?php echo JText::sprintf('COM_CONTENT_PUBLISHED_DATE', JHTML::_('date',$this->item->publish_up, JText::_('DATE_FORMAT_LC2'))); ?>
\templates\gk_postnote\html\com_content\category\blog_item.php
- Code: Select all
Line 105: <?php echo JText::sprintf('COM_CONTENT_PUBLISHED_DATE', JHTML::_('date',$this->item->publish_up, JText::_('DATE_FORMAT_LC2'))); ?>
Line 232: <span class="published"><?php echo JText::sprintf('COM_CONTENT_PUBLISHED_DATE', JHTML::_('date',$this->item->publish_up, JText::_('DATE_FORMAT_LC2'))); ?></span>
\templates\gk_postnote\html\com_content\featured\default_item.php
- Code: Select all
Line 119: <?php echo JText::sprintf('COM_CONTENT_PUBLISHED_DATE', JHTML::_('date',$this->item->publish_up, JText::_('DATE_FORMAT_LC2'))); ?>
Line 236: <span class="published"><?php echo JText::sprintf('COM_CONTENT_PUBLISHED_DATE', JHTML::_('date',$this->item->publish_up, JText::_('DATE_FORMAT_LC2'))); ?></span>
See you around...