Creating a past events disclaimer in the Localist calendar?
NOTE: In order to add this disclaimer, you must be a registered administrator of the calendar.gsu.edu WordPress site. To request access, please contact tickets@gsu.uservoice.com
Adding a “Past Event” Disclaimer
This can be done by using your platform’s Theme Editor. If you don’t have a custom HTML theme active:
- Navigate via Settings > Appearance
- Select the +Add Theme button
- Enter a name and keep the Copy From set to Default.
- Back on the Appearance landing page, select the new theme’s name.
- On edit theme page you will see a list of files on the right-hand side. Select the file _event_item under Shared Among Multiple Views.
- In between lines 46/47, add {% if event_item.is_past %}<font color= “red”>This is a past event.</font>{% endif %}
- Select the blue Save Changes button then hit Preview in the blue bar. Preview will take you to your calendar homepage so you can see the change.
- Next, select the file Page Shell under Events.
- On line 52, add {% if event.is_past %}<font color= “red”>This is a past event.</font>{% endif %}. If you are using the Default Legacy theme, then add this code on line 88.
- Select the blue Save Changes button.
- Once you’ve confirmed that the change is correct, select Activate in the blue bar on the edit theme page. (Back on the appearance landing page you’ll see the new theme listed as active as well).
If you do have a custom HTML theme active:
- Navigate via Settings > Appearance
- Select the name of the theme you wish to edit.
- On edit theme page you will see a list of files on the right-hand side. Select the file _event_item under Shared Among Multiple Views.
- In between lines 46/47, add {% if event_item.is_past %}<font color= “red”>This is a past event.</font>{% endif %}
- Select the blue Save Changes button.
- Next, select the file Page Shell under Events.
- On line 52, add {% if event.is_past %}<font color= “red”>This is a past event.</font>{% endif %}.If you are using the Default Legacy theme, then add this code on line 88.
- Select the blue Save Changes button.
Note: This will not change the overall theming/SILK/CSS that is already in place. Activating this theme will only apply the new change to the file you modified, so in this case, the only thing changing will be the text added to past event listings and/or landing pages.
Other articles about working in Localist:
- How do I add an event to the Localist Calendar as an administrator?
- What size image should I upload in the Localist calendar?
- Can a PDF be attached to an event?
- Why doesn’t the Localist calendar have a 30-day grid-view?
- What is the approval process for getting events on the Localist calendar?
- How do I gain Administrator rights to the Localist Calendar?
- What if I need an approved event modified or deleted from the Localist calendar?
- I’m an administrator for the Localist calendar. How do I create featured events for my college or school?
- How do I create a past events disclaimer in the Localist calendar?
- Should I include social interactions such as an "I’m Going" + Ticketing/Registering button on my Localist calendar event?
- Why are past events still appearing in the Localist calendar?
- Can I add a Localist Calendar event to my personal calendar?
- How do I create a widget in Localist for my Georgia State website?
- How do I turn off social interactions (e.g. "User comments," "I'm interested," and "Invite friends")?