Jump to content
Sign in to follow this  
Jill

Change number of events displayed in spuds

Recommended Posts

Hi everyone,

You might have noticed this on the spud page at the end of the publishing process. The Crawler and the Upcoming Events spuds now contain a parameter that you can use to specify how many events display in the spud.

 

In the Upcoming Events spud, you can see it in the second script tag:

 

<script type="text/javascript" src="http://www.trumba.com/k.aspx?calendar=calendarname&widget=upcoming&events=3"></script>

 

Jill / Trumba UA

Share this post


Link to post
Share on other sites
Hi everyone,

You might have noticed this on the spud page at the end of the publishing process. The Crawler and the Upcoming Events spuds now contain a parameter that you can use to specify how many events display in the spud.

 

In the Upcoming Events spud, you can see it in the second script tag:

 

<script type="text/javascript" src="http://www.trumba.com/k.aspx?calendar=calendarname&widget=upcoming&events=3"></script>

 

Jill / Trumba UA

 

SWEET. I was going to request this.

 

Now if only I could specify #events per mix-in! (3 from tournaments subcalendar, 3 from clinics subcalendar, etc)

Share this post


Link to post
Share on other sites

Hi Mike,

Now if only I could specify #events per mix-in! (3 from tournaments subcalendar, 3 from clinics subcalendar, etc)

 

That would be really cool! I'll put it on the request list.

 

One thing I forgot to mention in the post above is that for the next few days or week, the spud might not display *exactly* the number you specify. It might round up or down so that it doesn't display some but not all events for a day. But the developers are working on getting the spuds to display the exact number you specify, so it will work as you might expect it to soon. I'm sorry I left out that little detail!

 

Jill / Trumba UA

Share this post


Link to post
Share on other sites

Meh. No biggie. My old proprietary event calendar that I wrote for my site had a "spud" or module if you will, that did something like that. I would change it's parameters depending on the time of year. My site focuses on wrestling as you might know so we have two seasons - in and off. In season there are no club practices, and everything operates through the state and high school level. In the off season independent clubs and organizations hold tournaments, and we focus on those heavily on the calendar.

 

For example, in the "offseason", I would list next 5 events from one category and 3 from another:

 

 

Upcoming Practices

5/23 Great White

5/24 Red Raiders

5/25 MA Elite

5/25 South Shore Club

5/26 North Shore Club

Upcoming Tournaments

5/28 Dan Gable Series

6/4 NHSCA Qualifier

6/10 Fargo Nat'l Qualifier

 

This way my community could see less important "close" events like practices, and also look forward to more important "far off" events like national tournament qualifiers that aren't for a few weeks.

 

Then during the regular in-season I would make the module much smaller since club teams weren't having practices, so it would just look like this:

 

Upcoming Events (All)

12/27 Marshwood Holiday Team Tourney

12/29 Lowell Holiday Invitational Tourney

 

Probably not a high priority enhancement but that was how I had my "upcoming events spud" (in Trumba Lingua) set up.

Edited by MassWrestling.com

Share this post


Link to post
Share on other sites

Thanks for this extra info, Mike. This is a great example to go with the request.

 

Jill / Trumba UA

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...