Customizing Moodle Front Page
From ThemesWiki
| Official Page |
| Project Documentation |
| Download |
|
Contents |
[edit] Customizing Your Front Page
The appearance of Moodle's front page changes after a user has logged in. The content and layout of the page before and after login can be customized to represent the identity of your organization.
Look at the following screenshot. It is the same site that the preceding screenshot was taken from, but before a user has logged in. In this particular example, a Login block is shown on the left and the Course categories are displayed in the center, as opposed to the list of available courses:
[edit] Front Page Settings
To customize the front page, you either have to be logged in as Moodle administrator, or have front-page-related permissions in the Front Page context. From the Site Administration block, select Front Page | Front Page Settings. The screen showing all available parameters will be loaded displaying your current settings that are changeable:
| Setting | Description |
|---|---|
| Full site name | This is the name that appears in the browser's title bar. It is usually the full name of your organization, or the name of the dedicated course, or qualification the site is used for. |
| Short name for site | This is the name that appears as the first item in the breadcrumb trail. |
| Front Page Description | This description of the site will be displayed on the front page via the Site Description block. It can, therefore, only be displayed in the left or right column, never in the center of the front page. The description text is also picked up by the Google search engine spider, if allowed. |
| Front Page | Moodle can display up to four elements in the center column of the front page when not logged in.
The order of the elements is the same as the one chosen in the pull-down menus. |
| Front page items when logged in | Same as "Front Page", but used when logged in. |
| Include a topic section | If ticked, an additional topic section (just like the topic blocks in the center column of a topics-format course) appears on top of the front page's center column. It can contain any mix of resources or activities available in Moodle. It is very often used to provide information about the site. |
| News items to show | Number of news items that are displayed. |
| Courses per page | This is a threshold setting that is used when displaying courses within categories. If there are more courses in a category than specified, page navigation will be displayed at the top of the page. Also, when a combo list is used, course names are only displayed if the number is less than the specified threshold. For all other categories, only the number of courses is shown after the category name. |
| Allow visible courses in hidden categories | By default, courses in hidden categories are not shown unless the said setting is applied. |
| Default frontpage role | If logged-in users should be allowed to participate in front page activities, a default front page role should be set. The default is None. |
The front page settings mainly dictate what is displayed at the center of the page. Now let's have a look at the blocks on the left and right.
[edit] Arranging Front Page Blocks
To configure the left and right column areas with blocks, you have to turn on editing (using the Blocks editing on button). The menu includes blocks that are not available in courses such as Course/Site description and Main menu:
Blocks are added to the front page in exactly the same way as in courses. To change their position, use the standard arrows.
The Main Menu block allows you to add any installed Moodle resource or activity inside the block. For example, using labels and links to (internal or external) websites, you are able to create a menu-like structure on your front page.
If the Include a topic section parameter has been selected in the Front Page settings, you have to edit the part and add any installed Moodle activity or resource. This topic section is usually used by organizations to add a welcome message to visitors, often accompanied by a picture or other multimedia content.
[edit] Login From a Different Website
The purpose of the Login block is for users to authenticate themselves by entering their username and password. It is possible to log into Moodle from a different website, maybe your organization's homepage, effectively avoiding the Login block. To implement this, you will have to add some HTML code on that page:
<form class="loginform" name="login" method="post" action="http://www.mysite.com/login/index.php"> <p>Username : <input size="10" name="username" /> </p> <p>Password : <input size="10" name="password" type="password" /> </p> <p> <input name="Submit" value="Login" type="submit" /> </p> </form>
The form will pass the username and password to your Moodle system. You will have to replace www.mysite.com with your URL. This address has to be entered in the Alternate Login URL field at Users | Authentication | Manage authentication in the Site Administration block.
[edit] Other Front Page Items
The Moodle front page is treated as a standalone component in Moodle, and therefore has a top-level menu with a number of features that can all be accessed via the Front Page item in the Site Administration menu:
Having now looked in detail at the Front Page settings, let's turn to examining the other available options.
[edit] Front Page Roles
The front page has its own context in which roles can be assigned to users. This allows a separate user to develop and maintain the front page without having access to any other elements in Moodle. Since the front page is treated as a course, a Teacher role is usually sufficient for this.
This feature has been discussed in great detail in the previous tutorial, which dealt with the management of roles.
[edit] Front Page Backup and Restore
The front page has its own backup and restore facilities to back up and restore all elements of the front page including any content. The mechanism of performing backup and restore is the same as for course backups, which is dealt with in Tutorial 12.
Front page backups are stored in the backupdata folder in the Site Files area, and can be accessed by anybody who is aware of the URL. It is therefore best to move the created ZIP files to a more secure location.
[edit] Front Page Questions
Since the Moodle front page is treated in the same way as a course, it also has its own question bank, which is used to store any questions used on front-page quizzes. For more information on quizzes and the question bank, go to the MoodleDocs at http://docs.moodle.org/en/Quiz.
[edit] Site Files
The files areas of all courses are separate from each other, that is, files in Moodle belong to a course and can only be accessed by users who have been granted appropriate rights. The difference between Site files and the files area of any other course is that files in Site files can be accessed without logging in.
Files placed in this location are meant for the front page, but can be accessed from anywhere in the system. In fact, if the location is known, files can be even be accessed from outside Moodle.
Typical files to be placed in this area are any images you want to show on the front page (such as the logo of your organization) or any document that you want to be accessed (for example, the curriculum). However, it is also used for other files that to be accessible without access to a course, such as the Site Policy Agreement, which has to be accepted before starting Moodle (see Tutorial 10, where the site policy is dealt with). To access these publicly available Site files elsewhere (for example, as a resource within other courses), you have to copy the link location that has the format: http://mysite.com/file.php/1/file.doc
[edit] Additional References
- For instructions on advanced techniques for Customizing Moodle, click here
- For instructions on installing Moodle, click here
- For instructions on Theming Moodle, click here
- Step-by-step detailed instructions on Installing Moodle in Different Environments,click here
- For instructions on Updating Moodle,click here
- For instructions on Configuring Moodle 1.9 for multimedia,click here
[edit] Source
The source of this content is Chapter 7: Moodle: Look and Feel ofMoodle Administration by Alex Büchner(Packt Publishing, 2008).logo design by Kevin Josh 2010
Executive Editor Sean Lopez own : SEO Company and provider of Link Building Services and SEO Services
And Like Costumes and Halloween Costumes and criar sites
And Like The Global Information Network and Global Information Network
