Current Version of Codefight CMS Available for Download:

« Version 1.7.0 »

NOTE: The code available is same as the code used for newer than this site at the time of release. Check cmsigniter.com for latest demo.

Codefight CMS is based on CodeIgniter - Open source PHP web application framework which is very easy to learn.

It would be nice to hear back some feedback. Also you can contribute with code and helping translating language files in your language.

You can use this CMS in anyway you want. You can modify as you like and use commercially for free.

 

 

Select Language.[TESTING For Next Release.]

English | नेपाली | French | German | Korean

Login | Select Language | Thu, 02 Sep 10 15:58:39 -0600

How to undo cancel of an order which was canceled by mistake?

2010-05-16 06:00:33Damodar Bashyal

 

I mistakenly canceled one order and spent a day to go through magento & different forums and blogs and searching for a solution and this is how i fixed myself after few tries. I am still not sure how to extend the controller so i modified the core file and made a copy so i can paste back if overwritten when upgrade or i can copy when i find the solution how to extend or override a magento controllers.

Create a file @ app\code\local\Codefight\Adminhtml\Block\Sales\Order\Grid.php

More»

 

Using jQuery with Magento Including Protype, Scriptaculous etc...

2009-05-02 03:30:26Damodar Bashyal

 

How to use jQuery with Magento?

Download jQuery from jQuery site

Add this line to the bottom of jQuery.js

CODE:

1-jQuery.noConflict();

Copy the file to the js/jquery folder|directory

In page.xml, add it to the list of js files as:

CODE:

1-<action method=“addJs“><script>jquery/jquery-1.2.6.noConflict.min.js</script></action>

or,

CODE:

1-<action method=“addItem“><type>js</type><name>jquery.js</name><params/></action>
How to use jQuery with magento now?

The below procedure is one way.

More»

 

how to use var_dump and print_r in magento

2009-04-23 04:28:46Damodar Bashyal

 

This one is crazy with magento because sometimes it works and sometimes it just shows blank page. Once it gave me a real hard time. Finally found solution somewhere. I just had to do was add

CODE:

1-->debug()
on the object that i wanted to print as
CODE:

1-$obj->debug(); //e.g. if i have $_cart = Mage::getModel('checkout/cart'); //to use print_r or var_dump, i need to do print_r($_cart->debug());

These are methods available for a product:

More»