Date in Gamenews
Rate this topic: 3.50 out of 6 based on 2 vote(s)
- GK User
- Thu Feb 20, 2014 8:46 pm
- Reply with quote
- Report this post
Greetings!
i need to implement date of the day in gamenews.
Unable to implement directly in the template index.php file with the code:
however this is mangled, out of position within the modules.
I thought I'd do as the MyStore through css then tried to use the override.
In this way did not work.
There is the possibility to align the date with the override gamenews without using modules?
Thanks
i need to implement date of the day in gamenews.
Unable to implement directly in the template index.php file with the code:
- Code: Select all
$data =& JFactory::getDate();
echo $data->toFormat('%d de %B de %Y');
however this is mangled, out of position within the modules.
I thought I'd do as the MyStore through css then tried to use the override.
- Code: Select all
/* Breadrump and date container */
div#gk-breadcrumb { margin-bottom: 10px; font-size: 90%; }
div#gk-date { text-align: right; color: #999 }
In this way did not work.
There is the possibility to align the date with the override gamenews without using modules?
Thanks
-
- Senior Boarder
- teitbite
- Sat Feb 22, 2014 8:40 pm
- Reply with quote
- Report this post
Hi
Please show me where this date should be visible, so I'll tell You the file and line where to put it.
Please show me where this date should be visible, so I'll tell You the file and line where to put it.
-
- Moderator
- GK User
- Sun Feb 23, 2014 2:29 am
- Reply with quote
- Report this post
Hello Teitbit.
thank you very much for your attention always.
I would like to add the date just below the main menu, and above newspro1.
If I'm not mistaken the position is breadcrumb or topmenu. If not possible in this position, the ideal is to put it in the sidebar.
Please visit bahia40graus.com.br and see these possibilities.
Another detail is a line that appears above all banners.
I changed the suffix class but the line / division continues.
Thanks!
thank you very much for your attention always.
I would like to add the date just below the main menu, and above newspro1.
If I'm not mistaken the position is breadcrumb or topmenu. If not possible in this position, the ideal is to put it in the sidebar.
Please visit bahia40graus.com.br and see these possibilities.
Another detail is a line that appears above all banners.
I changed the suffix class but the line / division continues.
Thanks!
-
- Senior Boarder
- teitbite
- Tue Feb 25, 2014 9:39 pm
- Reply with quote
- Report this post
Hi
Best position would be "topmenu" than. Please use custom code module, for example K2 Tools has such option and put the php code there.
Best position would be "topmenu" than. Please use custom code module, for example K2 Tools has such option and put the php code there.
-
- Moderator
- GK User
- Wed Feb 26, 2014 11:10 am
- Reply with quote
- Report this post
teitbite wrote:Hi
Best position would be "topmenu" than. Please use custom code module, for example K2 Tools has such option and put the php code there.
Hello! i´m sorry.
Your formula is great. But I have the codes that not worked as you specified.
I believe you have the correct code.
-
- Senior Boarder
- teitbite
- Thu Feb 27, 2014 8:55 pm
- Reply with quote
- Report this post
Hi
Ok. Use Your code than but directly in /layout/default.php file. Right under the line 101 which looks like this:
Ok. Use Your code than but directly in /layout/default.php file. Right under the line 101 which looks like this:
- Code: Select all
<section id="gkContent">
-
- Moderator
- GK User
- Tue Mar 04, 2014 3:38 pm
- Reply with quote
- Report this post
I tried this way and it did not work. Thanks.
teitbite wrote:Hi
Ok. Use Your code than but directly in /layout/default.php file. Right under the line 101 which looks like this:
- Code: Select all
<section id="gkContent">
-
- Senior Boarder
- teitbite
- Tue Mar 04, 2014 6:41 pm
- Reply with quote
- Report this post
Hi
Please send me an ftp access, so I'll add it for You.
Please send me an ftp access, so I'll add it for You.
-
- Moderator
- GK User
- Sun Mar 09, 2014 7:16 pm
- Reply with quote
- Report this post
teitbite wrote:Hi
Please send me an ftp access, so I'll add it for You.
I sent private message. Thanks!
-
- Senior Boarder
- teitbite
- Sun Mar 09, 2014 7:23 pm
- Reply with quote
- Report this post
Hi
I haven't recived any information via PM or mail. Have You send it already ?
I haven't recived any information via PM or mail. Have You send it already ?
-
- Moderator
- GK User
- Sun Mar 09, 2014 7:56 pm
- Reply with quote
- Report this post
Really.
The messages not leave the Outbox.
I do not know why.
The messages not leave the Outbox.
I do not know why.
-
- Senior Boarder
- teitbite
- Mon Mar 10, 2014 9:23 pm
- Reply with quote
- Report this post
Hi
Looks like it takes some time to send it. I've added Your code under line 100 in /layout/default.php file:
Hope it looks ok now.
Looks like it takes some time to send it. I've added Your code under line 100 in /layout/default.php file:
- Code: Select all
<section id="gkContent">
<?php $data =& JFactory::getDate(); ?>
<?php echo '<div style="margin-bottom:-28px;">'.$data->toFormat('%d de %B de %Y').'</div>'; ?>
Hope it looks ok now.
-
- Moderator
- GK User
- Tue Mar 11, 2014 4:20 pm
- Reply with quote
- Report this post
Hello Teitbite,
thanks for the prompt return and especially for the correction
Apparently I was entering the wrong code in the right place. Thanks for the help.
Please tell me if I owe you something.
One hug.
thanks for the prompt return and especially for the correction
Apparently I was entering the wrong code in the right place. Thanks for the help.
Please tell me if I owe you something.
One hug.
-
- Senior Boarder
- teitbite
- Tue Mar 11, 2014 8:47 pm
- Reply with quote
- Report this post
Hi
No, that was a small customisation. Our support allows that Glad I could help.
No, that was a small customisation. Our support allows that Glad I could help.
-
- Moderator
- GK User
- Thu Mar 13, 2014 12:20 am
- Reply with quote
- Report this post
Many Thanks!
When I can help, i will stay the orders.
One Hug!
When I can help, i will stay the orders.
One Hug!
-
- Senior Boarder
15 posts
• Page 1 of 1