Webbläsaren som du använder stöds inte av denna webbplats. Alla versioner av Internet Explorer stöds inte längre, av oss eller Microsoft (läs mer här: * https://www.microsoft.com/en-us/microsoft-365/windows/end-of-ie-support).

Var god och använd en modern webbläsare för att ta del av denna webbplats, som t.ex. nyaste versioner av Edge, Chrome, Firefox eller Safari osv.

Create events

Events are a content type in Drupal. On this page, we show you how to create an event ‘locally’ in Drupal, which you can then publish to the calendar associated with your own website.

Add an event to the website calendar

1.    Go to the admin menu Manage > Content > Add content > Event.

2.    Please fill in the form with the requested information in the various fields. Mandatory fields are marked with a red asterisk. We describe all the fields in the drop-down menu below if you are unsure how to complete them.

3.    If you want to preview the event, click Preview. Publish the event by clicking Save.

Information about the various fields and how to complete them 

For accessibility reasons, the language of the event text must be specified.

Under "Choose Language", select the language you wish to use to describe the event in the calendar. This setting is mandatory as it relates to accessibility. For example, the language selection helps screen readers used by visually impaired people to determine which pronunciation to use when reading the text aloud. The language selection applies to the entire event, which means that if you want to describe your event in both Swedish and English, you must create two separate events.

(Compare this with the optional "Language" field below, which refers to the language in which the event is held).

Enter the event title in the 'Title' field. This field is mandatory and must be informative, describing the content of the event in question.
 

The event’s main image is added using the media field, although you can also add media in the body text field. Under ‘Add media’, you can select an image or video to illustrate the event.

Please note that if you reuse an image, you must ensure that you update the caption correctly. There is a local caption for each instance of the image, but also a global caption that is used if no local caption has been specified. If you change the global caption, that change will apply to all instances where no local caption has been specified. You can change the local caption in the "Local media caption" field.

Click the "Add new or existing media" button to add media content.

You can add images and videos in the media field. Using the various tabs, you can either upload new images or reuse images you have uploaded previously. No special embed code is required for YouTube clips, for example; simply providing the link to the YouTube page where the video is displayed is sufficient.

Please bear in mind that you should avoid using portrait-oriented images, as they are not compatible with the university’s standard web template. Portrait-oriented images take up a lot of vertical space – space that mobile users in particular have to scroll past before they reach the main content.

Under the 'Lead' heading, write an introduction that sparks interest and encourages readers to continue. It should be brief and ideally summarise the event and highlight the key points. An introduction is not mandatory, but we still recommend that you include one.

Here you can provide more detailed information about the event. This is where you might include a programme or practical details, for example. This field is mandatory.

1.    Start and end date: Enter the start and end times for the event here. You can also choose not to display the end time by unchecking the "Show end date" box. The end time field will not disappear from the form, but whatever you enter there will not be displayed. The seconds will not be shown externally either. These fields are mandatory.
2.    Location: Enter the venue for the event here so that visitors know where to go, whether in person or online. Examples: "Skissernas hus", "Zoom". This field is mandatory.
3.    Contact: You must enter an email address for a contact person so that participants know who to contact if they have any questions. This field is mandatory.
 

It is possible to add additional information, which is displayed in a separate box.
1.    Geo-location: If you have the geographical coordinates (latitude and longitude) for the venue where the event is being held, you can enter them here. This will create a link to Google Maps where the location is marked on a map. You can find the coordinates for a location yourself by clicking on a place in Google Maps, for example.
2.    Admission fee: Under ‘Admission fee’, enter the cost of attending the event. If the event is free, you can either leave this field blank (in which case nothing will be displayed), or, to emphasise that it is free, enter ‘0’ (zero) to make it extra clear. Do not include the currency symbol; just enter the figures.
3.    Target audience: In the "Target audience" field, specify the target audience for the event, for example "students", "researchers" or "children and young people".
4.    Language: The optional "Language" field specifies the language in which the event is held, for the information of guests. (Compare this with the mandatory "Choose Language" field above, which is an accessibility setting.)
 

Under the ‘Category’ field, select an option from the list, such as ‘exhibition’. There are predefined categories that apply to all calendars within Lund University, but the site administrator can also add their own local categories in the site’s general settings. You can add new categories in the administration menu under Manage > Taxonomy > Calendar categories. Click on “+ Add term” to create a new category.

If you want an event to be published automatically in the future, you can schedule it under "Scheduling options", which can be found in the right-hand column. Click on "Scheduling options" to expand the "Publish on" and "Unpublish on" fields. Select a date from the calendar that appears when you click in the date field, and enter the time in the adjacent field. If you do not specify a time for unpublishing, the event will remain until you remove it manually, or until the automatic purge is carried out after approximately 14 months. In Edit mode, in the right-hand column under the heading "Published", you can see exactly when the event will be deleted.

Calendar

One of the automatically generated pages on your website is the calendar page. This lists all the events you have created and published locally on your website. 
The calendar for your website is automatically located at /calendar. To access the page, simply add "/calendar" to the end of your website address. For this site, the address for the calendar is therefore "webbpublicering.lu.se/calendar". You can add a view of the calendar and events to a landing page by selecting ‘Calendar’ – which is a content block – in Layout mode, but you can also add the calendar to your menu structure by creating a link to it when managing your menus via the administration menu. 

Create new calendar categories

If you have 'Site admin' permissions, you can create new categories for your events. You can add new categories under Taxonomy > Calendar categories. Click '+ Add term' to create a new category. You must enter a name, and this is the name that will appear in the list of categories.