[SOLVED] Set Boutique Template

GK User
Mon Nov 21, 2011 6:25 pm
butiqe date off.png


Hi! A need turn off date , it not impossible
User avatar
Junior Boarder

GK User
Mon Nov 21, 2011 6:41 pm
All options in Article is Off.png


All Options in A
rticle is OFF
User avatar
Junior Boarder

GK User
Mon Nov 21, 2011 6:44 pm
But its stay.png

but date is stay
User avatar
Junior Boarder

GK User
Tue Nov 22, 2011 1:50 pm
For Article Creation Date:
Find File: "templatesgk_boutiquehtmlcom_contentarticledefault.php"
Find Line: 53 to 60 which is below
Code: Select all
<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>

Replace with below:
Code: Select all
<?php if ($params->get('show_create_date')) : ?>
<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>
<?php endif; ?>
User avatar
Platinum Boarder

GK User
Tue Nov 22, 2011 3:49 pm
thank you very much
User avatar
Junior Boarder

GK User
Sat Dec 03, 2011 4:46 pm
Hi Norman
i have same problem in K2 articles
User avatar
Junior Boarder

GK User
Sat Dec 03, 2011 9:33 pm
K2 Item View Page.
Find File:
Code: Select all
\templates\gk_boutique\html\com_k2\templates\default\item.php

Find Line: 52 to 58 which is below
Code: Select all
                     <!-- Item title -->
                         <!-- Date created -->
                         <div class="itemDate">
                            <span class="itemDateDay"><?php echo JHTML::_('date', $this->item->created , JText::_('d')); ?></span>
                            <span class="itemDateMonth"><?php echo JHTML::_('date', $this->item->created , JText::_('M')); ?></span>
                         </div>
                     <h2 class="itemTitle">

Replace with below
Code: Select all
                     <!-- Item title -->
                     <?php if($this->item->params->get('itemDateCreated')): ?>
                         <!-- Date created -->
                         <div class="itemDate">
                            <span class="itemDateDay"><?php echo JHTML::_('date', $this->item->created , JText::_('d')); ?></span>
                            <span class="itemDateMonth"><?php echo JHTML::_('date', $this->item->created , JText::_('M')); ?></span>
                         </div>
                     <?php endif; ?>
                     <h2 class="itemTitle">


Also when you disable it you get empty space on the left before title so to remove those follow below.
Go to Joomla Admin > Extensions > Template Manager > gk_boutique - Default > Advanced Settings > Custom CSS Code and copy paste below. Save & Close.
Code: Select all
.itemHeader .itemTitle, .genericItemTitle { margin:0; }
.itemToolbar ul { margin:0; }


See you around...
User avatar
Platinum Boarder

GK User
Sun Dec 04, 2011 7:38 pm
Thank you Norman! You are BIIIG!
User avatar
Junior Boarder

GK User
Mon Dec 05, 2011 3:40 am
No problem at all.

See you aroud...
User avatar
Platinum Boarder


cron