Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Search

 
Advanced search

8040 Posts in 1853 Topics- by 2099 Members - Latest Member: roi
Pages: [1]   Go Down
Print
Author Topic: Approval Page  (Read 214 times)
0 Members and 1 Guest are viewing this topic.
preisi
New Member
*

Karma: 0
Offline Offline

Posts: 0

Web Developer


WWW
« on: April 14, 2003, 08:09:00 AM »

How can I get the event date to display on the approval page? What I have now works until the date passes. Once the date passes the date displays 01/01/1970.

This is the current code I have on the approval page to display the event date:

<%= &SimpleDateFormat::formatDate($nextoccurrence->{'start'},$dateFormat) %>

Logged

-Paul Reisinger
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 227

Please don't PM me. Post in the open forum.


WWW
« Reply #1 on: April 15, 2003, 02:31:00 PM »

** How can I get the event date to display on the approval page? **

I believe that is covered in the previous forum messages "Dates on Approval Template" and "Displaying date and time on Approval page" which are also found linked from the Unofficial CalendarScript - Mods and Plugins site.

** What I have now works until the date passes. $nextoccurrence->{'start'} **

Well if the event date has passed, there is no next occurrence so using that variable would be out.

If the above forum messages don't have a solution, what you could do is make a conditional and print something like "This event has already passed" on such an occasions?

Dan O.

------------------

[This message has been edited by DanO (edited April 15, 2003).]

Logged
Pages: [1]   Go Up
Print
Jump to: