Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4216
Latest: ezycc
New This Month: 0
New This Week: 2
New Today: 0
Stats
Total Posts: 42796
Total Topics: 7456
Most Online Today: 54
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 40
Total: 40

Author Topic: Calendar SSI  (Read 2748 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
2986 Views
Last post February 20, 2008, 08:11:11 am
by akalsha
1 Replies
4608 Views
Last post May 15, 2008, 09:21:17 pm
by mashby
0 Replies
2950 Views
Last post February 28, 2010, 01:49:59 pm
by rumboogy
0 Replies
3212 Views
Last post October 04, 2016, 12:30:51 pm
by bulldogfever

+- Recent Topics

Using SMF's Built-in Search Algorithm by shuban
March 27, 2023, 09:15:10 am

Permissions query by davejo
March 26, 2023, 04:43:48 am

prettyurls - TroubleShooting.wiki by SMFHacks
March 25, 2023, 01:49:35 pm

Download Gallery Option by SMFHacks
March 23, 2023, 09:34:02 am

Lost attachments by pete
March 22, 2023, 10:24:17 am

Additional Permissions by mickjav
March 18, 2023, 05:21:23 am

[Mod]Discord Web Hooks by SMFHacks
March 17, 2023, 08:48:30 am

Site upgrade to 2.1 by SMFHacks
March 12, 2023, 08:51:19 am

Theme/CSS design wanted by mickjav
March 11, 2023, 12:10:11 pm

Category Images by Anmer
March 10, 2023, 06:20:04 am

Powered by EzPortal