If you are not comfortable with CSS or want to get a layout together really quick – check out the YUI CSS Grid Builder. You can easily create a layout, add content, and get the code in a matter of minutes. At the very least – this is a great starting point for beginners! Check it out!
Archive for January, 2008
All posts written in January, 2008.
A Saturday With Ben!
Someone that I worked with for eight years came to town this past weekend for a meeting and I was fortunate enough to meet up with him on Saturday. It was quite interesting to me that I felt as though he never left – we just picked up where we left off. (Except for the fact we were both working different places and happy working) A big thanks to Ben for a nice Saturday, his chauffeur services, the dinner at Lawry’s, and the wonderful picture I have hanging in my office! Rock on!
WordPress Thumbnails/PodPress Fix
WordPress has a great feature where it will make thumbnails out of any image you upload when creating a post. When you have PodPress installed (a great podcast plugin), the thumbnails option disappears. Finally I got sick of this and found the solution. If you ever run into this – now you know how to fix it as well!
Tabs With the Yahoo User Interface Library (YUI).
I have recently been asked to create a tabbed interface for a few projects which does not require any page reloading. I am familiar with working with the Yahoo! User Interface Library (YUI) and decided to use their tabview component to make this happen.
What you need:
- Yahoo User Interface Library
- CSS
- HTML (View Source)
A simple example:
Check this code out in action (reusing the tabs I created from the jappler menus).
You can easily “View Source” and use that as an example. The possibilities of customizing the “tabview” component are endless and can also be seen on jappler.com’s home page.
Moral of the story
Check out the YUI library, look at the examples and start using and reusing the code! This speeds up development and will make your life easier!
Planeguage
My company does consulting for Delta Air Lines and while watching the latest “Planeguage” video – I laughed out loud. I happened to have this experience a few years ago on Spirit Air when I happened to be in the very last row. Needless to say the flight experience was horrible and I have since to fly in the back row – or on Spirit Air. If you have not checked out the videos (or the Delta Air Lines blog) check it out: http://blog.delta.com/
My Company Blog: Reloaded
If you find my WordPress and web development posts helpful, I would also recommend reading my company blog. I have been the last few weeks making sure that the content was more organized, the layout was clearer, and the posting frequency increased. I generally post about WordPress related tricks, tips, howtos, but also post about other web development topics as well. Hopefully you will find it helpful!
Internet Explorer and Custom 404 Page Issues in WordPress
Has anyone else seen the issue where you have created a 404 (or not) for WordPress and when you show links to posts or pages in WordPress that are marked as private – IE users intermittently get the generic IE 404 page? I cannot figure out how to fix this. Any thoughts would be appreciated! The HTTP header that the page (password protected) produces is a 301.
Basically – I have a custom 404 template that says “if is logged in show “file not found” and then a link to the search form. If you are not logged in, show a login form – as this takes care of the logic 99% of the time. This setup works 100% of the time with Firefox and Safari – but IE barks at it randomly. (If you refresh – you see the correct 404 text within 2-3 refreshes). What is going on?
repairing a mysql table
I have run into some database problems over the years, but had to do something different today when I saw that this site had a problematic table (wp_posts). When I looked at the issue first, I got the message “MySQL error code 145 = Table was marked as crashed and should be repaired”.
To repair a table, I have run (at a mysql prompt in the command line): REPAIR TABLE wp_posts; but today that did not work. After doing some research, I finally was able to fix the table by using: myisamchk -r wp_posts (see documentation. This was a lifesaver!
don't overlook bbpress!
It has been awhile since I worked with bbPress (lightweight, fast, and secure forum software), but I recently finished up a small project working on a custom theme for bbPress. If you are looking for forum software, and better yet – and also use WordPress – bbPress might be a good solution for you. There are plugins to link the bbPress and WordPress user tables together so your users can have a single sign-on solution. Creating a bbPress is just about as easy as making one for WordPress if you are familiar with WordPress themes, template tags, and functions. It is even robust enough to handle the WordPress support forum – check out bbPress.
