How to add admin panel Custom Menu in Magento?
Added a new tab in the admin panel take a look at the picture Folder structure:- Here is what i have in my files:- 1) IN — app/etc/modules/Shraddha_CreateAdminController.xml [php] <?xml version=”1.0″?> <config> <modules> <Shraddha_CreateAdminController> <active>true</active> <codePool>community</codePool> </Shraddha_CreateAdminController> </modules> </config> [/php] 2) IN– app/code/community/Shraddha/CreateAdminController/etc/config.xml [php] <?xml version=”1.0″?> …
Restrict the date on second CJuiDatePicker based on selected date in first CJuiDatePicker
Hello guys, Having issue in datepicker where end date is greater then start date do as below. [php] <pre class=”prettyprint”>//booking_from datepicker <?php $this->widget(‘zii.widgets.jui.CJuiDatePicker’,array( ‘id’ => CHtml::getIdByName(get_class($model) . ‘[booking_from]’), ‘name’=>’booking_from’, ‘model’=>$model, ‘attribute’ => ‘booking_from’, //’flat’=>true, ‘model’=>$model, ‘options’=>array( ‘dateFormat’ => ‘D, d M yy’, ‘showAnim’=>’slide’,//’slide’,’fold’,’slideDown’,’fadeIn’,’blind’,’bounce’,’clip’,’drop’ ‘changeMonth’=>true, ‘changeYear’=>true, …