John Hesch

Echoing my thoughts and interests

Archive for February, 2005

02-28-05

Ten CSS tricks you may not know

Posted by
02-28-05

Four Leaders You Need To Know

Posted by John

Good article in Fast Company called Four Leaders You Need To Know.

They may not be CNBC regulars, but this fab four represent what’s needed today: CEOs with vision who also aren’t afraid to get their hands dirty.

How to write an effective press release by SitePoint Selling Web Design Services Blog

Shared bookmarks for del.icio.us user jhesch on February 27, 2005

What’s Your Optimism Ratio? In his famous book Learned Optimism, Martin Seligman points out how our present use of language can be a fairly accurate predictor of future success. Interesting read.

02-27-05

Technorati Tags

Posted by John

From IT Facts: Less than 5 percent of Internet users currently employ RSS readers. That minority consists mainly of media and tech professionals, and bloggers who contend with information overload on a daily basis.

02-27-05

Shopping Cart Builder

Posted by

Juan from Chile wrote and asked how I implemented Matt's Asides into my Yadda theme here on johnhesch.com. It was a really easy modification to the index.php file located in the Yadda theme folder.

First create a new category and call it a unique name that will only be used for your mini-posts. I called mine Mini-Links. Then go back to the category section in your admin panel and see what the category ID number was given to the newly created category.

Now open up index.php in the Yadda theme folder and right below the following code

PHP:
  1. <?php while (have_posts()) : the_post(); ?>

add this

PHP:
  1.  
  2. <?php if (in_category(29) && !$single) { ?>
  3. <ul class="asides">
  4. <li><?php echo wptexturize($post->post_content); echo ' '; comments_popup_link('(0)', '(1)', '(%)' ) ?> <?php edit_post_link('(e)','',''); ?></li>
  5. </ul>
  6. <?php } else { ?>
  7.  

What this does is look at the post to see if it's in category 29. (Remember, you need to change this to the correct category ID). If the post is in category 29 then style the post differently then the others.

Right before

PHP:
  1. <?php endwhile; ?>

add the following

PHP:
  1. <?php } ?>

Now open up the CSS file and add the CSS code you want to use to style mini-posts. I'm using the bullet image from the MinimalPlus theme from Thought Mechanics.

CSS:
  1.  
  2. ul.asides {
  3.     margin-bottom: 0px;
  4.     margin-left: 0px;
  5.     padding-left: 20px;
  6. }
  7. ul.asides li {
  8.     list-style: url(http://johnhesch.com/wp-images/bullet.jpg);
  9. }
  10.  

That's it. Now whenever you want to post an Aside just use the appropriate category.

02-26-05

Google Help : Cheat Sheet

Posted by John

From Google Weblog:

Cheat Sheet for using Google.

Google Gives Rebate to Those Who Try AdWords. Google sent a message to advertisers that have avoided the contextual side of its offerings, giving them a 20 to 25 percent rebate on AdWords.

Management Craft: Work/Life Balance

Here's a few questions to consider about work/life balance:

1. Are you meeting your goals at work? Why/why not?
2. Are you meeting your goals for personal growth? Are you spending adequate quality time with your family and friends? Why/why not?
3. Are you having fun? Why/why not? What is fun?
4. At the end of each week, are you filled with regret about what did not accomplish?
5. Fast forward for a minute. If you were in the hospital, dying, would you be satisfied with how you have spent your time?

02-26-05

Quote of the Day

Posted by John

Every project we undertake starts with the same question: How can we do what has never been done before?—Stuart Hornery, Lend Lease

Posted by Tom Peters

Originally from Dispatches from the New World of Work

Graytone | Design: Tenant Report