Category: Web Development

Hints HOWTOs HTML/XTML Web Development

Uncheck Checkbox Values

I recently ran into a situation with a custom form where users had a number of checkboxes where the values were saved upon submit. When they went back through the form to make changes, if they unchecked something that was already checked and submitted the form again, the checkbox value would not change (not empty). […]

Web Development WordPress

Show One Post/Page in WordPress

If you want to have a content area somewhere on your site that shows content from a post or page – and you want to do this with using the simplest of code (no loop, no query_posts, etc), check out the function get_post. The get_post function allows you to simply get one post’s title, content, […]

CSS Web Development WordPress

Quick CSS for WordPress Images (Updated)

A week or so ago, I posted some information on how to quickly style your WordPress images. After recently updating my company’s web site (SDAC Inc. – I noticed if you used captions, my custom CSS would not work. Here is some CSS that will work with and without image captions: The difference? I used […]

Hints HOWTOs WordPress

Find and Replace With phpMyAdmin (or using SQL)

Ever need to find and replace something in your WordPress database? (perhaps you changed domain names and have the old domain name or folder structure hard coded into some of your posts) You can easily update your database by using phpMyAdmin or by using the following code in any SQL interface: The first part of […]

Web Development

view-source: Firefox

I am generally a Safari user to do my web browsing unless I am debugging a web site – then I use Firefox because of the great web developer extensions. I cannot believe I did not know this before, but if you want to quickly view the source of anything (I just used it to […]

Hints HOWTOs Web Development

Undelete Something With SVN

Ever delete something with svn (svn del) and then realize you needed it again? You can get it back by using: svn copy -r HEAD filenameyoudeleted.extension filenameyoudeleted.extension svn copy is the command to get a working copy back -r is short for revision. I used HEAD which will give you the latest in repository. You […]

CSS Web Development

Using !important With CSS

I am not a “quick fix” or “work around” type of person. When a CSS debugging project comes my way I look first at fixing the problem systemically vs. applying the quick fix. Recently though I was brought into a project with an insane amount of CSS and conflicting styles all over the place. Since […]

HOWTOs Web Development

HOWTO Change the SVN Editor

Because I always forget…to change the text editor that svn uses with the commit messages, just type in this command (if you use bash): export SVN_EDITOR=vi *Substitute vi for your editor of choice. **Personally, I once was a pico/nano fan, then I moved to emacs, and now I am a vi person.

Javascript WordPress

Jappler Recommends: Lightview Plus WordPress Plugin

I recently switched from using a gallery WordPress plugin called fGallery to something that is more elegant and updated: NextGen Gallery During this transition, I found a really cool lightbox-ish plugin called Lightview Plus which is more polished than your typical lightbox plugin. Example: You do not have to add in extra code to get […]