#gkComponent Item-Page and ItemDateday

GK User
Mon Jan 02, 2012 5:32 am
How do I remove the Item-Page (Articles) and the ItemDateday from my articles? I have tried just about everything... I have uploaded an image to better illustrate what I am talking about. The pages are confirmation pages that load after any of my forms are filled out. Please help asap as my site is now live... www.onterrafarms.com.
User avatar
Senior Boarder

GK User
Mon Jan 02, 2012 2:40 pm
Hi,

Open this file: \templates\gk_boutique\html\com_content\article\default.php

Then find this code to remove:
Code: Select all
<div class="item-page<?php echo $params->get('pageclass_sfx')?>">
<?php if ($this->params->get('show_page_heading', 1)) : ?>
<h1>
   <?php echo $this->escape($this->params->get('page_heading')); ?>
</h1>
<?php endif; ?>

<div class="itemDate">
   <span class="itemDateDay">
      <?php echo JHTML::_('date',$this->item->created, 'd'); ?>
   </span>
   <span class="itemDateMonth">
      <?php echo JHTML::_('date',$this->item->created, 'M'); ?>
   </span>
</div>


And let me know if it helps.
User avatar
Platinum Boarder


cron