• Welcome to Simple Machines Community Forum. Please login or sign up.
December 01, 2021, 05:18:34 PM

News:

Wondering if this will always be free?  See why free is better.


Calendar Event Reminder

Started by HoverClub, January 28, 2011, 06:48:03 PM

Previous topic - Next topic

Shades.

Quote from: shadav on August 08, 2021, 03:40:17 PM
is there anything after that in your display.template.php
if not then just change your code to match what it wants

the end result should be
' . $event['start_date'] . ($event['start_date'] != $event['end_date'] ? ' - ' . $event['end_date'] : '') . ($context['user']['is_guest'] ? '' : make_reminder_menu($event)) . '

that is if you haven't added something else that changed that line
Ok, it was that period (.) toward the end was screwing me up cause mine code has a comma (,) Thanks ;)

ShadesWeb.com - Custom Logos
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

shadav

Quote from: Shades. on August 08, 2021, 04:13:47 PM
Quote from: shadav on August 08, 2021, 03:40:17 PM
is there anything after that in your display.template.php
if not then just change your code to match what it wants

the end result should be
' . $event['start_date'] . ($event['start_date'] != $event['end_date'] ? ' - ' . $event['end_date'] : '') . ($context['user']['is_guest'] ? '' : make_reminder_menu($event)) . '

that is if you haven't added something else that changed that line
Ok, it was that period (.) toward the end was screwing me up cause mine code has a comma (,) Thanks ;)

make sure at the start it's a period also and not a comma
' . $event['start_date']

Shades.

Ah ok got it thanks that fixed it! 8)

ShadesWeb.com - Custom Logos
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Advertisement: