941-685-8851

Author Archive

Magento remove Get help for this page

In the Magento admin to the right of the top navigation menu bar, there is a “Get help for this page” link, which links to the magentocommerce website. This is great for someone who is installing, developing and administrating a Magento ecommerce website themselves. However, what if you are a Magento shopping cart web designer developing an ecommerce website for a client. When the client tries to administer the shopping cart website,  such a link can prove to be quite confusing. To avoid this client confusion, it is best to simply remove the link. Here is how to  remove the “Get help for this page” link in the Magento admin.

Edit the following file:

/app/design/adminhtml/default/default/template/page/menu.phtml

Delete the following:

<a id=”page-help-link” href=”<?php echo Mage::helper(‘adminhtml’)->getPageHelpUrl() ?>”><?php echo $this->__(‘Get help for this page’) ?></a>
<script type=”text/javascript”>$(‘page-help-link’).target = ‘magento_page_help’</script>

<a id=”page-help-link” href=”<?php echo Mage::helper(‘adminhtml’)->getPageHelpUrl() ?>”><?php echo $this->__(‘Get help for this page’) ?></a>    <script type=”text/javascript”>$(‘page-help-link’).target = ‘magento_page_help’</script>

The ”Get help for this page” link will now be removed from the Magento admin.

Share
 

WordPress Voted Best CMS for 2010

WordPress was voted Best Website CMS (content management system) for 2010, under the Hall of Fame category, which is reserved for software that has won the Open Source CMS Award at least once in the past. WordPress was voted Best CMS of 2009 as well. Two years in a row establishes a trend that much of the world’s web design community already knows, WordPress is the best website publishing system in the World. But don’t take a Sarasota website designer ‘s word for it. And don’t let the votes of the Open Source Awards sway your opinion, nor the other hundreds of thousands of website designers across the world who swear by WordPress web design. Instead, ask Yahoo why they use WordPress. Ask Sony why they use WordPress. Ask the New York Times, CBS, Pepsi, GM, GE, MIT, Intel, Best Buy, The U.S Army, The U.S. Air Force, Harvard University, The Wall Street Journal, National Geographic, Samsung, Ebay, Duke University, Delta Air Lines, Lexus, San Diego Zoo, Xerox, Fox News, The NFL, Nokia, Cornell University, The American Red Cross, Library of Congress, Forbes, Boston University, The Official Star Wars Blog, National Republican Senatorial Committee, University of Southern California, Network Solutions, MTV, McAfee, Fischer Price, Nikon, Blackberry, Nivea, University of Maine, Mozilla, Republican Governors Association, University of Arkansas,  Congressional Budget Office, Oregon State University, AMD, DC Comics, Wired, University of Toronto, Rackspace, ZDNet, University of Florida, Carnival Cruise Lines, Reuters, Anderson Cooper 360, University of Missouri, Larry King Live, Danielle Steel, University of Melbourne, Benjamin Netanyahu, Nancy Pelosi, University of Berlin, Charles Barkley, Ryan Seacrest, Sylvester Stallone, University of Calgary…. And that is just a small sample of the companies and institutions that are using WordPress web design to manage corporate, government and organization websites. So you can feel confident that WordPress web design will serve your website needs. Razworks Web Design Sarasota specializes in WordPress web design. Call Razworks today for a free Sarasota Web design consultation – 941-685-8851. Or click here to send Razworks a quick email.

Share
 

Florida tax rates for ecommerce shopping cart websites

When you sell products via an ecommerce shopping cart website, tax laws are similar to that of mail order. Tax is only required if the purchaser resides in the same state as the seller. Many states have a single, flat tax rate. For example, Connecticut has one 6% tax rate for the entire state. Other states allow counties to levy an additional local tax ontop of the state tax rate. For example, Florida law mandates a minimum sales tax rate of 6%, however, the law also provides for an optional local sales tax that allows each county to set its own local tax that is collected on top of the general state rate.

This means that a Florida resident will often pay a different sales tax rate from one Florida county another.  If theFlorida resident purchases a product from Connecticut, they pay no sales tax because they are not a resident of Connecticut. The same rule applies to ecommerce shopping cart websites. If the person purchasing from you shopping cart website resides in the same state as you, you must collect sales tax. If they reside in a different state from you, you do not collect sales tax. When configuring an ecommerce website, not only must we configure the base state tax, but the county state taxes must also be accommodated. This is determined by zipcode.

Below is a list of the current rates for each county in the Florida.

Alachua     6.25%
Baker     7.00%
Bay     6.50%
Bradford     7.00%
Brevard     6.00%
Broward     6.00%
Calhoun     7.50%
Charlotte     7.00%
Citrus     6.00%
Clay     7.00%
Collier     6.00%
Columbia     7.00%
De Soto     7.00%
Dixie     7.00%
Duval     7.00%
Escambia     7.50%
Flagler     7.00%
Franklin     7.00%
Gadsden     7.50%
Gilchrist     7.00%
Glades     7.00%
Gulf     7.00%
Hamilton     7.00%
Hardee     7.00%
Hendry     7.00%
Hernando     6.50%
Highlands     7.00%
Hillsborough     7.00%
Holmes     7.00%
Indian River     7.00%
Jackson     7.50%
Jefferson     7.00%
Lafayette     7.00%
Lake     7.00%
Lee     6.00%
Leon     7.50%
Levy     7.00%
Liberty     7.00%
Madison     7.50%
Manatee     6.50%
Marion     6.00%
Martin     6.50%
Miami-Dade     7.00%
Monroe     7.50%
Nassau     7.00%
Okaloosa     6.00%
Okeechobee     7.00%
Orange     6.50%
Osceola     7.00%
Palm Beach     6.00%
Pasco     7.00%
Pinellas     7.00%
Polk     7.00%
Putnam     7.00%
St. Johns     6.00%
St. Lucie     6.50%
Santa Rosa     6.50%
Sarasota     7.00%
Seminole     7.00%
Sumter     7.00%
Suwannee     7.00%
Taylor     7.00%
Union     7.00%
Volusia     6.50%
Wakulla     7.00%
Walton     7.00%
Washington     7.00%

Share
 

Magento remove Estimate Shipping and Tax

Magento offers a built in Estimate Shipping and Tax feature to provide shopping cart customers with realtime feedback of tax and shipping estimation when shopping on an ecommerce website. But often, website owners don’t want to display the Estimate Shipping and Tax function on their shopping cart website. For example, some shopping cart website owners will offer free shipping or flat rate shipping, which makes shipping estimation irrelevant, not to mention confusing and distracting to ecommerce customers.  Fortunately for ecommerce web designers, it is quite easy to disable the Estimate Shipping and Tax function on a Magento shopping cart website.

Edit your checkout.xml layout file. The default file in Magento 1.6 would be located in app/design/frontend/base/default/layout/checkout.xml

Remove the following block:

<block type=”checkout/cart_shipping” name=”checkout.cart.shipping” as=”shipping” template=”checkout/cart/shipping.phtml”/>

This block can be found within <reference name=”content”>

Refresh the Magento cache and the Estimate Shipping and Tax menu will be removed.

Share
 

WordPress display post thumbnail

The featured image functionality in WordPress is quite useful.

Example:

Just displays the featured image thumbnail without sizing or attributes..

Share
 

WordPress modifying the comment form

To modify the comment form in a WordPress website, it is best practice to pass arguments to the comment_form function in the web design theme. For example, the WordPress 3.x default theme, TwentyTen, you would edit the comment_form function in the comments.php theme template.

The default function is:

<?php comment_form(); ?>

For example, to remove the Website URL field, remove the allowed markup list, and change the labels for the name, email and message fields, you would replace the default function with:

<?php $comment_args = array( 'fields' => apply_filters( 'comment_form_default_fields', array(
 'author' => '<p>' .
 '<label for="author">' . __( 'Please enter your name' ) . '</label> ' .
 ( $req ? '<span>*</span>' : '' ) .
 '<input id="author" name="author" type="text" value="' .
 esc_attr( $commenter['comment_author'] ) . '" size="30"' . $aria_req . ' />' .
 '</p><!-- #form-section-author .form-section -->',
 'email'  => '<p>' .
 '<label for="email">' . __( 'Please enter your email' ) . '</label> ' .
 ( $req ? '<span>*</span>' : '' ) .
 '<input id="email" name="email" type="text" value="' . esc_attr(  $commenter['comment_author_email'] ) . '" size="30"' . $aria_req . ' />' .
 '</p><!-- #form-section-email .form-section -->',
 'url'    => '' ) ),
 'comment_field' => '<p>' .
 '<label for="comment">' . __( 'Please enter your comments, questions or requests:' ) . '</label>' .
 '<textarea id="comment" name="comment" cols="45" rows="8" aria-required="true"></textarea>' .
 '</p><!-- #form-section-comment .form-section -->',
 'comment_notes_after' => '',
);
comment_form($comment_args); ?>

Save and upload and your WordPress comment form will now be changed.

Share
 

WordPress twentyten_posted_on

WordPress 3.x ushered in a new groundbreaking overhaul of the world’s most popular website content management system. Along with powerful new tools that make WordPress the modern web developer’s CMS package of choice, a new WordPress default theme was released, TwentyTen. The new TwentyTen theme ships as the default WordPress theme and replaces the old, dated Kubric default theme. TwentyTen has a more modern look and uses more modern functionality, while remaining simple enough to be used as a default theme.

WordPress recommends that theme author’s make a copy of the default theme that ships with WordPress, and use this copy as a template when creating a new custom theme. This makes perfect sense. By keeping an active version of the default WordPress theme installed, a theme author can always revert to the default theme, should a problem arise. An active default theme also serves as a great troubleshooting tool for theme authoring and plugin installation.

A common edit to the TwentyTen theme is removing the authored by listing from the post meta title, generated by a function called ‘twentyten_posted_on’. This is rather simple to resolve.

The twentyten_posted_on function is in the functions.php file, on line 273.

Remove the values for the author by changing the following code:

function twentyten_posted_on() {
 printf( __( '<span>Posted on</span> %2$s <span>by</span> %3$s', 'twentyten' ),
 'meta-prep meta-prep-author',
 sprintf( '<a href="%1$s" title="%2$s" rel="bookmark"><span>%3$s</span></a>',
 get_permalink(),
 esc_attr( get_the_time() ),
 get_the_date()
 ),
 sprintf( '<span><a href="%1$s" title="%2$s">%3$s</a></span>',
 get_author_posts_url( get_the_author_meta( 'ID' ) ),
 sprintf( esc_attr__( 'View all posts by %s', 'twentyten' ), get_the_author() ),
 get_the_author()
 )

Your modified code should look like this:

function twentyten_posted_on() {
 printf( __( '<span>Posted on</span> %2$s', 'twentyten' ),
 'meta-prep',
 sprintf( '<a href="%1$s" title="%2$s" rel="bookmark"><span>%3$s</span></a>',
 get_permalink(),
 esc_attr( get_the_time() ),
 get_the_date()
 )

Now only the “Posted on Month, Day, Year” will display on post meta-titles. The author will no longer display.

Share
 

WordPress Login text

WordPress web design customization can be a simple task for experienced WordPress developers. By simply adding function calls and filters to the active theme’s ‘functions.php’ file, you can perform just about any WordPress web design customization, to both the front end and backend of WordPress websites.

WordPress has a built in function for logging users in and out called ‘wp_loginout’. The default text displayed for this is ‘Log in’ and ‘Log out’ respectively. But what if you want your login link to display as ‘Sign in’ and ‘Sign off’ instead of the default ‘Log in’ and ‘Log out’? Add a filter to the active theme’s functions.php of course.

/**
 * Change login text
 */

add_filter('loginout','loginout_text_change');
function loginout_text_change($text) {
$login_text_before = 'Log in';
$login_text_after = 'Sign in';

$logout_text_before = 'Log out';
$logout_text_after = 'Sign off';

$text = str_replace($login_text_before, $login_text_after ,$text);
$text = str_replace($logout_text_before, $logout_text_after ,$text);
return $text;
}

Now upload the edited functions.php file, and when viewing the WordPress web design in a web browser, the ‘Log in’ text link will now display as ‘Sign in’.

Share
 

Web Design and browser cache

Web design clients will often claim they cannot see web design edits when reviewing a web design draft. If at anytime edits are not apparent in your browser, refresh your browser. If refreshing doesn’t work, delete the browser cache, then refresh. Web browsers will take ‘snapshots’ of a web page and save them to your computer. So when you visit that page again, instead of downloading the page from the Internet, it merely loads the saved page from your computer, making the load time much faster. This can cause changes to a web page to not be visible until the browser is refreshed, or the cache is deleted.

Share
 

WordPress 3.0.1 Post Thumbnails

With WordPress 3.0.1, you can add images to identify each post individually.

Make sure the function:  ‘add_theme_support( ‘post-thumbnails’ ); ‘ is clarified in your functions.php file.

Then add the following to your loop.php file where you want the post thumbnail to appear:

<?php // The Post Thumbnail function is active by default, but this line of php will make it display.
if ( function_exists(“has_post_thumbnail”) && has_post_thumbnail() ) { the_post_thumbnail(array(100,60), array(“class” => “alignright post_thumbnail”));
} //Post Thumbnail Ends ?>

So if you want your web design to show thumbnails on the post title, insert the code with the title attribute:

<h2><a href=”<?php the_permalink(); ?>” title=”<?php printf( esc_attr__( ‘Permalink to %s’, ‘twentyten’ ), the_title_attribute( ‘echo=0′ ) ); ?>” rel=”bookmark”><?php the_title(); ?>

<?php // The Post Thumbnail function is active by default, but this line of php will make it display.
if ( function_exists(“has_post_thumbnail”) && has_post_thumbnail() ) { the_post_thumbnail(array(100,60), array(“class” => “alignleft post_thumbnail”));
} //Post Thumbnail Ends ?>

</a></h2>

If you want your web design to show thumbnails before the content, insert the code before the content attribute:

<div>
<?php // The Post Thumbnail function is active by default, but this line of php will make it display.
if ( function_exists(“has_post_thumbnail”) && has_post_thumbnail() ) { the_post_thumbnail(array(100,60), array());
} //Post Thumbnail Ends ?>
<?php the_content( __( ‘Continue reading <span>&rarr;</span>’, ‘twentyten’ ) ); ?>
<?php wp_link_pages( array( ‘before’ => ‘<div>’ . __( ‘Pages:’, ‘twentyten’ ), ‘after’ => ‘</div>’ ) ); ?>
</div><!– .entry-content –>

Share