• Tag Archives TRC
  • Ultimate Frustration

    I think I’ve reached the end of the road with calendars and Drupal 8.

    None of the plugins I had found worked, so I came up with the brilliant idea of making a copy of my handwritten calendar on TRC and trying it out.  Well, in concept, it was a great idea.  I tried to implement it this afternoon, and it went horribly awry.  Drupal 8 doesn’t let you connect to external databases the same way Drupal 7 does.  None of my MySQL commands will work, nothing will connect.  Drupal 8 wants me to include the DB into its core configuration, which is fine and dandy and all that.  It just means I’d need to rewrite a ton of code in my calendar…. I’ll need to make all the SQL calls use the friggen Drupal API.  I’m not sure I’m ready to get that deep into this.  The Calendar code scares me in places… its a hodge-podge of over 10 years of recompiled insanity.  The final product works and looks amazing, but the back-end is a pretty scary place.

    I guess for now, its back to the drawing board for the new Bradford Website calendar.  I have no idea what to do.

    This has also put the brakes on my TRC Drupal 8 upgrade project for the indefinite future.  If it was just the calendar, it would be one thing.  However, TRC has multiple locations that use an external DB.  The calendar, directory, webcams, several rss feeds, and i’m sure more I can’t even think of right now.  Re-coding all those scripts to use the Drupal 8 API is going to take me a lifetime.

    I hate to say it, but I’m probably going to end up putting off the TRC upgrade until they actually stop supporting 7.  We’ll see….

  • Drupal 8 Woes

    In looking at the scope of the project to upgrade TRC to Drupal 8, I realize I need a smaller project to wet my feet first.  The conversion is going to take a lot of time and work, so I want to get a bit familiar with what needs to get done.

    I decided to start by upgrading the Town of Bradford website.  It also runs on Drupal 7, as it was created using TRC as a template.  It is my only other active Drupal site, and it is quite small in comparison to TRC.  It should make for a good test run to get familiar with.

    I started working on it this afternoon, and it already is still more work than I was hoping for.  No custom blocks will migrate over, which means they all need to be redone manually.  This isn’t such a huge deal with Bradford, but there are over 100 blocks on TRC and I am NOT looking forward to rebuilding them all.

    The pages and “content” of the site (articles, documents, etc) all migrated nicely.  I just need to rebuild most of the pages and views.  This means that a large chunk of TRC might import properly, with a few hurdles to jump over.  The biggest challenge so far is going to be rebuilding all the blocks by hand.


  • The Time Has Come

    I’ve been working alot on TRC lately, updating the directory and the calendar. I’ve realized its time for an overdue project that I’ve been putting off. TRC runs on Drupal 7, which is becoming outdated. The site needs to get a major upgrade to Drupal 8.

    This is by no means a simple process. You cant just upgrade – its a good bit of work. I’m starting to put together what needs to be done so I can start working on it. Its going to be awhile…

    On the upside, Drupal 8 works MUCH better with mobile 🙂

  • Adventures in Calendering

    I spent the past week working on overhauling the TRC Community Calendar.  It was in some need of some updates some TLC.  I updated the submit pages to make them a bit more user-friendly to start out.  I spent two days trying to add a fancy pop-up calendar picker for the date entry, but had to give up in the end. The submit form is too complex to try and shoehorn in some javascript or the CSS to do the pop-up magic.  It has too many levels and built-in checks and madness for me to fully understand.

    I even got some help on updating a ton of events from Susie at the Milo Town Office. I got to overhaul a good portion of the calendar, which has needed to be done for some time. We had a lot of outdated stuff in there.  I’ve got a few events that still need to be checked, but the calendar is looking much better now.

    Lately I’ve been pretty focused on making the site mobile-friendly, and I was concerned about the calendar.  It actually gets pretty messed up on mobile viewing in Portrait mode, but it works perfect if you’re in landscape. This made me pretty happy, as overhauling that calendar would be like having a root canal.  The code is old, and pretty clunky in places, but it works GREAT.  Every time I go in to edit, I make sure I clean it up a bit and improve things.

    Thats all for now.  For my next trick, I’ll be overhauling the TRC Local Directory 🙂

    TRC Community Calendar

  • Weekend Report

    Weekend Highlights:

    • I have a driveway again
    • Fishing Derby Prize Drawing a success
    • Random Buddy pictures

    Yesterday the City of Old Town became my hero when their bucket loader and fleet of dump trucks came along the street clearing snow.  Not only did they finally clear the sidewalk, but the cleared the massive snowbank ALL the way back TO the sidewalk!  The sidewalk sits back like 6 feet into the lawn, so thats impressive.  In the process, they cleared out the end of my driveway so its now fully passable again!

    Today was the annual prize drawing for the Schoodic Lake Ice Fishing Derby in Milo.  This was the 16th year that I have streamed the prize drawing live online with TRC in some form or another.  I believe this was our best year yet, with no technical difficulties and around 260 live viewers! Click here to watch video of the prize drawing.  You can also view the full Prize Drawing Results on TRC.

    Random Buddy Pictures:

  • Lazy Sunday Tech Report

    I started working on a web design project I’ve been putting off for awhile.  I’ve been planning to make all my website secure with HTTPS, but its been a bit of a process.  All my WordPress sites are secure, but I’m still working on figuring out the Drupal websites.  I did a test-run on TRC months ago, and it went horribly.  I know what I need to do, but the insane part is needing to go through the entire database and update all http links to https.  It can be done, I’m just afraid of breaking the whole thing.  The TRC database is pretty enormous.

    I should probably start testing with a smaller site, like the Schoodic Lake Association. Either that, or make a dummy copy of TRC to play with.

    Although, I also need to see what kind of madness its going to take to upgrade TRC from Drupal 7 to Drupal 8.  That is, if I even want to –  I’m still not sure.  It looks like it can be an intense project, riddled with issues.  Problem is that EVENTUALLY, I’m going to have to do something as there will come a day when they stop supporting Drupal 7 🙁  But one thing at a time, I need to figure out HTTPS for Drupal first.

    So as I sit here contemplating all this tech-related stuff, with my cat Buddy looking out the window beside me, I realize I should be outside cleaning the driveway before the blizzard starts….