Monthly Archives: June 2016

Moodle: How to use the topics course format

Moodle course pages are split into sections. By default the sections are split into weekly sections and the date of each week displayed. This is known as weekly format. Courses in weekly format look like the screen grab below:

 

 

However, this may not always suit as you may only hold classes intermittently or, indeed, you may wish to split your course up by topics.

 

Step 1

You can do this by looking under course administration and selecting edit settings. Depending on how your administrator as configured Moodle this may exist on the left or right side of the page but the menu will always be the same.

 

 

Step 2

 

In the page that appears select the course format drop-down and change format to topics format. Once you have done this, click save changes.

 

You will now see that your Moodle course is separated into topics.

 

Step 3

 

You can now rename these topics to more suitable names, by first clicking “Turn Editing On” in the upper right of the screen.

Step 4

 

Next click the wheel symbol under a Topic.

 

 

Step 5

 

Untick “Use default section name” and enter a section name that you have chosen. Then click save changes.

 

We can now see that topic one is now called introduction.

 

Vim: How to create, save and exit a file

Vim has a reputation as a difficult file editor. However it’s quite easy once you know how to use it. This quick tutorial steps through how to create, save and exit a file using Vim and it only takes 5 minutes to step through.

To create a new file using Vim, type the following into your terminal:

vi newfile

You will now see a screen similar to the one below.

The first thing we need to do is enter insert mode. This will allow us to enter text into our file. To enter insert mode press i

Notice at the bottom of the screen it now says insert.

We can now add some text into our file, type hello world.

Now we want to save our file but to do this we first need to exit insert mode. You can do this by pressing Esc.

Notice that the insert at the bottom of the screen is gone. Now type :wq!  (w is for write and q is to quit) and then click enter.

That’s it! You have now created, edited and saved a file using Vim.