Changing Date position on Gamebox template

Gamebox for Joomla 1.5 support forum by GavickPro
GK User
Sun Feb 27, 2011 7:47 pm
Greetings,
I'm wanting to change the date position on the Gamebox template to move to the top in the banner position.

Can someone tell me where this is done?

Thanks.
User avatar
Fresh Boarder

Konrad M
Mon Feb 28, 2011 7:26 am
Hi,
If I understand correct you want to move it above Gamebox magazine banner ?
User avatar

GK User
Tue Mar 01, 2011 7:02 pm
moving this to gamebox sub forum
User avatar
Platinum Boarder

teitbite
Wed Mar 02, 2011 1:21 am
Hi

The code for date looks like this:

Code: Select all
               <?php if($this->_tpl->params->get("date",1)) : ?>
               <div id="gk-date">
                  <?php echo JHTML::_('date','now',$this->_tpl->params->get("date_format","%A, %d %b %Y")); ?>
               </div>
               <?php endif; ?>



You can find it in layouts/blocks/header.php

You need to cut it and paste wherever You want.
User avatar
Moderator

GK User
Thu Mar 24, 2011 5:18 pm
Where do I paste the date php code to get it in the Banner1 position (flush right)?
User avatar
Fresh Boarder

GK User
Sat Mar 26, 2011 8:54 pm
I need to remove the date only from the home page. How do I do that?

Thank you
User avatar
Junior Boarder

teitbite
Sun Mar 27, 2011 2:07 am
Hi

@Shimwolf this way I would suggest to use a module which will be able to display php code and use in that position.

@dsa787 add this code to the head.php:

Code: Select all
<?php if($_GET['Itemid'] == 1) { ?>
<style type="text/css">
#gk-date { display:none; }
</style>
<?php } ?>
User avatar
Moderator


cron