Categories
Code

Duplicate events in FullCalendar

I’ve been in calendar hell the last couple of days. I’ve been using and tweaking FullCalendar & been having a lot of duplicate problems with navigating between months, the events would multiply like some sort of weird digital bacteria. But anyway, after spending sometime on it I stumbled upon this post & finally it sorted the issue!

Categories
Code

Mobile/responsive opt-out by setting the viewport

A colleague of mine was working on a site whereby we had a mobile view, but the client also wanted a link that would opt the user out and return users who are on the mobile view to the desktop view. This seems to have no logic what so ever, however that’s clients for you. We worked together for a good few hours trying to fix this problem. Removing the viewport meta tag using JavaScript/jQuery, changing & setting different attributes within the viewport meta tag but to no avail.

Categories
Technology

Configuring Cisco 7940 for SIP

I spent a lot of time trying to install SIP on the Cisco 7940 phone, it comes with something called SCCP (or Skinny Call Control Protocol) installed as default. However you can (with some effort as I found!) install SIP and connect to a SIP network, such as Sipgate or Voipfone. I scoured the Internet and found bits and bobs on various sites, but none of them really explained EXACTLY how to do it as a process. Below you’ll see steps of how to do just that, along with a nice zip file for the config & a few ringtones.