realredd Posted August 16, 2010 Share Posted August 16, 2010 Hi All, I'm new to PHP and felt that if anyone can help me out it would be someone of the PHPfreaks community. I've used the "easyphpcalendar" in my site, www.imagenenation.ca and my client has requested that the "list mode" (white section of the homepage) only have one event listed at a time. This i can do. The other part of their request is to have that one event be pulled from a list of events posted during that calendar month. So I'm looking for a PHP string of code that will echo a random event to be posted to the single "list mode" area, from a group of postings for a day that may have up to six postings. The code currently used for this "list mode" is; <?php $LIST=1; $DF = "D - M d"; $noOld = 1; $template="monthly_image.php"; $mo=9; $listEvents=2; <--this i can set to 1 to only show one event require ("calendar/calendar.php"); ?> Does this request make sense to you? All help will be appreciated greatly, Realredd Quote Link to comment https://forums.phpfreaks.com/topic/210882-how-to-randomize-a-featured-calandar-event-in-the-list-mode/ Share on other sites More sharing options...
jcbones Posted August 17, 2010 Share Posted August 17, 2010 v9egra has already offered help, and since he is a member of the "easyPHPcalendar" support team, he would be able to figure it out much faster, and more efficient that any of us. Quote Link to comment https://forums.phpfreaks.com/topic/210882-how-to-randomize-a-featured-calandar-event-in-the-list-mode/#findComment-1100049 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.