J and Beyond 2013 | An International Joomla! Conference - May 31st - 2nd, 2013, Noordwijkerhout, The Netherlands
It is currently Tue May 21, 2013 12:57 am

Module Request: mod_countdown module [SOLVED]

Proposed new features of merit and bugs to be fixed. Messages are moved here from the main forum by moderators.

Gold and Silver members can add posts here directly.

Module Request: mod_countdown module [SOLVED]

Postby ahasse » Thu Apr 15, 2010 5:19 pm

There was a module created by M.Luedin, C.Hirsch, and H.Leinders called mod_countdown that was for Joomla 1.0.x and the previous version of JEvents. I was wondering if the JEvents team would be interested in adding this type of functionality into the new JEvents. The module can be found at: http://www.longstag.com/site/index.php? ... &Itemid=48. It's called Advanced Events Calendar Countdown 1.4.1.

Here is a pic of the module:
mod_countdown.jpg
mod_countdown.jpg (20.63 KiB) Viewed 3175 times


In essence it said: xx days until {Event} and the Event was linked to the appropriate calendar event details.

Personally, I love that feature rather than the event module listing. One thing that would be great to add into an updated version of mod_countdown would be a link to the JEvents calendar.

*** Original request: viewtopic.php?f=17&t=1862&start=0#p6037. Now that I'm a gold member, I thought I'd repost. ;) ***
Last edited by ahasse on Sun Jun 06, 2010 12:03 am, edited 1 time in total.
ahasse
Posts: 20
Joined: Thu Jan 21, 2010 3:25 pm

Re: Module Request: mod_countdown module

Postby Geraint » Thu Apr 15, 2010 5:31 pm

this is easy enough to create - can you add it to the Wishlists (top menu) and vote for it ;)

How do you decide which events are included in the module? Are they selected manually or specified in the same way as the latest events module or main calendar?

Geraint
------------
JEvents club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits.

Join the JEvents club today!
User avatar
Geraint
Posts: 30529
Joined: Fri Feb 15, 2008 6:14 pm

Re: Module Request: mod_countdown module

Postby dpsghh » Thu Apr 15, 2010 8:11 pm

Geraint wrote:…specified in the same way as the latest events module or main calendar?


If so, you would only need another placeholder for displaying days left… ;)
User avatar
dpsghh
Gold Members
Posts: 644
Joined: Sun Jun 28, 2009 10:05 am
Location: Germany

Re: Module Request: mod_countdown module

Postby Geraint » Fri Apr 16, 2010 9:29 am

You're right

If you were happy with the latest events module then it would be very easy to add a ${countdown} field.
------------
JEvents club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits.

Join the JEvents club today!
User avatar
Geraint
Posts: 30529
Joined: Fri Feb 15, 2008 6:14 pm

Re: Module Request: mod_countdown module

Postby dpsghh » Fri Apr 16, 2010 10:06 am

Geraint wrote:You're right. If you were happy with the latest events module then it would be very easy to add a ${countdown} field.

So, if you are adding this, what about adding a way to recognize if an event has an enddate/endtime too, like you did with all day events… :?:
User avatar
dpsghh
Gold Members
Posts: 644
Joined: Sun Jun 28, 2009 10:05 am
Location: Germany

Re: Module Request: mod_countdown module

Postby ahasse » Fri Apr 16, 2010 8:38 pm

I will dig up the old configuration and post the request to the wishlist section in the next few days.

Many thanks!
ahasse
Posts: 20
Joined: Thu Jan 21, 2010 3:25 pm

Re: Module Request: mod_countdown module

Postby Geraint » Sat Apr 17, 2010 10:56 am

I have a first cut of this working now - all I've done is add countdown as an option to the latest events.

e.g. ${countdown(Days to go %d)} or ${countdown(Time to go %d days %h hours and %m minutes)}

I'll upload it to the JEvents 1.5.5 preview bronze forum post on Monday. It should work with Jevents 1.5.4 too.
------------
JEvents club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits.

Join the JEvents club today!
User avatar
Geraint
Posts: 30529
Joined: Fri Feb 15, 2008 6:14 pm

Re: Module Request: mod_countdown module

Postby elkokko » Fri May 14, 2010 9:29 am

The provided strings do not work for me in combination with jevents 5.5 and the latest events module. Is there more info on this topic?
elkokko
Posts: 111
Joined: Thu Apr 22, 2010 8:27 am

Re: Module Request: mod_countdown module

Postby ahasse » Sun Jun 06, 2010 12:00 am

Beautiful. I am not yet running 1.5.5+ on my live site so I had to set up a test site with the newer Jevents.

Works great. I used this in the custom format string in the latest events module:

Code: Select all
${countdown(%d days until)} ${title}
ahasse
Posts: 20
Joined: Thu Jan 21, 2010 3:25 pm

Re: Module Request: mod_countdown module [SOLVED]

Postby ahasse » Thu Jun 24, 2010 8:35 pm

I do have a follow on request.

In mod_jevents_latest:

1. When the countdown to an event reaches 1 day would it be possible to have the title read "1 Day" as opposed to "1 Days"?

2. Would it be possible that when the countdown reaches the day of the event to make the title read "Today" as opposed to "0 Days"?

jevents-calen-title.jpg
jevents-calen-title.jpg (30.57 KiB) Viewed 3025 times
ahasse
Posts: 20
Joined: Thu Jan 21, 2010 3:25 pm

Next

Return to Feature Requests/Suggestions

Who is online

Users browsing this forum: No registered users

Main Menu

User Menu

Hosted By


Who is online

In total there are 0 users online :: 0 registered and 0 hidden (based on users active over the past 5 minutes)
Most users ever online was 94 on Tue Sep 01, 2009 12:33 am

Users browsing this forum: No registered users

Login Form