HOWTO: Countdown on Calendar entries

Post

Posted
Rating:
Item has a rating of 5 Item has a rating of 5 Item has a rating of 5 Item has a rating of 5 Item has a rating of 5 (Liked by Chris GrahamLiked by superduper)
#761 (In Topic #195)

Here's a simple tutorial on how to use the main_countdown block on entry screens for calendar events.

Difficulty to implement: easy
Difficulty to use: Easy

Step 1:
Edit your CALENDAR_EVENT_SCREEN.tpl file in your theme

Step 2:
FIND

Code

[/semihtml]
{RATING_DETAILS}
[semihtml]


Step 3:
AFTER the +END Tempcode tag, ADD:

Code

[/semihtml]

Countdown

{$BLOCK,block=main_countdown,param={TIME_VCAL},precision=4,tailing=4}

[semihtml]


Save and clear cache

Enjoy!
WARNING: Use at your own risk. Do not edit original files; make copies in the _custom folder overrides.

Last edit: by PDStig

0 guests and 0 members have recently viewed this.