Fri, 12/25/2020 - 02:47 By KF Cheng

Sponsors

The term sponsors might not be appropriate in some situations.  To change it:

  1. Change the content type Sponsors
  2. Change the template file @ /themes/custom/eventplus/templates/node--mt-session.html.twig:
    • line 187: change 'Speaker' to the desired title if necessary
    • line 192: change 'Sponsors' to the desired title such as 'Organizations in Collaboration'.

 

Event Date Format

If the default event date format is not suitable, change the System Default Medium Date.  Go to

Admin  Regional and Language  Date and Time Format  Default Medium Date

Suggest to change to 'D, d M Y - H:i'

 

My Agenda Flag

'My Agenda' Flag is enabled for anonymous users by default, but it might be better disabled.  Go to

Admin  Structure  Flag  My Agenda

Under Anonymous Settings, uncheck the option for 'Show this flag to anonymous users even if they don't have permission to use it.'

 

Font Size

Default font-size is 16px, which is a bit small.  It is recommended to modify it to 20px.  This can be achieved by:

  1. Edit /themes/custom/eventplus/css/base/elements.css file
  2. Right at the top few lines of the file, modify font-size from 16px to 20px

 

Modify the Default manifest App Logo

By default, when a link from the site is copy / paste to mobile, a default logo will follow, which is the logo of the theme.  Modifying the system logo does  not change it here.  We can replace with your designated app logo.

These logo images are stored at /sites/default/files/pwa/images, and called by /sites/default/files/pwa/manifest.json.  Follow the following to make the modifications:

Rename the following files under the 'images' directory

launcher-icon-0-75x.png 36x36 pixels
launcher-icon-1x.png 48x48 pixels
launcher-icon-1-5x.png 72x72 pixels
launcher-icon-2x.png 96x96 pixels
launcher-icon-3x.png 144x144 pixels
launcher-icon-4x.png 192x192 pixels
launcher-icon-180.png 180x180 pixels
launcher-icon-512.png 512x512 pixels

It is recommended to use the original default file names, so that the calling file won't require changes again.

This logo should be the same logo for PWA.  That means if user select to install it, this will be the app logo appear on the mobile desktop.

The original image files can be preserved and kept in a BACKUP folder.