December 4, 2008 / by Rimu Atkinson / CSS, Design, Programming / 0 comments
Drupal’s theming system uses file names to decide which theme to apply to whatever page the visitor is asking for. So page-front.tpl.php is the front page, block-footer.tpl.php is any block in the footer, page-node-10.tpl is the page that contains node 10, etc etc However, out of the box, there is no way to theme just […]
Read more
Using Ionic / Capaciter framework with Vanilla Javascript
February 9, 2023 / by Rimu Atkinson / Programming
The Ionic Framework documentation assumes you want to build your app with Angular, React or Vue and provides excellent tutorials to help you get started with those options. However, despite their docs providing code snippets with plain JS there is no ‘getting started’ guide for that. This blog post seeks to fill that gap! Initial […]
Read more
A HTML to Gemtext conversion API
August 1, 2022 / by Rimu Atkinson / Programming
I’ve made a simple API which will convert any HTML into Gemtext (source code on gitlab). In coming weeks I will create a WordPress plugin to automatically generate and update a gemlog, using this API for converting content. You might like to use this API for something too! Because I’m using RapidAPI to host the […]
Read more
Integrating SimpleSAMLphp with Azure Active Directory
August 12, 2020 / by Rimu Atkinson / Programming
Many organisations use Microsoft’s “Azure Active Directory” service to manage all their logins. If you want your web site to let people in one of those organisations log in to your PHP-based web site then the SAML protocol can be used to facilitate that process, without them needing to manually create an account on your […]
Read more
Choosing a new direction in tech
January 10, 2019 / by Rimu Atkinson / Programming, Work
For the last 10 years, Drupal has been my go-to tool to get great web sites built. However, it is clear to all but the true believers that time is ending. The total number of Drupal web sites peaked in early 2016. Even now, 3.5 years after D8 was launched, there are still 2.5 times […]
Read more
A great programming book – from arrays to collections, from procedural to functional
July 28, 2017 / by Rimu Atkinson / Programming
PHP developers use arrays all the time and tend to use loops to iterate over the elements in the array and perform some action on them. It’s such a common pattern that it becomes a way of solving programming problems that is automatic and rarely questioned. But there is a better way. ‘Collections’ are object […]
Read more
Drupal 7: automatically logging users in with their Windows credentials (LDAP, NTLM)
April 4, 2016 / by Rimu Atkinson / APPLICATION, LDAP, LINUX, Programming / 0 comments
So you want to build an intranet site with a seamless onboarding process that doesn’t require users to remember yet another login? This is hard to do and a lot of things can go wrong along the way. Hopefully some of the below steers you through these treacherous waters. I built an intranet using Drupal […]
Read more
Reduce MAMP memory usage by limiting the number of Apache processes
January 25, 2015 / by Rimu Atkinson / LINUX, Programming / 2 comments
When developing web sites on a Mac it is common to use MAMP. By default MAMP will run several Apache processes because that’s just what Apache does by default – having several processes means several requests can be served at once. But, in a local development scenario, this is very unlikely to happen because the […]
Read more
theming just one node in drupal
December 4, 2008 / by Rimu Atkinson / CSS, Design, Programming / 0 comments
Drupal’s theming system uses file names to decide which theme to apply to whatever page the visitor is asking for. So page-front.tpl.php is the front page, block-footer.tpl.php is any block in the footer, page-node-10.tpl is the page that contains node 10, etc etc However, out of the box, there is no way to theme just […]
Read more
beautiful, just beautiful
August 2, 2008 / by Rimu Atkinson / Programming, Work / 0 comments
I present to you, The Internet, how it was back in the good old days! That site is still in use. Check out the ‘last updated on’ messages at the bottom. Have a read on ‘my web philosophy’ at the bottom of the home page…
Read more