Restore GRUB after installing windows 7

I have re installed windows 7 on my desktop PC in order to get the latest and replace my RC installation, installation was quite fine and windows was set up.

The thing was that I had double boot, windows and ubuntu 9.04.
After installing Windows, my GRUB loader was wiped out by the windows installer, so I had to restore that, here are the steps I followed, pretty simple and easy to achieve:

1. Pop in the Live CD, boot from it until you reach the desktop.

2. Open a terminal window or switch to a tty.

3. Type “grub”

4. Type “root (hd0,6)”, or whatever your harddisk + boot partition
numbers are (my /boot is at /dev/sda7, which translates to hd0,6 for
grub).

5. Type “setup (hd0)”, ot whatever your harddisk nr is.

6. Quit grub by typing “quit”.

7. Reboot.

The original post can be found here: http://ubuntuforums.org/archive/index.php/t-24113.html

Archive old orders Magento Extension

With this extension you will be able to archive older orders so those are not shown on the “Sales -> Orders” grid.


The orders are not deleted, just not returned when you query the database for current orders. You can see the archived orders on a new grid specially created for this orders.


To archive an order you have to select the orders from the Sales Orders grid and on the mass action select, choose “Archive” the selected orders will be then archived. 


On a future version I will add the feature to automatically archive orders older than “X” days.

You can get this extension at the price of $ 69 american dollars.

Best Practices for Magento Development

Worth taking a look:

The recording of the highly attended kick off of the new Magento Developer Solutions series of webinars is now available on the Magento Webinar Archive. Be sure to check out recordings of our other great webinars as well, all on the Magento Webinar Archive

Source: http://www.magentocommerce.com/blog/comments/now-available-best-practices-for-magento-development-in-the-webinar-archive/

OpenSearch Plugin Magento Extension


With this extension when a user visits any page of your store, if they are using a browser that supports OpenSearch they will have the possibility to add your webiste to their Search engines list, so they do not have to visit your website in order to search for something.


OpenSearch is a collection of simple formats for the sharing of search results.
The OpenSearch description document format can be used to describe a search engine so that it can be used by search client applications.

The OpenSearch response elements can be used to extend existing syndication formats, such as RSS and Atom, with the extra metadata needed to return search results.

You can purchase this extension only at $21!

Error on EAV Entity Abstract

If you get an error like this:

with message ‘Warning: Invalid argument supplied for foreach()  in /var/www/magento/app/code/core/Mage/Eav/Model/Entity/Abstract.php on line ...


try using this code

Mage::app()->setCurrentStore(Mage_Core_Model_App::ADMIN_STORE_ID);

Mexican Regions Magento FREE extension

Mexican regions, distritos mejicanos

 

      Just adds the mexican regions to the database of Magento.


Another free extension delivered a few days ago.

You can find it here: http://www.magentocommerce.com/extension/2956


Thanks to octavio for this request
 

Medicare

Development of Medicare’s website

This website is developed using:

  • jQuery
  • CakePHP
  • MySQL


Ajax is used, degrades gracefully, because the intention was that the header “never” reloads.

xHTML/CSS coding is done by Ziongem

Most of the content is static and are just ctp files (CakePHP template extensions).

It was nice to develop this website since after it was done, the designer told me “hey! but the header shouldnt reload on every click”, “okay” I said, lets put some ajax on it! smile

Uruguayan Regions

After seeing Damian Culotta’s I have a released on for my country

The extension can be found here

The extension is coded in a way that upon installation looks for regions on the config.xml file, iterates over those and inserts the into database, flexible and simple.

I hope to see a lot of Uruguayan ecommerce site with this extension installed. smile

How to get current URL on phtml files

Simple tip where you will get the code to “extract” current Magento url from a template file.

Here is the code.

You can use it on any phtml file.

$this->helper('core/url')->getCurrentUrl() 


Behind the scenes, this calls a helper method and retrieves the current url.

You can also use this on any file by changing it to this code:

Mage::helper('core/url')->getCurrentUrl() 


FREE Automatic Database Backup Extension for Magento

With this extension you wont have to worry about backing up your database or using external scripts, tools to do so.

You just need Magento’s cron up and running, and this module will do the rest.

You can find more information on how to setup Magento’s cron jobs here: http://www.magentocommerce.com/wiki/how_to/how_to_setup_a_cron_job

The module creates a backup of your database every day at 1am, the backup is saved on Magento’s backup list, that you can find under, System -> Tools -> Backups

Also, along with this feature, you will find a file called: “centerax_db_backup.php”, with this file you can create a backup of the database from the command line by executing this line: “/absolute/path/to/bin/php -f /absolute/path/to/magento/centerax_db_backup.php”

You will find those backups on the Magento’s backup list also.

In order to change when the module creates a backup you must edit this file: “app/code/community/Centerax/AutomaticBackup/etc/config.xml” on line 34.

For example, if you want backups every week (every monday at 1am), you should change: “<cron_expr>0 1 * * *</cron_expr>” to “<cron_expr>* 1 * * 1</cron_expr>”

You can find more information on cron expressions here: http://www.cyberciti.biz/faq/how-do-i-add-jobs-to-cron-under-linux-or-unix-oses/

You can get the extension on Magento Connect