by Josh Merriam | Jan 13, 2014 | Code, Drupal
I got this jewel of an error this morning while checking a site in IE10 that I hadn’t run across before. CSS3117: @font-face failed cross-origin request error Of course, it was glaringly obvious that the site hadn’t loaded the fonts I intended for it to...
by Josh Merriam | Oct 18, 2013 | Code, PHP, Wordpress
Ok, this one seemed to trip me up quite a bit when I had a client ask to exclude a certain category from the main blog page in WordPress. For example, if you have a category of “news” or a category of “events” that you don’t want to show...
by Josh Merriam | Aug 15, 2012 | Code, Drupal, PHP
Man, after much tinkering and frustration I have finally realized that when using Views PHP to construct fields you cannot print actual text values out. Instead it will produce the entity number in your output code. So, in case you are trying to get a Global PHP field...
by Josh Merriam | Jul 11, 2012 | Code
Ever get that annoying issue where your drop down horizontal menu expands down and the YouTube video you embedded with the standard iFrame code remains on top of your menu? This one has buggered me a few times and maybe I’m not the only one but I figured...
by Josh Merriam | Jul 11, 2012 | Code, PHP
I hate having to go in and manually update the year in the footer on websites next to the copyright text. This isn’t anything fancy or new but just something to keep in your brain so you don’t have to go around updating the year every January in your...