We want to post HTML codes on our posts for code examples, but this would create problems because the browser converts the HTML codes to tags.This is where the Online HTML escape tool comes in. this tool converts HTML tags with the correct HTML entities escape characters so that it will be displayed as is.
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml” xml:lang=”en” lang=”en”>
<head>
<meta http-equiv=”content-type” content=”text/html; charset=iso-8859-1″ />
<meta name=”author” content=”raven” />
<title>My Page</title>
</head>
<body>
</body>
</html>
There are a few thoughts we have to take note about Javascript Associative Arrays:
Arrays (which act as hash tables) have nothing to do with the built-in Array object. They simply rely on the fact that object.property is the same as object["property"]. This means that the length property is not used, nor do any Array methods (such as join) do anything.
The way to iterate over the items in an associate array is to use the for (value in array) construct, allowing you to access each item’s value via array[value].
Initialize a Javascript …
Got this from the Magento Forum. Here are the downsides for this method
1. These modifications WILL be overwritten if you try to upgrade.
2. This is a pain to do– and a bit mathy.
3 files in question to customize the invoice PDF are:
/app/code/core/Mage/Sales/Model/Order/Pdf/Invoice.php
/app/code/core/Mage/Sales/Model/Order/Pdf/Abstract.php
/app/code/core/Mage/Sales/Model/Order/Pdf/Items/Abstract.php
If ALL you want to do is change the font size, then it’s quite easy. If, however, you want to change the font (I changed it to helvetica for a smaller PDF file size since Helvetica does not have to be embedded) or change the paper size to US …
By default, Magento doesn’t allow you to delete Orders on the backend. Well, there is no option in the admin for now. But guess what? there is a work around (yeah~ I know you’ve already expected this.). Boutik Circus created this “Delete Orders” extension which allows you to delete cancelled orders.
Why can we delete cancel order only?
That’s because deleting a complete order breaks links with invoices and shipments and could creates a lot of troubles.
Go to Delete Orders Extension.
Install this extension via Magento Connect Manager.
Magento Connect -> Magento Connect Manager
Companies outsource mainly to cut cost. There is an imbalanced supply and demand of IT talent in top IT countries like the United States and it is driving many corporations to rely on offshore outsourcing as the solution. This cost-effective and quality pool of IT talent from offshore outsourcing services provides a much better value in terms of flexibility and scalability.
With dozens of areas around the world that are trying to grab a slice of the outsourcing business. Iloilo City, Philippines is popularly considered a Hot Spot for Outsourcing Companies. …