URL in yii2
In this article i will show you “how to use some class(Html & Url) in yii2” to get relative and absolute URL. *note : My url yii2 located in http://localhost/yii2_advanced/ directory in /var/ww/html/yii2_advanced
In this article i will show you “how to use some class(Html & Url) in yii2” to get relative and absolute URL. *note : My url yii2 located in http://localhost/yii2_advanced/ directory in /var/ww/html/yii2_advanced
This article will explain How to Using cronjob in yii1 to making a file every minutes. 1) First, create a file in /protected/commands/CronjobCommand.php
In this article you’ll learn how to create CRUD in yii2 using GII. This below is sample output : DEMO HERE Let’s do it ! CONNECTION First, configure the database connection in common/config/main-local.php : TABLE The table name is “book”. GENERATE CRUD… Continue Reading
DEMO PLUGIN In this tutorial i will show you how to install extension kartik widget in yii2 and how to use it. INSTALL 1) First, install composer.phar in your root directory of yii If you get error “curl: command not found”,… Continue Reading
Demo here The default ‘frontend’ url in yii2 is http://yoursite.com/frontend/web/ Now, we will change it to http://yoursite.com Let’s do it! 1) Create .htaccess on your root directory of yii, copy script below (ctrl + h if .htaccess is hidden) :