Useful Git Commands

Override local
Sometime, we need to discard local changes, and need to download the repository from server. General git command git pull failed in this occasion.

By this way, any of your local changes will be lost, […] Continue Reading…

Posted in Uncategorized | Leave a comment

Osclass admin listing page – Change number of Listings

Locate File:
oc-admin/themes/modern/items/index.php
Locate the lines:

<select name=”iDisplayLength” class=”select-box-extra select-box-medium float-left” onchange=”this.form.submit();” >
<option value=”10″><?php printf(__(‘%d Listings’), 10); ?></option>
<option value=”25″ <?php if( Params::getParam(‘iDisplayLength’) == 25 ) echo ‘selected’; ?> ><?php printf(__(‘%d Listings’), 25); ?></option>
<option value=”50″ <?php if( […] Continue Reading…

Posted in OSClass, PHP | Tagged , | Leave a comment

Backend app with AdminLte, yii2-admin user and some extended classes

Today, I am not going to give any DOC or installation guideline.
You can check the demo at backendapp.makewebsmart.com

Surely you can give a look at the code. Code is available at GitHub Repo
https://github.com/MakeWebSmart/webapp
Installation Issue [init: missing runlevel […] Continue Reading…

Posted in PHP, Yii2 | Tagged , | Leave a comment

Yii2 – adding icon in menu with yii2-simpleapp class

I have worked to enhance the yii2 core Nav class for adding extra parameter that will get icon class for the menu items. You can find it at: SimpleNav – https://github.com/azraf/yii2-simpleapp/blob/master/classes/SimpleNav.php
Its also part of Yii2-simpleapp package. […] Continue Reading…

Posted in PHP, Yii2 | Tagged , | Leave a comment

Yii2 advancedApp with Yii2 admin, user and few more

This is a yii2 advanced application template based app comes with pre-installed RBAC (mdmsoft/yii2-admin), User profile (dektrium/yii2-user), upload files plugin (mdmsoft/yii2-upload-file) and few more coming to boostup initial development time.

Before start installation procedure, make sure composer […] Continue Reading…

Posted in PHP, Yii2 | Tagged , | Leave a comment