-
Notifications
You must be signed in to change notification settings - Fork 0
Initial Drupal configuration
Chen Hui Jing edited this page Jan 12, 2024
·
1 revision
If you are not building the site from scratch, you will not have to do this. But these notes are a good reference if someone does need to set up a new Drupal site from scratch.
- Activate media and media library, which are out-of-the-box core modules
- Go to
/admin/structure/media
and create a new media type called SVG (must have installed and activated svg_image_field module first) - When creating content types, choose Media as the new field type (it’s under the Reference category) and label it accordingly
- Under reference type, check which media types you want to allow for the field, make your choices depending on what the content type is, but it might be cleaner to allow a single type of media per field (but again, it depends)
- The uploaded file location is set at the respective fields of each media type in
/admin/structure/media
- To use the media library for inserting media in the WYSIWYG editor, remember to configure the options at
/admin/config/content/formats/manage/basic_html
(assuming you are giving basic HTML as the default text format for input)- To configure the image style for inserted images, go to
admin/structure/media/manage/image/display
- To configure the image style for inserted images, go to
- Go to
/admin/config/search/path/patterns
and add one for pages such that the node title is the URL slug - When creating a new page, just check that the “Generate automatic alias” checkbox is checked
- Set
$config['file.settings']['make_unused_managed_files_temporary'] = TRUE;
in the settings.php file - https://www.drupal.org/project/drupal/issues/3027324
- Home
- Recurring tasks
- Local site development
- State of interledger.org
- One-time setup notes