Note: You are currently viewing documentation for Moodle 2.2. Up-to-date documentation for the latest stable version is available here: Front page settings.

Front page settings

From MoodleDocs
Revision as of 15:20, 10 August 2021 by Moodlebot (talk | contribs) (Text replacement - "class="nicetable"" to "class="wikitable"")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The site's Front page is similar to a course page. The front page settings, roles, filters, backup, restore and questions are currently duplicated in Settings > Front page settings AND Settings > Site administration > Front page (reported as MDL-26012).

Front page settings

The following settings may be changed by a site administrator in Settings > Front page settings > Edit settings:

Full site name

This name appears at the top of every page above the navigation bar.

Front page full site name

Short name for site

The short name appears at the beginning of the navigation bar as a link back to your site front page.

Front page description

An optional setting enabling you to add short message to your users in a block on the front page.

Front page and front page items when logged in

The centre of the front page can display any combination of the following: news items, a list of courses, a list of course categories, a list of categories and courses or none. The order is determined by a combination box.

It is possible to create one setting for anyone who gets to the front page without logging in to the Moodle site, and another look for only those who have logged into the Moodle site. There are two combination boxes


Combination boxes
frontpage showing pulldown
The image on the left shows the first Front Page settings dialog - what visitors will see before they log in.

The image on the right shows a second front Page settings dialog - what Authenticated Users will see when logged in.


An alternative option for logged-in users is My Moodle.
frontpage for login user box

Maximum Category Depth

Determines how many sub categories will be displayed on the front page for each category.

Include a topic section

This adds a topic section to the centre-top of the front page. When editing is turned on, resources and/or activities can be added to the topic section using the dropdown menus, in the same way as on a course page.

Note: The label resource can be used to add text and/or an image to the centre-top of the front page.

News items to show

This setting only applies if the front page is set to display news items or if you are using the Latest News block.

Comments per page

Each course may include a Comments block which allows the display of user comments. The number of comments displayed at any time is set here.

Courses per page

Limits the number of courses which will display on a page.

Allow visible courses in hidden categories

Do you want to display courses which are not hidden but placed in a category that is hidden?

Default frontpage role

The default frontpage role enables logged-in users to participate in front page activities. It is recommended that it is set to frontpage role. It should never be set to Guest.

For sites which are new installs, a frontpage role is created automatically. For sites which have upgraded from an earlier version, it is recommended that the administrator creates a new role with frontpage archetype, resets it to default and then sets it as the default frontpage role.

Front Page roles

As in a course, you can assign users roles just in the context of this page. Note this is different than the default Authenticated User on Front Page role found in front page settings. As a security issue, usually only admins can modify the front page, other users do not.

Front Page backup

You can backup the front page, similar to a Course backup.

Front Page restore

As in a course, you can Restore a backed up version of the front page. However, there are currently issues with front page restore, as outlined in MDL-31500 and MDL-30808

Front Page questions

The Question bank is accessible from the Front Page. For example, if "topic" is checked in the front page settings, you can add a Quiz module activity.

Tips and Tricks

A Moodle site's front page can be reconfigured from the default standard to give it a different look and or change how it functions. Depending upon the changes, this can be a simple or a more complex process. Of course a custom theme may have it's own unique front page format. Here are some examples using the formal white standard theme:

Visual examples

Central area, Courses or Categories?

This is a major decision, what is it you want in the centre of your front page? You can have a list of categories, a list of categories and courses, or neither, a label with a table full of images works just as well. The issue is always the same, actually, what looks good.

Clean look, topic checked, no blocks

The standard Moodle page format of Blocks on the left and blocks on the right is not always appropriate or considered pretty. The site administrator can change this basic format by simply deleting or hiding blocks that can be seen by users. Navigation can be placed on the dock.

The two column format

The Administrator decides which blocks should appear on the front page and moves all of them to the left or right side. This format allows you to decide what you want in the centre, and where you want the blocks, left or right.

Tip: It is possible to force a block column to assume a specific width. For example, placing an image of 400 px in a block will force that column to 400 px.

The clean look example

Some sites want an uncluttered look. A site administrator or designer wants to start with the most basic look and then add features.

  1. The site administrator will turn on editing and hide or delete all blocks that can be see by teachers or students on the front page.
  2. Then go to the Site administration block► Front Page ► Front Page settings and:
    1. Set the "Front page" list to None, None, None, None
    2. Set "Front page items when logged in" list to the same
    3. Check the box for "Include Topic section"
    4. Save

All the above was done with 1 theme, and a simple front page.

Block settings

Editing block settings

Each block has a number of configuration settings that you can change. See Managing blocks for more details.

See also