TransformJS allows 2D and 3D transforms as regular CSS properties, you can set using .css() and animate using .animate(). To solve the cross-browser support problem, TransformJS uses feature detection to analyze the supported features of the browser it is running in and adapts accordingly. To solve the multiple transforms problem, TransformJS applies a cssHook for every … Continue Reading
Monthly Archives
September 2011
How to Preset New Customer Password in Magento Admin Panel
Step 1: Open the file Account.php in the below path appcodecoreMageAdminhtmlBlockCustomerEditTabAccount.php Step 2: Around line 163 the password fieldset code will exist as shown
1 2 3 4 5 6 7 8 9 10 11 12 |
$newFieldset = $form->addFieldset( 'password_fieldset', array('legend'=>Mage::helper('customer')->__('Password Management')) ); $field = $newFieldset->addField('password', 'text', array( 'label' => Mage::helper('customer')->__('Password'), 'class' => 'input-text required-entry validate-password', 'name' => 'password', 'required' => true ) ); |
Step 3: Add the Below code after the fieldset,but just before the setRendered method call. As shown below
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
$newFieldset = $form->addFieldset( 'password_fieldset', array('legend'=>Mage::helper('customer')->__('Password Management')) ); $field = $newFieldset->addField('password', 'text', array( 'label' => Mage::helper('customer')->__('Password'), 'class' => 'input-text required-entry validate-password', 'name' => 'password', // This name is set as first argument in setData 'required' => true ) ); $customer->setData('password', 'mynewpass'); // Your default new password here $field->setRenderer($this->getLayout()->createBlock('adminhtml/customer_edit_renderer_newpass')); |
Here the first argument to the setData is the name field … Continue Reading
How to add additional row limit count in magento admin grid
Magento Provides the Grid Based Layout in adminpanel pages for most of the pages like manage customers,manage products etc. The default row limit options are 20,50,100,200 etc per page. But for the stores with more than 1000 products and customers these options are not sufficient to display the records in less no. of pages. Step … Continue Reading
Rest API, documenting with nice user interface
Would you like to document your API with style? Swagger is a specification and complete framework implementation for describing, producing, consuming, and visualizing RESTful web services. The overarching goal of Swagger is to enable client and documentation systems to update at the same pace as the server. The documentation of methods, parameters and models are … Continue Reading