Download Drupal: https://www.drupal.org/download
localhost/YOUR_DIRECTORY/DRUPAL-CONTENT/
Go to localhost/YOUR_DIRECTORY/DRUPAL-CONTENT/
and follow the prompts
You also need to run composer install
from your sites root directory.
What we deal with out-of-the-box. Content entry being the most important.
Using Content > Add content
to get a list of content that we can add.
If we create a page About
and change the settings on the right hand side, we can also begin to add tables for quick access.
If we create an article without the default settings, we can then use saved as unpublished
from the save and publish dropdown. If content is not published, you'll be redirected to a login from a private browser and not allowed to use.
On the right-hand side options, we can also edit things out of the box such as comments, the url path, author info, promotion options as well as the previously explored comment settings. Promotion options also allow you to deal with sticky-at-top-of-list
.
Two types: core
and contributed
. Contributed is given back from the community. It's not maintained by the community.
Under the manage > extend
tab, you can manage the modules. Selecting them on or off and seeing more information is available from here.
Extra configuration may be available from the accordian dropdown.
You can also manage permissions from the people
section. If you have modules installed, you can see from the accordian dropdown what is required for it to work.
If modules themselves are enabled, they may become directly available on the content
menu.
We can search drupal.org and search for modules.
What happens if we want to add a field for articles if we want to add photo credit? If you are building a site for someone else, take them into account.
From Structure > Content Type
you can select the Manage fields
dropdown to edit existing types and what we can easily view. To add something such as a new field, we need to manage fields
.
As we update the field names, we can see the machine name
on the left updating - this is important for the database itself.
The next step is asking for global settings themselves.
Next, we can add help text, add required
and a default value.
From Structure > Content Type
, we can change the display.