[SOLVED] Boutique Template - problems with an Article Name or Date

GK User
Tue Nov 15, 2011 4:14 pm
Good afternoon. I´m using the "Boutique Template"
When I make an article it´s imposible to delete the name or the modification date of each one.

Somebody have this problem?

I have try with Main Settings , Article Options, and options from the menu when I use an article but it´s impossible to delete this information.

Sorry for my english.
Regards.


delete_this_information.JPG
User avatar
Fresh Boarder

GK User
Wed Nov 16, 2011 11:41 am
Do you have a link to your website please?
User avatar
Platinum Boarder

GK User
Wed Nov 16, 2011 11:48 am
http://www.tabernaelpoema.com/

For example, if you go to "LA TABERNA" part (http://www.tabernaelpoema.com/lataberna), you can see the "modification date" (15 nov) and the "article name" (PRUEBA)... I want to disable this information, but it´s impossible... Maybe the template is broken...

Another option could be delete this code-line...
User avatar
Fresh Boarder

GK User
Wed Nov 16, 2011 12:21 pm
For Article Creation Date:
Find File: "templates\gk_boutique\html\com_content\article\default.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; ?>


Hiding Articles Title works fine. If you select hide article title from articles > Options it does hide the article title.
User avatar
Platinum Boarder

GK User
Wed Nov 16, 2011 1:07 pm
Incredible... Now "Hiding Articles Title" works fine. I did´nt change any option and it´s work :))
For hiding "creation date" I will try chaning the code.

Thank u very much!!!
User avatar
Fresh Boarder

GK User
Thu Nov 17, 2011 9:13 am
Can you please let me know if this works for you so i can mark it as SOLVED. Thank you.
User avatar
Platinum Boarder

GK User
Thu Nov 17, 2011 9:27 am
The change works fine :)
Thank you very much.
User avatar
Fresh Boarder

GK User
Thu Nov 17, 2011 9:31 am
No problem at all, see you around...
User avatar
Platinum Boarder

GK User
Thu Dec 01, 2011 6:42 am
what is the file name ? templatesgk_boutiquehtmlcom_contentarticledefault.php
that is not a file name
User avatar
Junior Boarder

GK User
Thu Dec 01, 2011 8:51 am
Seems like during forum conversions few characters were excluded. See below for corrected path and filename.
Code: Select all
/templates/gk_boutique/html/com_content/article/default.php
User avatar
Platinum Boarder

GK User
Fri Dec 16, 2011 7:35 am
normanUK wrote: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; ?>


Hiding Articles Title works fine. If you select hide article title from articles > Options it does hide the article title.




Where is this file located.... Can find it in the template folder... Thanks!!!
User avatar
Junior Boarder

GK User
Fri Dec 16, 2011 9:04 am
Full url or path would be
Code: Select all
www.yourwebsite.com/templates/gk_boutique/html/com_content/article/default.php

or inside GK Boutique template folder
Code: Select all
html/com_content/article/default.php
User avatar
Platinum Boarder

GK User
Tue Jan 31, 2012 9:26 am
It didn't work for me. Any alternatives? i'm running Boutique on J 2.5
User avatar
Platinum Boarder

GK User
Wed Feb 01, 2012 1:55 pm
User avatar
Platinum Boarder


cron