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.
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.
-

- 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 ?
If I understand correct you want to move it above Gamebox magazine banner ?
- GK User
- Tue Mar 01, 2011 7:02 pm
moving this to gamebox sub forum
-

- Platinum Boarder
- teitbite
- Wed Mar 02, 2011 1:21 am
Hi
The code for date looks like this:
You can find it in layouts/blocks/header.php
You need to cut it and paste wherever You want.
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.
-

- 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)?
-

- 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
Thank you
-

- 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:
@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 } ?>
-

- Moderator
7 posts
• Page 1 of 1
