Recently in Holidays Category

Pardon This Geek Moment

| Be the First to Comment | No TrackBacks | Share or bookmark this post: Bookmark and Share

Mother will hate this post.

Note:  The code on this page is a vastly improved reading experience at this link.

Last year, for the first time, I created a Season's Greetings banner that popped up (using MediaboxAdv) when you first hit my blog.  This year, when I went to operationalize that same code, things were not very straight forward.  This post is to remind me next year how to do this—sort of a note to me in the future.

WordPress Site
Under the wordpress —> wp-content —> themes folder on the server, select the current theme and modify the header.php file within that folder.  Immediately after the HTML header tag closes, this code should appear:

<!-- Mandate that the #mb-announcement mediabox open when this page is first hit or refreshed by the user -->
<!-- <body onload="Mediabox.open('URL_GOES_HERE', 'TITLE_GOES_HERE', 'WIDTH HEIGHT')"> -->
<!-- When NOT mandating the #mb-announcement, comment out the next line of code. -->
<body onload="Mediabox.open('http://blog.timtyson.us/wordpress/wp-content/uploads/2010/12/HolidayGreeting.jpg', 'Happy Holidays', '480 520')">
<!-- When NOT mandating the #mb-announcement, uncomment out the next line of code. -->
<!-- <body> -->

Normally, without the forced load of the mediabox announcement, the code would read like this:

<!-- Mandate that the #mb-announcement mediabox open when this page is first hit or refreshed by the user -->
<!-- <body onload="Mediabox.open('URL_GOES_HERE', 'TITLE_GOES_HERE', 'WIDTH HEIGHT')"> -->
<!-- When mandating the #mb-announcement, uncomment out the next line of code. -->
<!-- body onload="Mediabox.open('http://blog.timtyson.us/wordpress/wp-content/uploads/2010/12/HolidayGreeting.jpg', 'Happy Holidays', '480 520')">
< !-- When mandating the #mb-announcement, comment out the next line of code. -->
<body>

This single change in code will impact the loading of both the main index page as well as individual page archives.

 

MovableType Site
To accomplish the same thing, MovableType requires two file alterations: one for the index page and one for individual page archives.

For the main index page:
Under the template-link-files —> my-template-link-files on the server, modify the Index.html file within that folder.  Immediately after the HTML header tag closes, this code should appear:

<!-- Mandate that the #mb-announcement mediabox open when this page is first hit or refreshed by the user -->
<!-- <body id="mt-blog" class="mt-main-index layout-wm" onload="Mediabox.open('URL_GOES_HERE', 'TITLE_GOES_HERE', 'WIDTH HEIGHT')"> -->
< !-- the body id above is the result of using the <$mt:BlogTemplateSetID$> variable for the boy id as shown below. When NOT mandating the #mb-announcement, comment out the next line of code. -->
<body id="<$mt:BlogTemplateSetID$>" class="mt-entry-archive <$mt:Var name="page_layout"$>" onload="Mediabox.open('http://blog.timtyson.us/wordpress/wp-content/uploads/2010/12/HolidayGreeting.jpg', 'Happy Holidays', '480 520')">
<!-- When NOT mandating the #mb-announcement, uncomment out the next line of code. -->
<!-- <body id="<$mt:BlogTemplateSetID$>" class="mt-entry-archive < $mt:Var name="page_layout"$>"> -->

All of the index files would then have to be rebuilt for the change to take place.

Normally, without the forced load of the mediabox announcement, the code would read like this:

<!-- Mandate that the #mb-announcement mediabox open when this page is first hit or refreshed by the user -->
<!--  <body id="mt-blog" class="mt-main-index layout-wm" onload="Mediabox.open('URL_GOES_HERE', 'TITLE_GOES_HERE', 'WIDTH HEIGHT')"> -->
<!--  the body id above is the result of using the <$mt:BlogTemplateSetID$> variable  for the boy id as shown below. When NOT mandating the #mb-announcement, comment out the next line of code.  -->
<!-- body id="<$mt:BlogTemplateSetID$>" class="mt-entry-archive < $mt:Var name="page_layout"$>" onload="Mediabox.open('http://blog.timtyson.us/wordpress/wp-content/uploads/2010/12/HolidayGreeting.jpg', 'Happy Holidays', '480 520')">
< !  When NOT mandating the #mb-announcement, uncomment out the next line of code. -->
<body id="<$mt:BlogTemplateSetID$>" class="mt-entry-archive <$mt:Var name="page_layout"$>">

For the individual page archives:
Under the template-link-files —> my-template-link-files on the server, modify the Entry.html file within that folder.  Immediately after the HTML header tag closes, this code should appear:

<!-- Mandate that the #mb-announcement mediabox open when this page is first hit or refreshed by the user -->
<!--  <body id="mt-blog" class="mt-main-index layout-wm" onload="Mediabox.open('URL_GOES_HERE', 'TITLE_GOES_HERE', 'WIDTH HEIGHT')"> -->
<!--  the body id above is the result of using the <$mt:BlogTemplateSetID$> variable  for the boy id as shown below. When NOT mandating the #mb-announcement, comment out the next line of code.  -->
<body id="<$mt:BlogTemplateSetID$>" class="mt-entry-archive <$mt:Var name="page_layout"$>" onload="Mediabox.open('http://blog.timtyson.us/wordpress/wp-content/uploads/2010/12/HolidayGreeting.jpg', 'Happy Holidays', '480 520')">
<!-- When NOT mandating the #mb-announcement, uncomment out the next line of code. -->
<!-- <body id="<$mt:BlogTemplateSetID$>" class="mt-entry-archive < $mt:Var name="page_layout"$>"> -->

Get it right the first time, because "Only Entry Archives" files then have to be rebuilt for the change to take place—that's over 2,500 files and takes forever!

Normally, without the forced load of the mediabox announcement, the code would read like this:

<!-- Mandate that the #mb-announcement mediabox open when this page is first hit or refreshed by the user -->
<!--  <body id="mt-blog" class="mt-main-index layout-wm" onload="Mediabox.open('URL_GOES_HERE', 'TITLE_GOES_HERE', 'WIDTH HEIGHT')"> -->
<!--  the body id above is the result of using the <$mt:BlogTemplateSetID$> variable  for the boy id as shown below. When NOT mandating the #mb-announcement, comment out the next line of code.  -->
<!-- body id="<$mt:BlogTemplateSetID$>" class="mt-entry-archive < $mt:Var name="page_layout"$>" onload="Mediabox.open('http://blog.timtyson.us/wordpress/wp-content/uploads/2010/12/HolidayGreeting.jpg', 'Happy Holidays', '480 520')">
< !  When NOT mandating the #mb-announcement, uncomment out the next line of code. -->
<body id="<$mt:BlogTemplateSetID$>" class="mt-entry-archive <$mt:Var name="page_layout"$>">

My browser of choice continues to be Safari. However, a few months ago Apple pushed an update out the door that is making Safari do weird things when building a page with Flash embeds. This, at times, significantly impacts page display and, I suspect, is a result of Apple pushing HTML5 implementation. I don't get those issues in Firefox. Hopefully Apple will correct this problem in the near future. I don't know what IE does with any of this code. I gave up on that browser a long time ago. (My apologies to all of those who still use it.)

[Another note to self:  the directions for using the awesome but non-intuitive SyntaxhHighlighter used on the WordPress version of this page are located at this link.

And that's about it.

 

 

Merry iChristmas from the iBand

| 2 Comments | No TrackBacks | Share or bookmark this post: Bookmark and Share

Boys and their toys!  Of course, I can't complain.  I would be up their with them if this were my church.  While not particularly musically gratifying, this is certainly clever, creative and fun.

North Point Community Church's iBand.  (YouTube Link)

Photo

 

Hair Brain Idea of the Year

| Be the First to Comment | No TrackBacks | Share or bookmark this post: Bookmark and Share

Looking north through the entrance hall of the...It's the season.  Busy, busy, busy!

The last few weeks have been crazy:  the Haunted House extravaganza for Halloween (we do it up big here in the hood), a three day business trip to the east coast, a two week vacation to Budapest and Prague, returning home to put away the Halloween Haunted House and set up the Christmas decorations, create the holiday cards, the 2011 gift calendars, the newsletter, fold/stuff/stamp/seal/mail the cards and newsletters (huge task), jump online for the gift-giving rituals, then the Thanksgiving meal...

Today, the cleaning crew is finally back. Thank goodness!! (They missed last month because of vacation plans.)  The house is one giant dust bunny and fur ball all rolled into one.  My allergies have been insane.  I'm almost finished with the laundry now.  The last load of clothes is in the drier.

To finish the holiday gift shopping I had to run to the Apple Store to get the Sistoid Unit's gift.  (No worries.  She already knows what she's getting from me—an iPod Touch, so she can Facetime me and mother.)  The Apple Stores are always much too close to where I live!  This one is at Manhattan Village Mall.

No one in their right mind wants to go to a mall on Black Friday:  the crowds, the rudeness, the snatch and grab, the ill humor, the parking fiascos.  Manhattan Village Mall isn't a large mall at all, but the parking is always hell on earth!  I was so not looking forward to this quick one-stop shopping trip.  I got there and found a parking space with no difficulty!!  But then...

Oh!  For Pete's Sake!

Who in their right mind?!

What a wretched, horrid, bad, bad, bad idea!!!!!!!!!

On this, the worst day on earth to shop at a mall, the Manhattan Village Mall decided to have a full blown parade IN THEIR PARKING LOT?!  The high school marching band, the police cars, the fire trucks (yes, there were two of them in the parade), the little security Segway, the little three-wheeled security vehicles, throwing candy...

I couldn't even back out of my parking space.  The whole parking lot was grid locked.  People, blocked in the one way parking lane, were trying to turn around, which was so obviously impossible--three cars.  Now they were stuck!  Duh!  Nobody could move because of this stupid parade blocking the main artery of the parking lot!

Go ahead, call me Scrooge.  This was THE most hair brain idea of the year!  Who ever planned this on the busiest shopping day of the year had to be high on cocaine!

Insanity!

Time to fold the laundry.  :)

Happy 10/10/10 @ 10:10

| Be the First to Comment | No TrackBacks | Share or bookmark this post: Bookmark and Share

Jack-o-latern

Working in the yard this morning, trimming back the bougainvilla, a neighbor walked by and said her children couldn't wait to return to the haunted house at our house again this Halloween.

Little do the tiny preci know:  this year's Haunted House will even be more terrifying than last year's!

 

So Typically American

| Be the First to Comment | No TrackBacks | Share or bookmark this post: Bookmark and Share

Tonight I ate at one of the regular restaurants in my rotation. It was chilly (and extremely windy) eating out on the patio, but nonetheless, many of the tables were taken. Being Mother's Day, they were unusually busy.

After having ordered, across the restaurant I heard a patron complaining rather loudly and angrily that he and his party had been waiting to order for over 20 minutes. Well, I knew the 20 minutes claim was a bit of an exaggeration as I had seen them come in and be seated—maybe 10 minutes. But certainly, to be fair to the man, they should have had their order taken by this now.

The table cleaner to whom they complained had a waiter come and immediately taker their order. But here's what was so ridiculous: the grumpy old man who had raised such hell about not having his order taken for so long still had no idea yet what he was ordering. He took forever to look over the menu and decide.

So what was he really complaining about? What expectation did he have that was not being met by the restaurant staff?

Rather makes me think of the idiots that drive so recklessly dodging in and out of congested traffic during rush hour in very congested areas. They never get anywhere any faster than anyone else. They just place themselves and others at risk of accidents. But why?

Pity that our society promotes this type of ridiculous behavior by rewarding the Alpha Male Type in so many ways.

Just Too Cute (Part Two)

| Be the First to Comment | Share or bookmark this post: Bookmark and Share

I received these in an email and had to share them...


Snowman04.jpg
Snowman05.jpg
Snowman06.jpg

Just Too Cute (Part One)

| Be the First to Comment | Share or bookmark this post: Bookmark and Share

I received these in an email and had to share them...

Snowman01.jpg
Snowman02.jpg
Snowman03.jpg

Happy Thanksgiving Everyone!

| Be the First to Comment | Share or bookmark this post: Bookmark and Share

My favorite holiday! I share it with everyone.

The Annual Holiday Gift

| Be the First to Comment | Share or bookmark this post: Bookmark and Share

Ever year I give, as a holiday gift, a calendar of select photos I shot that year. Last year, instead, I gave a book of photos, all from one vacation destination, to family members who I knew loved that place.

This year, back in sync with my traditional holiday gift-giving, I'm selecting photos for the 2010 Calendar. But now I have 2 years of photos from which to choose!

The task of selecting only 12 photos from 2 years of astounding travel has been all but unbearable! I narrowed the selection down to 60 and then had to begin sawing off my appendages to get it down to 12.

Here are a few that I love, but, for various reasons, these didn't make the final cut. Click any image to see the larger photo.

Halloween at the House in Manhattan Beach

| Be the First to Comment | Share or bookmark this post: Bookmark and Share

The devil's mask was just too frightening for the younger children. It had to go, and it was much too hot. Then my standing on the balcony over the front door shooting silly string terrified a few unsuspecting parents. (I didn't shoot the young children. Middle-aged children begged to be shot.)

The entrance to the house was also just a little too frightening for some of the younger children--that, I didn't anticipate. Perhaps they found it scary because of the loud sound effects from the DVD playing in the lower main front window, or maybe it was just so busy with scary things: pots of fire, large hanging bats, a hanging mummy, tombstones, a spider skeleton (I didn't know they had them either), a jar of eyeballs, chains, a giant rat, etc.

Unexpectedly, about half way through the evening, the fog machine set off the smoke alarms, adding even more drama to the scene. I then moved the fog machine to spray the fog out the front door.

But many parents said the house won the award for best haunted house in the hood. In the beginning there was a large caldron full of candy--24 bags of candy. It was all gone by 8:30pm. Hundreds of children came by.

Favorite quotation from the night:
"What do you say honey." after the child took candy from the caldron.
"May I have a fourth?" answered the child.

Clicking on any of the pictures will enlarge the shot. And, presented below, is a short video I shot of the DVD that was playing in the lower main front window of the house along the street where many children and adults stopped to watch. Showing the DVD, Hallowindow, while the haunted house was "open for business" was my favorite part of the evening. You can click on the movie to watch a brief excerpt, but to see the movie, visit Mark Gervais' site. He really did an awesome job with these animations!

Horror Shaping Up Nicely for the 31st

| Be the First to Comment | No TrackBacks | Share or bookmark this post: Bookmark and Share

Halloween will be a little out of control around here. The iron front door already lends itself to something of a haunted house. Here's a little preview.

At the front door (Click to enlarge)

And a wonderful Halloween animation will be playing in the lower front window of the house. Here is a shot of what it looks like "behind the scenes."

Me
Click above to see me morph.

Pick a Theme

CSSmbca CSSsummer CSSfall CSSwinter CSSspring CSShills

About this Page About this Archive

This page is an archive of recent entries in the Holidays category.

Health is the previous category.

Humor is the next category.

Find recent content on the main index or look in the archives to find all content.

December 2010

Sun Mon Tue Wed Thu Fri Sat
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  

Recent Comments

  • Tim Tyson: I’m sorry. I’m in no way affiliated with this group. read more
  • Brandice Johnson: This is awesome do yall do shows like on College read more
  • Tim Tyson: I’ll always suspect that Pat Robertson’s sudden and unexplainable flipflop read more
  • Dan: I think you are exactly right – it is all read more
  • Dan: serves him right – real organists transpose in their heads, read more
  • Dan: Yes – I’d really like to visit. However, I prefer read more
  • Tim Tyson: It really is unspoiled wilderness. I LOVED it up there. read more
  • Brent: Had a good friend who was stationed in Alaska who read more
  • Dan: I want to do the Canadian Rockies, but I've had read more
  • Tim Tyson: I highly recommend the Canadian Rockies in the winter! It read more

Want to Chat?

Presently, I'm...


Click the green dot if you would
like to chat with me on AIM.

Translate my Blog

Change Congress

Change Congress

I believe we need to return government to "of the people, by the people, and for the people"—not a radically new idea, really.

I invite you to explore Larry Lessig's Change Congress initiative.

Here is the orginal post about this banner.

Visitors to timtyson.us

Tools Used on timtyson.us

mediaboxAdvanced
mediaboxAdvanced

Apture

Creative Commons License
This blog is licensed under a Creative Commons License.
One click subscription through your Bloglines account
Subscribe with Bloglines

One click subscription through your NewsGator account
Subscribe in NewsGator Online

To subscribe to audio podcasts of each post, click the Talkr icon below.
Link to Podcast (RSS feed) for this blog