Category archives: Tech Tips

 

 

 

 

175

Javascript goodies

Text auto-complete: http://devthought.com/textboxlist-meets-autocompletion/ Links from Smashing Mag: http://www.smashingmagazine.com/2008/09/11/75-really-useful-javascript-techniques/ http://www.smashingmagazine.com/2009/02/08/50-extremely-useful-javascript-tools/ http://www.smashingmagazine.com/2008/04/15/60-more-ajax-and-javascript-solutions-for-professional-coding/ http://www.smashingmagazine.com/2008/09/16/jquery-examples-and-best-practices/

 

191

IE7: page contains both secure and nonsecure items

 This message shows up on secure pages and sometimes it’s really hard to find what’s causing it. Since your page is secure, all the external files, including CSS files, Javascript include files and images need to be linked from secure https pages in order for IE7 to load your page without errors. The Fiddler tool [...]

 

89

Short (or not?) write-up on FOWD 2008 in NYC

Ryan Singer, 37 signals The future of web app interface design. Ryan only talked about 2 problems: 1) disconnect between designers and developers The usual process that 90% of the companies are using is separating designer from front end developers from developers. (there supposed to be a diagram here, i might add later) But the [...]

 

141

Add a PDF icon to anchor links

In your PHP code add the following line: $html = eregi_replace (‘<a href=”([a-z0-9./-_ ]+.pdf)”>’, ‘<a href=”\\1″ class=”pdf”>’, $html); And in your CSS file: a.pdf { background:url(../images/pdf_icon.gif) bottom right no-repeat; padding-right:40px; }

 

139

Best Global Search and Replace Program

I’ve been looking and trying out at least 7 different search&replace programs until I found PowerGrep for Windows. It is totally awesome, FAST and easy to use. Another program, Actual Search & Replace worked through my folder with ~250 files for at least 2 hours, and this baby is doing in less than 2 minutes! [...]

 

 

183

Batch update custom fields in Wordpress

If most of the pages have the same custom field values and need to be updated, going through each page manually would take long time. This can be done by running an update query directly to the database. This should be done carefully, of course. Steps: 1) Make a backup of the database. 2) Custom [...]

 

135

Sitemap Generator

This standalone sitemap generator script is really a timesaver, not only when it comes to creating sitemaps but also finding broken links and inspecting the site structure. It also keeps a log of changes – new URLs that’s been added and URLs removed from the site. I’ve been working on an enormous site recently and [...]