Updating Textpattern and Solving a Rewrite Problem

Just updated my CMS (Textpattern) to the latest version (6.4.2). I had to because the University just updated the PHP on the server and this broke the old install.

Everything worked great except for one thing: I could get it to work if I put the full URL to the index page in (i.e. http://people.uleth.ca/~daniel. Read the rest of this entry »


How to write to text pattern

This document is a quick primer on using TextPattern, the Content Management System that controls my web pages. It covers the basics only.

Log in

After I have made you an account, you should receive login information in an email. Read the rest of this entry »


Phonetic spelling exercise

This exercise is an experiment in “phonetic” spelling, that is to say the use of orthography to capture sound.

In doing this, we are trying to get a sense for how people in previous eras might have used one spelling system to transcribe another language—e.g. use French spelling to write Middle English, or adapt Latin letters to spell Germanic languages.

This is not an exercise in the use of modern Phonetic Alphabets (e.g. IPA). If you know phonetic transcription, try to ignore that knowledge here. Read the rest of this entry »


Sweetcaptcha WordPress Plugin deliberately creates popups

For a little while, I’ve been surprised by popups on my blog site dpod.kakelbont.ca (tl;dr: they don’t happen any more because I removed the SweetCaptcha plugin).

I’m not quite sure the contexts in which I’d been seeing them, but for whatever reason I thought they were coming as an artefact of something else: a bottom banner on my cellphone that I was accidentally touching or something similar.

But today it became clear that there really was Something Amiss. When I checked on both Chrome and Firefox, it was happening the first time I clicked on any page link in my site. It took a little while googling for a solution (turns out a lot of people want popups to appear in their Wordpress sites and most things I found were about how to make them happen).

Read the rest of this entry »

How to backup an Ubuntu system using Dropbox

How you do this depends on whether you are setting it up for the first time or want to restore already-saved files from Dropbox to their correct place.

First time (i.e. you have never used dropbox to backup your files)

  1. Install dropbox
  2. In the terminal, navigate to the Dropbox folder (probably ~/Dropbox)
  3. Soft link to each directory you want to backup in dropbox (i.e. ln -s ~/Documents ., ln -s ~/Desktop . Read the rest of this entry »

Dual booting Windows 10 and Ubuntu 15.04

Some quick notes, from memory, about how I successfully setup Windows 10 and Ubuntu 15.04 to dual boot. The starting point was a new Windows 8.1 computer which I then updated to Windows 10.

Warning about this post

Before you do anything at all, realise that following the instructions here could completely destroy your computer’s software: you might end up bricking it (i.e. changing it so that nothing starts); you might end up wiping out your data, the original operation system, or something else. I don’t mind that kind of thing happening to me and I’ve never not been able to fix things back. But I also have support you may not: e. Read the rest of this entry »


How to grade quizzes anonymously in Moodle

For years I’ve wanted to grade quizzes anonymously, but I could never figure out how to do so. Finally I have, within the Uleth setup.


Problems with Cisco Anyconnect on Ubuntu 14.04 (Breaks Internet Connections)

This blog is about resolving an issue I had after installing Cisco Anyconnect, the U of L’s VPN client.

This is an aide memoire for me, but might be useful to others. The information comes from, with the first being most useful for this particular case:


Problems with Cisco Anyconnect on Ubuntu 14.04 (Breaks Internet Connections)

This blog is about resolving an issue I had after installing Cisco Anyconnect, the U of L’s VPN client.

This is an aide memoire for me, but might be useful to others. The information comes from, with the first being most useful for this particular case:


Code for table of contents in text pattern

Use the following to put in a table of contents in a text pattern page.

<div id="TOC">
   <txp:soo_toc label="Contents" labeltag="h3"/>
</div>

The code will build a TOC for every header that has an IDREF. An example would look like this: h3(#thisIsTheID).

tags: , , ,


Blogging in Moodle

In many of my classes, I ask students to blog within Moodle. Blogs within Moodle are visible to the whole community. It is also possible, using an RSS feed, to broadcast your blog outside Moodle.

There are two parts to using blogs in Moodle: composing blogs and reading the entries of others.


Dangerous bug in Moodle

Just discovered a dangerous bug in the Moodle essay question template.

About the essay question edit screen

When you write an essay question in Moodle, there are a couple of different boxes on the form:

The question goes in the top. Then you have the “General response” (something the student usually can see when the results are released). Then the “Response Template,” which can be used for including text you want to appear in the answer box as soon as the question loads for the student (e.g. text like “Type your essay here”). And finally a grader box, where you can include tips for the grader (this shows up on the grading screen right above the student’s answer. Read the rest of this entry »


How to do a table of contents in text pattern

My teaching pages are served out using Textpattern, a relatively light CMS that uses textile wiki-like markup.

Because adding an excerpt by hand wrecks the syndication of this site through Wordpress to my other blog, I don’t usually add a text summary. Instead, I do something similar to the Wikipedia or Wordpress: I begin articles with an abstract like first paragraph, then include a table of contents, then have the rest of the body.

I used to make up these tables of content by hand, cursing all the time that Textile wasn’t XML. Then I discovered soo_toc, a Textpattern plugin that builds tables of contents dynamically. Joy!

Of course, now I need to remember to add the template that calls the TOC to each page (as I type this, I wonder if there might not be a simple variable I could develop that does this, but that’s for later). Read the rest of this entry »


Mounting University of Lethbridge “P” and “W” drives under Linux

Here’s how to find the “P” and “W” drives at the University of Lethbridge.

“P” drives

Your “P” drive is the windows share that represents your standard network desktop (i.e. the thing you see if you log into a classroom or other computer on campus).

Read the rest of this entry »

Mounting University of Lethbridge “P” and “W” drives under Linux

Here’s how to find the “P” and “W” drives at the University of Lethbridge.

“P” drives

Your “P” drive is the windows share that represents your standard network desktop (i.e. the thing you see if you log into a classroom or other computer on campus).

The address is ulhome.uleth.ca/$USER where $USER is your account username (the same as the lefthand side of your uleth email account, or, in my case, daniel.odonnell. Read the rest of this entry »


Follow

Get every new post delivered to your Inbox

Join other followers: