Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4260
Latest: Verrick
New This Month: 0
New This Week: 0
New Today: 0
Stats
Total Posts: 43323
Total Topics: 7527
Most Online Today: 276
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 272
Total: 272

Author Topic: Calendar SSI  (Read 3301 times)

0 Members and 1 Guest are viewing this topic.

Offline eg-eliteghost

  • Member
  • *
  • Posts: 6
    • View Profile
Calendar SSI
« on: January 27, 2008, 12:52:28 pm »
How can i get the current event calendar to show which day of the week it is.  The output just shows  that e.g(Groundhog day)as in it is all week until it pases,  can you get it to say  (Friday: Groundhog Day) as in it is friday of this week.

The code looks like this in SSI.php 
Code: [Select]
if (!empty($context['calendar_holidays']))
echo '
<span style="color: #' . $modSettings['cal_holidaycolor'] . ';">  '. $txt['calendar5'] . ' ' . implode(', ', $context['calendar_holidays']) . '<br /></span>';

All this out puts is  " Groundhog Day "
I want it to say "  Friday: Groundhog Day "

Can anyone help?

 

Related Topics

  Subject / Started by Replies Last post
0 Replies
3644 Views
Last post February 20, 2008, 08:11:11 am
by akalsha
1 Replies
5529 Views
Last post May 15, 2008, 09:21:17 pm
by mashby
0 Replies
3574 Views
Last post February 28, 2010, 01:49:59 pm
by rumboogy
0 Replies
4158 Views
Last post October 04, 2016, 12:30:51 pm
by bulldogfever

+- Recent Topics

Failed to open stream: File name too long by Randem
June 21, 2024, 10:40:41 am

Attachment images Upsidedown or Sideways by SMFHacks
June 18, 2024, 10:53:24 am

JSON decode error: The maximum stack depth has been exceeded by SMFHacks
June 14, 2024, 10:15:16 pm

“Insert from Gallery” by donk
June 10, 2024, 01:26:57 pm

Pretty Urls extras by SMFHacks
May 13, 2024, 10:28:54 am

Mod question by Verrick
May 11, 2024, 02:42:50 pm

i have paid but cant download ad pro. by SMFHacks
May 02, 2024, 11:29:38 pm

Please Help! by SMFHacks
April 17, 2024, 08:04:55 am

Rate own images by fvlog19
April 11, 2024, 10:56:53 am

Tidy Child Boards on 2.1.4 by SMFHacks
April 04, 2024, 03:54:12 pm

Powered by EzPortal