Archives
Web Design
Auto restoring all mysql
databases within a directory
Here is a simple ssh code to restore all databases within a directory. This is an automated batch restore. Meaning you don’t have to sit there entering commands all night long. This is great if you are migrating databases to a new server. Or, if God forbids you have to store all mysql databses on your server for whatever reason.
02/17/12 by Miles
6 Tips For Choosing
A Web Developer.
When choosing a web developer or designer there are a few things to consider before you spend.
1. Choose a local developer.
I am a firm believer that you will get better production quality and work if you stay local. Meaning if you live in Tulare or Visalia California choose someone from Tulare or Visalia. It is okay to choose a developer from a few counties a way but I would advise against doing work with someone that is more than a day’s drive away. Why? because with a local designer you can talk to them in person. Yes, I know this is a strange concept in skype and twitter age world. But to be honest with you, these technologies only work so well, people lose e-mails. It is a lot easier to go over color schemes and designs in person than trying to explain it over the internet. Plus, when you don’t outsource to other countries it helps your local economy and networking circle.
01/03/12 by Miles
Linux Command,
WordPress Version and location
For web hosts out there that need to know where all wordpress installs are located on their server use the following command from root access:
Read More
by Miles
Favorite Linux Commands
Here are some basic linux commands that every web site designer should memorize. I personally love moving files from root level. It is much faster to install software like magento, wordpress, joomla, and etc. Trying to install magento through ftp is a pain. Doing it through ftp can turn into a whole day adventure if you have a poor internet connection. Knowing these commands should cut down on your production time.
12/02/11 by Miles
Magento – allow users to
code HTML in Short Description
of products in 6 easy steps
Sometimes people want to be able to add html code directly to the short description section of a product on a magneto shopping cart.
For example someone might want to bold a product feature in the description.
To allow users to do this there is a simple fix.
Step 1: Login to your magento backend and go to Catalog > Attributes > Manage Attributes
Step 2: Find the attribute entitled “short_description” click on it.
Step 3: Change enable “WYSIWYG” to yes then save the attribute.
Depending on the magento you are running this might do the trick. This often will work great for the single product view but when looking at a category page it will not render the code properly. If your the category list page still looks funky then you have three more steps to do!
Step 4: Open your ftp and go to /app/design/frontend/default/yourtemplate/template/catalog/product/list.phtml
Step 5: Find the line
<?php echo nl2br($this->htmlEscape($_product->getShortDescription())) ?>
Changing to this…
<?php echo nl2br($_product->getShortDescription()) ?>
Step 6: Save the file and get yourself a reward… your done.
11/14/11 by Miles
Endless WordPress Loop…
When migrating from our server to our clients server we ran into a strange problem. Basically whenever the user tried to login at /wp-admin. They would be sent into an endless loop. This loop would send the user back to the login page as though nothing happened. After hours of work we finally fixed this error… a long the way I found out that there are any many different issues that may be causing this loop. So here is the way we troubleshooted the problem.
1. Try deleting your browsers cache and cookies. Once this is done restart your computer. If this doesn’t fix the problem then I am sorry.. continue to number 2. If it does work… your welcome and your lucky. Read More
10/27/11 by Miles
Button King
Button King, Inc. is a custom button printing and designing company located locally in Visalia, California. I developed this site on Magento, an open source shopping cart system. The system helps provide a great user experience while giving the me, the developer, flexibility to generate great plugins. At buttonking.com users can buy products and upload their artwork when purchasing their order.
10/22/11 by Miles
Mike’s Sound Solutions
While working at Allied Computer Solutions I was in charge of the Mike’s Sound Solutions web project. For Mike’s Sound Solutions I helped design and code an easy to use wordpress template. This custom template utilizes many great plugins and features of wordpress. Giving the owners a easy way to update content on their website as well as providing the users with a great experience.
Here is a link to their web site: http://www.mikessoundsolutions.com
10/21/11 by Miles
Creating a Dynamic JQuery
Accordion for WordPress
Setting up the backend
The goal of this tutorial is to create a fancy dynamic jquery accordion that you can access from your wordpress theme. This is great for FAQ pages or any page with lots of content.
Step 1. Download wpalchemy from http://www.farinspace.com/wpalchemy-metabox/#download
Wpalchemy will help us create our custom metabox quickly. Once you have the latest files place the two wpalchemy files into your theme’s folder.
Next navigate to the theme’s folder. For this demo I will be using the twentyeleven theme as an example… We will start creating the metabox by first going to the theme’s functions.php
Here, at the end of the function.php we will need to add a few lines of code to initiate the wonderful code provided by wpalchemy. Here is what we need to add:
// include the class in your theme or plugin
include_once 'MetaBox.php';
include_once 'MediaAccess.php';
// include css to help style our custom meta boxes
if (is_admin()) { wp_enqueue_style('custom_meta_css',
get_bloginfo('stylesheet_directory') . '/metabox/meta.css'); }
$wpalchemy_media_access = new WPALchemy_MediaAccess();
$custom_metabox = new WPAlchemy_MetaBox(array
(
'id' => '_custom_meta',
'title' => 'Add Accordion',
'template' => STYLESHEETPATH . '/metabox/accordion.php',
)
);
The first line two lines call the MetaBox.php and MediaAccess.php which are needed to run the metabox… Read More
10/18/11 by Miles
Sebesta’s best of the best
Here are my favorite “best of” lists for photoshop tutorials. I like to use these lists for inspiration when doing web site design and graphic work. I have gone through a lot of “best of” lists and here are my top three favorite. I hope you enjoy them as much as I do.
1. 30 Best Photoshop Abstract Effect Tutorials
2. 65+ Smoking Photoshop Text Effect Tutorials
3. 50 Dirty, Filthy Grunge Photoshop Effects
10/17/11 by Miles



