Page break issues in OJS 3 (Online Journal System v3) – Submissions Page

Page break issues in OJS 3 (Online Journal System v3) – Submissions Page

For some weird reason, the closing tags on the /about/submissions page of OJS3 add a line break (br /) after them.

According to iclaudius (GitHub), “certain fields go through the Smarty nl2br filter, which converts newlines into br / elements. It makes sense to remove these, since that content is entered through the TinyMCE editor…”.

To fix this issue, here’s what to do:

  1. Open the file submissions.tpl located in lib/pkp/templates/fronteend/pages.
  2. Search for  |nl2br. You’ll find it is used in 3 instances.
  3. Keep the first instance and remove the 2nd and 3rd instances.

Credit for the solution posted here is attributed to iclaudius and asmecher (GitHub) at  https://github.com/pkp/pkp-lib/issues/1964

Issue importing references from WordPress to Endnote using Academic Blogger’s Toolkit.

Issue importing references from WordPress to Endnote using Academic Blogger’s Toolkit.

I love Academic Blogger’s Toolkit (ABT). It allows me to add references to my WordPress research and reflection blog (which isn’t this one and I don’t have a link to it as it’s for my eyes only—sorry). One particular feature I quite like is the ability to export references I’ve created in Endnote and have them imported into ABT.

That is, until recently. For some reason, the last update to Endnote has caused it to stop working. To resolve the situation, I sent a Twitter message to the creator of the plug-in, Derek Sifford, via Twitter (@flightmed1). Within a day—a day!—the issue had been reviewed and solved. Now that, ladies and gentleman, is what I call impressive.

So, if anyone else has the same issue, here’s what to do.

  1. Export as RefMan (RIS) file. Text only.
  2. Rename the file extension from .txt to .bib. On a Mac, you MUST …
    1. Select the file and choosing File -> Get Info
    2. Click the arrow to the left of “Name and Extension”
    3. Click return key
  3. Import using ABT

* Annoyingly, you can’t merely rename the extension on a Mac by clicking it. All that does it add .ris to the end of the file (so you end up with FILENAME.txt.ris). Go figure.

And, again, a huge thanks to Derek. You’ve got a fan for life now, sir. 🙂

WordPress asking for FTP Credentials? Here’s how to fix it

WordPress asking for FTP Credentials? Here’s how to fix it

Credit for this post goes entirely to Bhagwad Park. What you read below is his solution; I’ve only re-written it slightly. His post can be read here.

I like WordPress. Well, okay, I love it. But sometimes it does weird things—like asking to connect via FTP if I want to install a new theme. WordPress doesn’t normally need to do this. The problem is that the PHP process in the background runs as Apache instead of the owner of the WordPress files. Here’s how to get it to work.

Open Terminal on your Mac (or use whatever SSH software you like) and type the following:

sudo chown -R www:www /Library/WebServer/Documents/Moodle

The first part of the path I’ve written here (/Library/WebServer/Documents) is the default folder and I’ve added the /Moodle because that’s what my folder is called which has all the files for Moodle. Yeah, original, isn’t it? If you’ve named your folder something else (or if you’ve changed the default location) you will need to type in the proper path.

‘chown’ allows you to change the owner of files or folders; -R means recursive (meaning that it is to be repeated for every sub directory and their files; www:www means we are changing the permission to www user and the www group (it’s a special system used for executing PHP processes).

Again, thanks to Bhagwad Park without whom I would have been pulling my hair out.

New Year—New Aims

New Year—New Aims

They say that a rolling stone gathers no moss. They also say that a moving target is harder to hit! So, taking these two pearls of wisdom, I’m looking forward to giving myself new challenges for 2016, not stagnating or resting on my laurels.

This academic term, I will be finishing  the flip teaching Child Development course, with all of the materials online. It’s been a 3-year challenge and I’m pleased to see it all coming together now.

The next challenge is to build on the interesting ideas which came out of the trip to Malaysia. There are some exciting opportunities to share teaching pedagogies and research and I am keen to see what impact my workshop in Penang will have.

Our new teaching room has now been completed and I’m looking forward to trying to innovative pedagogies in this large lab, identifying new and effective methods to engage my students (and me!) in learning and teaching. There are new apps coming out all the time and it’s exciting to try some of the out and see which stick and which fall by the wayside. My poor students are always being inundated with something new but that, really, is what teaching should be all about—not resting on laurels and not falling into a rut.

One particular goal this year is to be much better at keeping my blogs up-to-date. It’s easy to become so busy with other things that you forget to keep a record of what you are doing, not only for you, my dear reader, but also for myself!

So, 2016 should be an exciting year! I hope you’ll join me on my journey.

CoSMED – Penang, Malaysia

CoSMED – Penang, Malaysia

I’m in the beautiful city of Penang, speaking at the 6th annual CoSMED conference. 

My input will be discussing in pedagogies and methodologies to enhance student learning. Quite a bit about what I will be talking about mirrors or builds on what I have been (intermittently) writing about on this blog and my agpate.wordpress.com blog. 

These conferences are interesting not only because of the subject matter but also because there are opportunities to meet some extraordinary people who get me thinking and excited about learning new things. 

Yesterday, for example, I had an opportunity to meet with Amelia who is looking into how voting systems can be used here in Malaysia where children aren’t permitted to bring smartphones and some schools, particularly in rural areas, are unlikely to have a decent internet connection (if at all). So we had a great conversation and in sure we shall have many more. 

So I’m off to the next session. Check out my tweets at @agpate_conf. 

Online polling with university students

My aim this past year was to introduce online polling as a way to increase student engagement and motivation in their learning. I wanted to go beyond merely creating multiple choice questions but to really—really—think about how to embed an online voting system into my lectures and tutorials. I didn’t want my use of online polling to be merely a ‘bolt-on’ to assess their learning but to use it as a means to improve their contributions in class and to engage them in their learning.

Continue reading “Online polling with university students”

How to copy data from one field automatically into another field

So you have an Adobe form with, say, a date on it and you want that information to be used elsewhere on the form without the user having to retype it.

Here’s what to do

  1. In the Text Field Properties, selection Action
  2. On Mouse Blur, Run Javascript
getField("FieldNameofWhereYouAreCopyingTO").value 
= getField("FieldNameofWhereYouAreCopyingFROM").valueAsString;

(All on one line)