TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,231
  • Total Topics: 21,353
  • Online today: 606
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 246
  • Total: 246

Calendar

Started by stang7043, August 11, 2010, 07:07:57 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

NoFeaR

How can i list all the events that is in my calender?? I don't want only 1 months events. I want all. is it possible by any chance?

ZarPrime

NoFeaR,

I have no idea what version of SMF and what version of TinyPortal you are using but there are switches in most of the mini-calendar code snippets that shoud allow you to do this.  Look for something like the below in the code you are using.  Change "$show_events_past = false" to true and then select the number of days to look back ...


// Choose to show 'look-behind' for the various entry types
$show_bdays_past = false;
$show_events_past = false;
$show_hdays_past = false;

// For any of the above chosen, days prior to today to display -
//    use '0' (zero) to use beginning of current month
$past_look_behind_period = 0;


ZarPrime

NoFeaR

Thanks. you are a life saver

This website is proudly hosted on Crocweb Cloud Website Hosting.