want to remove the date and justify the text to the left

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Tue Nov 13, 2012 5:08 am
Reply with quote
Report this post
Hi,
I posted in Joomla 2.5 but then realized i am using the 3.0 version .. i want to remove the date and justify the text to the left. Also i want to remove the Leave a comment at the bottom of the article ,
the url is http://dev.localvalleybeef.ca/index.php ... g-contents

I replaced the following
file ../gk_startup/html/com_k2/templates/default/item.php and find this line:

CODE:
<time datetime="<?php echo JHtml::_('date', $this->item->created, 'Y-m-d'); ?>"> <?php echo JHTML::_('date', $this->item->created, JText::_('d M')); ?> </time>


replaced it with

CODE:
<?php if($this->item->params->get('itemDateCreated')): ?>
<time datetime="<?php echo JHtml::_('date', $this->item->created, 'Y-m-d'); ?>"> <?php echo JHTML::_('date', $this->item->created, JText::_('d M')); ?> </time>
<?php endif; ?>
User avatar
Fresh Boarder

Konrad M
Tue Nov 13, 2012 1:38 pm
Reply with quote
Report this post
Hi,
I see you removed date already. To remove comment info please try add to override.css
Code: Select all
#k2Container.itemView h3.titleComments {
display:none !important;
}

and remember to enable override.css option in template settings.
User avatar


cron