February 2009 Archives

Today I am adding a new category that is only for administrative purposes. But because Movable Type does not have any function to password protect items (and
Just a quick post here. MT 4.24 is installed. This was a security patch but also added a real password recovery system. Prior to this you had to remember a "recovery phrase" that you create when you setup your account... that you would never remember.

Talking with Anil about this over IM it sounded like it took a bit of red tape to get this feature pushed out to the community, but I am so glad it was added as soon as they were able to get it in our hands. Thanks so much Six Apart!
As I said in my post about CP5, Movable Type has its own set of quarks. I will be using this post to document them as best as I can. This is more for my staff at The BG News, but may be useful for anyone else who is working with MT. For reference I have MT 4.24 Pro installed currently.
CP5, or Polopoly, has a lot of quarks. Hell, Movable Type has a lot of quarks. I will be using this post to document them as best as I can. This is more for my staff at The BG News, but may be useful for anyone else who is working with CP5.
There are a lot of things that I cannot do in CP5, some are much more annoying than others. I plan on updating this post with these things, as both a reminder and a constant reminder of what needs improved for College Publisher to truly have a solid CMS. In many respects, CP5 is a major step back from CP4.
I had really wanted to start off writing about mtvU with an informational post about College Publisher, and CP5.

That is not to say that this is not informational: If you edit an article multiple times, it will revert to Draft, and if that draft is referenced in a Teaser, it will break your layout, badly. Take a look at this FUBAR footer.

Picture-5.gif


This has happened a lot today, on the day we are going live in CP5. Why an article would revert to draft is beyond me, but it does - and it is really pissing me off.

EDIT: Chase tells me the footer looks FUBAR too. It seems like it breaking the DIV or something on a Mac. From Chase:

picture1n.png

Click both images to embiggen. In other new, Craig tells me the footer is FUBAR on his Windows PC. For the record, every night we have published in CP5, which is four now, the footer has screwed up and something is done when we email mtvU. I don't know about you, but I would sure like to know what that something is. Craig, and myself, have searched through the articles looking for Drafts.

FWIW the footer looks fine for me in FF 3.0.5 and IE7 on Windows XP.
I cannot tell you how long I waited for a) Facebook to finally release FB Connect, and b) for Six Apart to release their FB Commenters plugin. After much hard work, the final piece to the puzzle was a Javascript error (FB.Facebook.apiClient.get_session().uid;) that was also conflicting with mt.js - this did screwy things with the "Sign in to comment, or comment anonymously" line above the comment box below.

I submitted a ticket and I need to thank "Cowboy" Ben Alman for replying to it with one fix. I say one fix as Peter Larson left a comment on Tom Keating's VOIP blog with a different solution.

So there you have it. Look at the two lines of code in my signface.js file marked // COWBOY and you will see the fix I am using, thanks to Ben Alman. The only remaining question is going to be: will I have to go through all this crap again when MT 4.25 is final?
For those who have access to the Movable Type back end of BG Views, there are two different text editors to chose from. We like to give you the choice, maybe you will like the one I do not. First we will go over the steps to changing the Text Editor, then we will go over the differences between the two.

Hit the jump to read the how-to.
One of the plugins we are using heavily is Dan Wolfgang's Better File Uploader, or BFU. One of its many functions is to spit out code that LightBox interprets. Sadly, the Scriptaculous/Prototype lib does not like jQuery at all. Everything on our site, from the Facebook integration on up, is based on jQuery. Luckily there is a jQuery Lightbox, and it works great. Using part of Byrne's instructions and BFU, I now have Lightbox working on all hosted blogs.

444688865_d4e7f2cfc8_o-thumb-525xauto-1470.jpg
463523405_033dc99232_o-thumb-525xauto-1471.jpg
2130001987_2a8b0afb64_o-thumb-525xauto-1472.jpg
2173937545_a0e7435a8d_o-thumb-525xauto-1473.jpg

The YUIEditor is really nice. Many thanks to Richard for adapting it for MT. By default it will sanitize code that is needed to embed video from sites such as YouTube. Inside your mt-static/plugins/YUIEditor/config.js file, add these lines:

//Allow EMBED code for video files
delete YUIEditor.invalidHTML.embed;
delete YUIEditor.invalidHTML.object;
delete YUIEditor.invalidHTML.param;

Now it will no longer strip our that code.


About This Blog

Ken Edwards (and hopefully other project members) will be blogging here — a place to keep up on what is happening on the BG Views project. You will find bits of code, project updates, and random technical information aimed at confusing the hell out of you. More »

Subscriptions

Mobile Edition

Mobile EditionAccess the BG Views Developer Blog on your iPhone or other mobile device. Read more about our mobile site »
Powered by Movable Type 4.261

 

Also powered by:

  • Caffeine (Dr. Pepper)
  • Cup Cakes (Hostess)
  • Pizza (Pisanello's)