December 4, 2008 / by rimugeek / 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
A great programming book – from arrays to collections, from procedural to functional
July 28, 2017 / by rimugeek / 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 rimugeek / 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 rimugeek / LINUX, Programming / 0 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 rimugeek / 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 rimugeek / 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