forked from DNNCommunity/DNN.Events
-
Notifications
You must be signed in to change notification settings - Fork 0
/
EventTemplateHelp.ascx
1096 lines (1095 loc) · 28.8 KB
/
EventTemplateHelp.ascx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="EventTemplateHelp.ascx.cs" Inherits="DotNetNuke.Modules.Events.EventTemplateHelp" %>
<asp:Panel ID="pnlEventsModuleTHelp" runat="server">
<h1>Template help</h1>
<table>
<thead>
<tr>
<td style="width: 179px">Tokenname</td>
<td>Description</td>
</tr>
</thead>
<tbody>
<tr>
<td style="width: 179px">[event:title]</td>
<td>Event title and the sub calendar modulename when defined in settings</td>
</tr>
<tr>
<td style="width: 179px">[event:subcalendarname]</td>
<td>The sub calendar modulename when defined in settings</td>
</tr>
<tr>
<td style="width: 179px">[event:subcalendarnameclean]</td>
<td>The sub calendar modulename when defined in settings without brackets</td>
</tr>
<tr>
<td style="width: 179px">[event:eventimage]<sup>§</sup></td>
<td>Image when one is associated with the event</td>
</tr>
<tr>
<td style="width: 179px">[event:eventthumb]<sup>§</sup></td>
<td>Image thumbnail when an image is associated with the event</td>
</tr>
<tr>
<td style="width: 179px">[event:imageurl]<sup>§</sup></td>
<td>URL of the event image when one is associated with the event</td>
</tr>
<tr>
<td style="width: 179px">[event:startdatelabel]</td>
<td>Label defined for start date in the resource file</td>
</tr>
<tr>
<td style="width: 179px">[event:startdate|<i>format</i>]</td>
<td>Start date formatted (optional) by the format string *</td>
</tr>
<tr>
<td style="width: 179px">[event:enddatelabel]</td>
<td>Label defined for end date in the resource file</td>
</tr>
<tr>
<td style="width: 179px">[event:enddate|<i>format</i>]</td>
<td>End date formatted (optional) by the format string *</td>
</tr>
<tr>
<td style="width: 179px">[event:durationdayslabel]</td>
<td>Label defined for duration days in the resource file</td>
</tr>
<tr>
<td style="width: 179px">[event:durationdays]</td>
<td>Duration of the event in whole integer days</td>
</tr>
<tr>
<td style="width: 179px">[event:timezone]</td>
<td>Timezone description</td>
</tr>
<tr>
<td style="width: 179px">[event:importancelabel]<sup>§</sup></td>
<td>Label defined for importance in the resource file</td>
</tr>
<tr>
<td style="width: 179px">[event:importance]<sup>§</sup></td>
<td>Importance with icon (for low and high importance)</td>
</tr>
<tr>
<td style="width: 179px">
[event:importanceicon]<sup>§</sup>
</td>
<td>
Importance Icon
</td>
</tr>
<tr>
<td style="width: 179px">[event:descriptionlabel]</td>
<td>Label defined for description in the resource file</td>
</tr>
<tr>
<td style="width: 179px">[event:description|<i>length</i>]</td>
<td>Description defined in the event, optionally shortened to specified length</td>
</tr>
<tr>
<td style="width: 179px">
[event:summarylabel]
</td>
<td>
Label defined for summary in the resource file
</td>
</tr>
<tr>
<td style="width: 179px">
[event:summary|<i>length</i>]
</td>
<td>
Summary defined in the event, optionally shortened to specified length
</td>
</tr>
<tr>
<td style="width: 179px">[event:categorylabel]</td>
<td>Label defined for category in the resource file</td>
</tr>
<tr>
<td style="width: 179px">[event:category]</td>
<td>Category associated with the event</td>
</tr>
<tr>
<td style="width: 179px">[event:categoryname]</td>
<td>Name of the Category associated with the event with no colors applied</td>
</tr>
<tr>
<td style="width: 179px">[event:categoryfontcolor]</td>
<td>Font color for the event category</td>
</tr>
<tr>
<td style="width: 179px">[event:categorybackcolor]</td>
<td>Background color for the event category</td>
</tr>
<tr>
<td style="width: 179px">[event:locationlabel]</td>
<td>Label defined for location in the resource file</td>
</tr>
<tr>
<td style="width: 179px">[event:location]</td>
<td>Location associated with the event</td>
</tr>
<tr>
<td style="width: 179px">[event:locationname]</td>
<td>Name of location associated with the event</td>
</tr>
<tr>
<td style="width: 179px">[event:locationurl]</td>
<td>URL of location associated with the event</td>
</tr>
<tr>
<td style="width: 179px">[event:locationaddresslabel]</td>
<td>Label defined for address of location in the resource file</td>
</tr>
<tr>
<td style="width: 179px">[event:locationstreet]</td>
<td>Street and housenumber of location associated with the event</td>
</tr>
<tr>
<td style="width: 179px">[event:locationpostalcode]</td>
<td>Postal code of location associated with the event</td>
</tr>
<tr>
<td style="width: 179px">[event:locationcity]</td>
<td>City of location associated with the event</td>
</tr>
<tr>
<td style="width: 179px">[event:locationregion]</td>
<td>Region of location associated with the event</td>
</tr>
<tr>
<td style="width: 179px">[event:locationcountry]</td>
<td>Country of location associated with the event</td>
</tr>
<tr>
<td style="width: 179px">[event:recurringlabel]<sup>§</sup></td>
<td>Label defined for recurrence in the resource file</td>
</tr>
<tr>
<td style="width: 179px">[event:recurring]<sup>§</sup></td>
<td>Recurrence defined in the event</td>
</tr>
<tr>
<td style="width: 179px">
[event:recurringicon]<sup>§</sup>
</td>
<td>
Recurrence Icon
</td>
</tr>
<tr>
<td style="width: 179px">[event:customfield1label]</td>
<td>Label defined for custom field 1 in the resource file</td>
</tr>
<tr>
<td style="width: 179px">[event:customfield1]</td>
<td>Custom field 1 defined in the event</td>
</tr>
<tr>
<td style="width: 179px">[event:customfield2label]</td>
<td>Label defined for custom field 2 in the resource file</td>
</tr>
<tr>
<td style="width: 179px">[event:customfield2]</td>
<td>Custom field 2 defined in the event</td>
</tr>
<tr>
<td style="width: 179px">[event:titleurl]<sup>§</sup></td>
<td>HREF to the event detail page including title</td>
</tr>
<tr>
<td style="width: 179px">[event:eventurl]<sup>§</sup></td>
<td>URL to the event detail page</td>
</tr>
<tr>
<td style="width: 179px">[event:createdbylabel]<sup>§</sup></td>
<td>Label defined for created by in the resource file</td>
</tr>
<tr>
<td style="width: 179px">[event:createdby]<sup>§</sup></td>
<td>Name of user the event was Created By</td>
</tr>
<tr>
<td style="width: 179px">[event:createdbyid]<sup>§</sup></td>
<td>Userid of user the event was Created By</td>
</tr>
<tr>
<td style="width: 179px">[event:createdbyurl]<sup>§</sup></td>
<td>URL of the profile of user the event was Created By</td>
</tr>
<tr>
<td style="width: 179px">[event:createdbyprofile]<sup>§</sup></td>
<td>Link to the profile of user the event was Created By</td>
</tr>
<tr>
<td style="width: 179px">[event:createddatelabel]</td>
<td>Label defined for created date in the resource file</td>
</tr>
<tr>
<td style="width: 179px">[event:createddate|<i>format</i>]</td>
<td>Date the event was created</td>
</tr>
<tr>
<td style="width: 179px">[event:ownedbylabel]</td>
<td>Label defined for owned by in the resource file</td>
</tr>
<tr>
<td style="width: 179px">[event:ownedby]<sup>§</sup></td>
<td>Name of user the event is Owned By</td>
</tr>
<tr>
<td style="width: 179px">[event:ownedbyid]<sup>§</sup></td>
<td>Userid of user the event is Owned By</td>
</tr>
<tr>
<td style="width: 179px">[event:ownedbyurl]<sup>§</sup></td>
<td>URL of the profile of user the event is Owned By</td>
</tr>
<tr>
<td style="width: 179px">[event:ownedbyprofile]<sup>§</sup></td>
<td>Link to the profile of user the event is Owned By</td>
</tr>
<tr>
<td style="width: 179px">[event:lastupdatedbylabel]<sup>§</sup></td>
<td>Label defined for last updated by in the resource file</td>
</tr>
<tr>
<td style="width: 179px">[event:lastupdatedby]<sup>§</sup></td>
<td>Name of user the event was Last Updated By</td>
</tr>
<tr>
<td style="width: 179px">[event:lastupdatedbyid]<sup>§</sup></td>
<td>Userid of user the event was Last Updated By</td>
</tr>
<tr>
<td style="width: 179px">[event:lastupdatedbyurl]<sup>§</sup></td>
<td>URL of the profile of user the event was Last Updated By</td>
</tr>
<tr>
<td style="width: 179px">[event:lastupdatedbyprofile]<sup>§</sup></td>
<td>Link to the profile of user the event was Last Updated By</td>
</tr>
<tr>
<td style="width: 179px">[event:lastupdateddatelabel]</td>
<td>Label defined for last updated date in the resource file</td>
</tr>
<tr>
<td style="width: 179px">[event:lastupdateddate|<i>format</i>]</td>
<td>Date the event was last updated</td>
</tr>
<tr>
<td style="width: 179px">[event:alldayeventtext]</td>
<td>Label used for an All Day Event - e.g. '(All Day)'</td>
</tr>
<tr>
<td style="width: 179px">[event:maxenrollmentslabel]</td>
<td>Label of Max Enrolments</td>
</tr>
<tr>
<td style="width: 179px">[event:maxenrollments]</td>
<td>Maximum number of enrolments for the event</td>
</tr>
<tr>
<td style="width: 179px">[event:noenrollmentslabel]</td>
<td>Label of No. Enrolments</td>
</tr>
<tr>
<td style="width: 179px">[event:noenrollments]</td>
<td>Number of people currently enroled for the event</td>
</tr>
<tr>
<td style="width: 179px">[event:novacancieslabel]</td>
<td>Label of No. Vacancies</td>
</tr>
<tr>
<td style="width: 179px">[event:novacancies]</td>
<td>Number of vacancies currently available for the event</td>
</tr>
<tr>
<td style="width: 179px">[event:enrollfeelabel]<sup>§</sup></td>
<td>Label of Enrolment Fee</td>
</tr>
<tr>
<td style="width: 179px">[event:enrollfee]<sup>§</sup></td>
<td>Enrolment fee including currency</td>
</tr>
<tr>
<td style="width: 179px">
[event:enrollicon]<sup>§</sup>
</td>
<td>
Enrolment Icon
</td>
</tr>
<tr>
<td style="width: 179px">
[event:reminderlabel]<sup>§</sup>
</td>
<td>
Label of Notification
</td>
</tr>
<tr>
<td style="width: 179px">
[event:reminder]<sup>§</sup>
</td>
<td>
Notification information
</td>
</tr>
<tr>
<td style="width: 179px">
[event:remindericon]<sup>§</sup>
</td>
<td>
Notification Icon
</td>
</tr>
<tr>
<td style="width: 179px">
[event:viewicon]<sup>§</sup>
</td>
<td>
Shows the View Icon for events with a custom detail page, when the user is the
event editor
</td>
</tr>
<tr>
<td style="width: 179px">
[event:editbutton]
</td>
<td>
Adds a button using the standard edit button image that links to the event
edit page. The button is only visible to event editors, and only in standard
display views (Month/Week/Day/List/Repeater) and tooltips.
</td>
</tr>
<tr>
<td style="width: 179px">[event:eventid]</td>
<td>ID of the event as recorded in the Events table</td>
</tr>
<tr>
<td style="width: 179px">[event:eventmoduleid]</td>
<td>ID of the module instance the event was created in</td>
</tr>
<tr>
<td style="width: 179px">[event:enrollmentdefaulturl]</td>
<td>Default URL of the custom/external enrollment page</td>
</tr>
<tr>
<td style="width: 179px">
</td>
<td>
</td>
</tr>
<tr>
<td colspan="2" style="font-weight: 700">Only available in enrolment emails</td>
</tr>
<tr>
<td style="width: 179px">[event:signupuserid</td>
<td>Userid of user enrolled to an event</td>
</tr>
<tr>
<td style="width: 179px">[event:signupusername]</td>
<td>Full name of user enrolled to an event</td>
</tr>
<tr>
<td style="width: 179px">[event:signupuserfirstname]</td>
<td>First name of user enrolled to an event</td>
</tr>
<tr>
<td style="width: 179px">[event:signupuserlastname]</td>
<td>Last name of user enrolled to an event</td>
</tr>
<tr>
<td style="width: 179px">[event:signupuseremail]</td>
<td>Email of user enrolled to an event</td>
</tr>
<tr>
<td style="width: 179px">[event:signupuserstreet]</td>
<td>Street of user enrolled to an event</td>
</tr>
<tr>
<td style="width: 179px">[event:signupuserpostalcode]</td>
<td>Postal code of user enrolled to an event</td>
</tr>
<tr>
<td style="width: 179px">[event:signupusercity]</td>
<td>City of user enrolled to an event</td>
</tr>
<tr>
<td style="width: 179px">[event:signupuserregion]</td>
<td>Region of user enrolled to an event</td>
</tr>
<tr>
<td style="width: 179px">[event:signupusercountry]</td>
<td>Country of user enrolled to an event</td>
</tr>
<tr>
<td style="width: 179px">[event:signupusercompany]</td>
<td>Company of user enrolled to an event</td>
</tr>
<tr>
<td style="width: 179px">[event:signupuserjobtitle]</td>
<td>Job title of user enrolled to an event</td>
</tr>
<tr>
<td style="width: 179px">[event:signupuserrefnumber]</td>
<td>Reference number of user enrolled to an event</td>
</tr>
<tr>
<td style="width: 179px">
[event:signupdatelabel]
</td>
<td>
Label defined for start date in the resource file
</td>
</tr>
<tr>
<td style="width: 179px">
[event:signupdate|<i>format</i>]
</td>
<td>
Start date formatted (optional) by the format string *
</td>
</tr>
<tr>
<td style="width: 179px">
[event:noenroleeslabel]
</td>
<td>
Label of number of people enroled by this user
</td>
</tr>
<tr>
<td style="width: 179px">
[event:moderateurl]
</td>
<td>
URL of the moderation page
</td>
</tr>
<tr>
<td style="width: 179px">
</td>
<td>
</td>
</tr>
<tr>
<td colspan="2" style="font-weight: 700">
Only available in List View
Repeater Templates
</td>
</tr>
<tr>
<td style="width: 179px">
[event:repeaterheadertext]
</td>
<td>
Localizable header text (TokenListRptHeader) - Header template only
</td>
</tr>
<tr>
<td style="width: 179px">
[event:repeaterzeroeventstext]
</td>
<td>
Localizable text for text (TokenListRptHeaderZeroEvents) to displayed when there are no events to be listed - Header template only
</td>
</tr>
<tr>
<td style="vertical-align: top; width: 179px;">
[event:repeatertooltip]
</td>
<td>
Event tooltip when not using table layout - advanced users only.
<br/>
E.g. <i><li [event:repeatertooltip]>[event:title]</li> </i>
<br/>
Body template only.
</td>
</tr>
<tr>
<td style="width: 179px">
[event:repeaterfootertext]
</td>
<td>
Localizable footer text (TokenListRptFooter) - Footer template only
</td>
</tr>
<tr>
<td style="width: 179px">
IFZEROEVENTS
</td>
<td>
Used in format [IFZEROEVENTS][event:repeaterzeroeventstext[/IFZEROEVENTS] to
include the text when there are no events - Header template only.
</td>
</tr>
<tr>
<td style="width: 179px">
</td>
<td>
</td>
</tr>
<tr>
<td colspan="2" style="font-weight: 700">Only available in Social Groups</td>
</tr>
<tr>
<td style="width: 179px">
[event:socialgrouprolenamelabel]
</td>
<td>
Localizable token for the group name label
</td>
</tr>
<tr>
<td style="width: 179px">
[event:socialgrouprolename]
</td>
<td>
The name of the group
</td>
</tr>
<tr>
<td style="width: 179px">
[event:socialgrouproleid]
</td>
<td>
The ID of the group
</td>
</tr>
<tr>
<td style="width: 179px">
</td>
<td>
</td>
</tr>
<tr>
<td colspan="2" style="font-weight: 700">Only available in User Profiles</td>
</tr>
<tr>
<td style="width: 179px">
[event:socialuserusernamelabel]
</td>
<td>
Localizable token for the user name label
</td>
</tr>
<tr>
<td style="width: 179px">
[event:socialuserusername]
</td>
<td>
The user's username
</td>
</tr>
<tr>
<td style="width: 179px">
[event:socialuserdisplaynamelabel]
</td>
<td>
Localizable token for the display name label
</td>
</tr>
<tr>
<td style="width: 179px">
[event:socialuserdisplayname]
</td>
<td>
The user's displayname
</td>
</tr>
<tr>
<td style="width: 179px">
</td>
<td>
</td>
</tr>
<tr>
<td colspan="2">
§ - These tokens are not available in Event Reminders when running in Medium
Trust
</td>
</tr>
<tr>
<td colspan="2">
* - See section below for date formatting advice
</td>
</tr>
</tbody>
</table>
<h2>Other Tokens</h2>
<p>
The following tokens can be used to alter what is displayed based on options stored in the database:-
</p>
<table>
<thead>
<tr>
<td>Token</td>
<td>Description</td>
<td>Example</td>
</tr>
</thead>
<tbody>
<tr>
<td>ALLDAYEVENT</td>
<td>Includes the text specified within the token if the event is an All Day Event.</td>
<td>[ALLDAYEVENT][event:startdate|D][/ALLDAYEVENT]</td>
</tr>
<tr>
<td>NOTALLDAYEVENT</td>
<td>
Includes the text specified within the token if the event is not an All Day
Event.
</td>
<td>[NOTALLDAYEVENT][event:startdate][/NOTALLDAYEVENT]</td>
</tr>
<tr>
<td>DISPLAYENDDATE</td>
<td>Includes the text specified within the token if Display End Date is selected.</td>
<td>[DISPLAYENDDATE][event:enddate][/DISPLAYENDDATE]</td>
</tr>
<tr>
<td>DISPLAYCUSTOMFIELD1</td>
<td>Includes the text specified within the token if Custom Field 1 is enabled.</td>
<td>[DISPLAYCUSTOMFIELD1][event:customfield1][/DISPLAYCUSTOMFIELD1]</td>
</tr>
<tr>
<td>DISPLAYCUSTOMFIELD2</td>
<td>Includes the text specified within the token if Custom Field 2 is enabled.</td>
<td>[DISPLAYCUSTOMFIELD2][event:customfield1][/DISPLAYCUSTOMFIELD2]</td>
</tr>
<tr>
<td>IFHASIMAGE</td>
<td>
Includes the text specified within the token if the event has been assigned an
image.
</td>
<td>[IFHASIMAGE]<a href="[event:imageurl]">[event:eventimage]</a>[/IFHASIMAGE]</td>
</tr>
<tr>
<td>IFNOTHASIMAGE</td>
<td>
Includes the text specified within the token if the event hasn't been assigned an
image.
</td>
<td>[IFNOTHASIMAGE]No image[/IFNOTHASIMAGE]</td>
</tr>
<tr>
<td>IFHASCATEGORY</td>
<td>
Includes the text specified within the token if the event has been assigned to a
Category.
</td>
<td>[IFHASCATEGORY][event:category][/IFHASCATEGORY]</td>
</tr>
<tr>
<td>IFHASLOCATION</td>
<td>
Includes the text specified within the token if the event has been assigned to a
Location.
</td>
<td>[IFHASLOCATION][event:location][/IFHASLOCATION]</td>
</tr>
<tr>
<td>IFHASLOCATIONURL</td>
<td>
Includes the text specified within the token if the event has been assigned to a
Location which has a url defined.
</td>
<td>[IFHASLOCATIONURL][event:locationurl][/IFHASLOCATIONURL]</td>
</tr>
<tr>
<td>IFNOTHASLOCATIONURL</td>
<td>
Includes the text specified within the token if the event has been assigned to a
Location which does not have a url defined.
</td>
<td>[IFNOTHASLOCATIONURL]No link[/IFNOTHASLOCATIONURL]</td>
</tr>
<tr>
<td>IFALLOWSENROLLMENTS</td>
<td>Includes the text specified within the token if the event allows enrollments</td>
<td>[IFALLOWSENROLLMENTS][event:maxenrollments][/IFALLOWSENROLLMENTS]</td>
</tr>
<tr>
<td>ONEDAYEVENT</td>
<td>
Includes the text specified within the token if the event is a one day event
(i.e. all in one day, as opposed to an All Day Event)
</td>
<td>[ONEDAYEVENT][event:startdate] - [event:enddate|hh:mm][/ONEDAYEVENT]</td>
</tr>
<tr>
<td>NOTONEDAYEVENT</td>
<td>
Includes the text specified within the token if the event spans more than one
day
</td>
<td>[NOTONEDAYEVENT][event:startdate] - [event:enddate][/NOTONEDAYEVENT]</td>
</tr>
<tr>
<td>RECURRINGEVENT</td>
<td>Includes the text specified within the token if the event is a recurring event</td>
<td>[RECURRINGEVENT]Recurring - [event:recurring][/RECURRINGEVENT]</td>
</tr>
<tr>
<td>NOTPRIVATE</td>
<td>
Includes the text specified within the token if the event is not private (or you
are the event owner or moderator). Used when a Private Message is set in the
module settings.
</td>
<td>[NOTPRIVATE][event:titleurl][/NOTPRIVATE]</td>
</tr>
<tr>
<td>PRIVATE</td>
<td>
Includes the text specified within the token if the event is private and your
are not the owner/moderator.
</td>
<td>[PRIVATE]Private Event[/PRIVATE]</td>
</tr>
<tr>
<td>NOTRECURRINGEVENT</td>
<td>Includes the text specified within the token if the event is a one off event.</td>
<td>[NOTRECURRINGEVENT]One day event[/NOTRECURRINGEVENT]</td>
</tr>
<tr>
<td>
IFTIMEZONEDISPLAYED
</td>
<td>
If the Display Timezone settings is enabled, the text specified within the token
is included.
</td>
<td>
[IFTIMEZONEDISPLAY]([event:timezone])[/IFTIMEZONEDISPLAY]
</td>
</tr>
<tr>
<td>
CUSTOMDETAILPAGE
</td>
<td>
If the event has a custom detail page and custom detail pages are enabled, the
text specified within the token is included.
</td>
<td>
[CUSTOMDETAILPAGE][event:titleurl][/CUSTOMDETAILPAGE]
</td>
</tr>
<tr>
<td>
IFMULTIDAY
</td>
<td>
If the event is longer than 1440 minutes, the text specified within the token is included.
</td>
<td>
[IFMULTIDAY][event:durationdays] [event:durationdayslabel][/IFMULTIDAY]
</td>
</tr>
<tr>
<td>
IFNOTMULTIDAY
</td>
<td>
If the event is not longer than 1440 minutes, the text specified within the token is included.
</td>
<td>
[IFNOTMULTIDAY]1 day[/IFNOTMULTIDAY]
</td>
</tr>
<tr>
<td>
HASROLE
</td>
<td>
If the current user is in the specified role, the text specified within the
token is included.
</td>
<td>
[HASROLE_Registered Users][event:customfield2][/HASROLE_Registered Users]
</td>
</tr>
<tr>
<td>
HASNOTROLE
</td>
<td>
If the current user is not in the specified role, the text specified within the
token is included.
</td>
<td>
[HASNOTROLE_Registered Users]Please login.[/HASNOTROLE_Registered Users]
</td>
</tr>
<tr>
<td>
IFHASSUMMARY
</td>
<td>
Includes the text specified within the token if the event has a
Summary.
</td>
<td>
[IFHASSUMMARY][event:summary|50][/IFHASSUMMARY]
</td>
</tr>
<tr>
<td>
IFNOTHASSUMMARY
</td>
<td>
Includes the text specified within the token if the event does not have a Summary.
</td>
<td>
[IFNOTHASSUMMARY]No Summary[/IFNOTHASSUMMARY]
</td>
</tr>
<tr>
<td>
IFENROLED
</td>
<td>
Includes the text specified within the token if the logged on user is enroled to
the event.
</td>
<td>
[IFENROLED]You are enroled for this event.[/IFENROLED]
</td>
</tr>
<tr>
<td>
IFNOTENROLED
</td>
<td>
Includes the text specified within the token if the logged on user is not
enroled to the event.
</td>
<td>
[IFNOTENROLED]Login to Enrol[/IFNOTENROLED]
</td>
</tr>
<tr>
<td>
IFISSOCIALGROUP
</td>
<td>
Includes the text specified within the token if event is in a Social Group.
</td>
<td>
[IFISSOCIALGROUP]([event:socialgrouprolename])[/IFISSOCIALGROUP]
</td>
</tr>
<tr>
<td>
IFISSOCIALUSER
</td>
<td>
Includes the text specified within the token if event is in a User Profile.
</td>
<td>
[IFISSOCIALUSER]([event:socialuserdisplayname])[/IFISSOCIALUSER]
</td>
</tr>
<tr>
<td>IFISFULL</td>
<td>
Includes the text specified within the token if the event is fully booked
(no vacancies left).
</td>
<td>[IFISFULL]You cannot enroll for this event as it is fully booked.[/IFISFULL]</td>
</tr>
<tr>
<td>IFNOTISFULL</td>
<td>
Includes the text specified within the token if the event is not fully booked
(still vacancies left).
</td>
<td>[IFNOTISFULL]You can still enroll for this event as it is not yet fully booked.[/IFISFULL]</td>
</tr>
</tbody>
</table>
<h2>Limited Use Tokens</h2>
<p>
The following tokens have specific limited uses:-
</p>
<table>
<thead>
<tr>
<td style="width: 80px">Token</td>
<td>Description</td>
</tr>
</thead>
<tbody>
<tr>
<td>BREAK </td>
<td>
The token [BREAK] is used within the Detail View to denote where the template
should break to display the following elements which are not tokenised:-<br/>
<ol style="padding-left: 20px">
<li>Reminder controls</li>
<li>Enrollment controls</li>
<li>List of Enrollees</li>
</ol>
This token can only be used three times. Any text placed before the first [BREAK] appears above all three elements.
Any text after the third appears below the list of Enrollees, and above the
control buttons.
</td>
</tr>
</tbody>
</table>
<h2>Datetime formatting</h2>
<p>
Format string that defines the text representation of a datetime.<br/>
Examples:<br/>
<b>MM/dd/yyyy HH:mm:ss</b> : 12/31/2008 23:59:59<br/>
<b>dddd d MMMM yyyy hh:mm:ss tt </b> : Wednesday 31 December 2008 11:59:59
PM<br/>
</p>
<table>
<thead>
<tr>
<td>Format specifier</td>
<td>Description</td>
<td>Example</td>
</tr>
</thead>
<tbody>
<tr>
<td>d</td>
<td>Day of the month as a number from 1 to 31</td>
<td>1</td>
</tr>
<tr>
<td>dd</td>
<td>Day of the month as a number from 01 to 31</td>
<td>01</td>
</tr>
<tr>
<td>ddd</td>
<td>Abbreviated name of the day</td>
<td>Mon</td>
</tr>
<tr>
<td>dddd</td>
<td>Full name of the day</td>
<td>Monday</td>
</tr>
<tr>
<td>M</td>
<td>Month as a number from 1 to 12</td>
<td>1</td>
</tr>
<tr>
<td>MM</td>
<td>Month as a number from 01 to 12</td>