Increase size of text:   A  A  A

Wednesday, May 6, 2009

Great GREP tutorial/summary over at Ars

Ars Technica is running a great primer on GREP by Ryan Paul. Covers basic usage and then introduces the user to regular expressions. Check it out here.

posted by Brad Kelley at 6:50 pm  

Tuesday, May 5, 2009

Suggested Reading

Don't Make Me ThinkDon’t Make Me Think is suggested reading for darn near everyone in the field of web design and deployment. Susana Bruhn got me thinking about this book again recently when she was asking for good user interface source material and I recommended it. Along these lines, she also passed along 8 Characteristics Of Successful User Interfaces, a great blog entry over at Usability Post.

posted by Brad Kelley at 6:01 pm  

Friday, May 1, 2009

PDF Linking Reminders

Get Adobe ReaderQ) Can you deep link inside a PDF?
A) Yes, but only by specifying PDF page numbers. Can’t link to Bookmarks. Link would look like this:

http://www.domain.com/test/test.pdf#page=3

Q) Can you specify a link in a PDF to open it’s target in a new window?
A) No, not for URL links. They will open in the same window the PDF was in, thereby replacing the PDF.

Q) Can links in PDFs be specified as relative?
A) Yes, for URL links.

posted by Brad Kelley at 1:33 pm  

Thursday, April 30, 2009

Phoca Gallery Joomla Plug 404 Error Resolution

Here’s an oddity that I don’t quite understand, but am happy to simply note the solution for. =)

Installed Phoco Gallery on two sites recently. On the first site everything works fine. On the second site clicking a thumbnail generates a 404 error. Hmm. Everything is configured the same, but I found this post on their support forums that offered a solution. It wasn’t the exact same problem I was having, though. I was using the Random Image component instead of the Tree component, so it wasn’t clear if it would be the same problem or not. In the end, simply creating a menu item (on any menu) that is a Phoca Gallery page will alleviate the problem. I checked, and on the older site I did indeed have a test menu item for Phoca. On the new site I did not. Adding a menu item for Phoca (even though unused) was enough. How strange, but at this point I’m just happy it worked! =)

Update: It appears the menu item has to be published and not in the Menu Trash. Heh. =) I stuck it on an unused menu.

posted by Brad Kelley at 11:04 pm  

Thursday, April 23, 2009

Notes on Google (XML) Sitemaps Generator for WordPress

Found a great WordPress plugin for automatically generating/updating a Google sitemap file for a blog. It’s called Google (XML) Sitemaps Generator for WordPress and it’s pretty slick. Had some nice debugging features to help out developers with odd environments, too. The one problem, and I saw this coming, was that the entire blog directory must be writable by the script, which in some environments means it must be 777. Groan.

posted by Brad Kelley at 1:25 pm  

Friday, April 17, 2009

Great Email CSS-Compliance Chart

Great chart over at Campaign Monitor showing what CSS properties various email readers (both desktop and web-based) support. Handy for those of us who craft HTML-based emails for clients. =)

posted by Brad Kelley at 8:32 pm  

Tuesday, April 14, 2009

Some Useful Facebook SEO Information

Here’s a couple of links worth reading that pertainto Facebook and SEO/SEM…

posted by Brad Kelley at 8:36 pm  

Tuesday, April 14, 2009

Server Side Includes on Linux

I so rarely use server side includes (SSI) on Linux systems that today I ran into the same problem this guy had. I use them all the time in our Windows environments, but in our Linux-based PHP-world, I use the PHP-based versions (include or require). It’s basically just a matter where you can’t include something from above the directory you’re in with Linux SSI. Boooo! I’m sure there’s some perfectly reasonably security reason for this somewhere. Anyone?

posted by Brad Kelley at 3:08 pm  

Monday, April 13, 2009

WordPress Media Upload Issue

More permissions issues. After installed WordPress 2.71, make sure /wp-content/ is writable by WordPress, or you will have to manually add the /wp-content/uploads/ directory and make it writable by WordPress. This could very likely take the form of 777 permissions (groan).

posted by Brad Kelley at 2:37 pm  

Tuesday, April 7, 2009

Hosting domains/subdomains across multiple servers

Just a quick, but important note about local and remote domains on Unix-type systems when you have a domain that has some functions on one machine and other functions on another machine… don’t forget to set localdomains and remotedomains appropriately.

For example, say you have www.domain.com on Machine A, and dev.domain.com on Machine B. Machine A is configured as the main web site and mail server. Some environments (and I’m talking specifically about WHM/cPanel here) will automatically add domain.com as local on Machine B. This means that when your scripts (or WordPress blog) running on Machine B try to send email to domain.com, it will get stuck on Machine B and never arrive on Machine A.

To avoid this, simply edit your localdomains and remotedomains files on Machine B:

/etc/localdomains
Here you’ll have to remove the domain.com entry. Just remove the whole line it’s on.

/etc/remotedomains
Here you’ll need to add domain.com as an entry. Just add the domain on a line by itself.

And that’s it. =)

posted by Brad Kelley at 5:09 pm  
« Previous PageNext Page »

Powered by WordPress