Difference between #199 and #200 of
Yii v2 snippet guide

Revision #200 has been created by rackycz on Jun 30, 2020, 4:37:17 PM with the memo:

GIT + favicon
« previous (#199) next (#201) »

Changes

Title unchanged

Yii v2 snippet guide

Category unchanged

Tutorials

Yii version unchanged

2.0

Tags unchanged

tutorial,beginner,yii2

Content changed

[...]
- or you can use also this URL:
- https://gitlab.com/{username}/{projectName}.git
- or you can use HTTP:
- http://gitlab.com/{username}/{projectName}.git


 
Note: What works for me the best is using the following command to clone my project and system asks me for the password. Other means of connection usually refuse me. Then I can start using TortoiseGIT.
 
 
```
 
git clone https://{username}@gitlab.com/{username}/{myProjectName}.git
 
```
 
 
When cloned, copy the content of the "basic" folder into the new empty git-folder and push everything except for folder "vendor". (It contains 75MB and 7000 files so you dont want to have it in GIT) Then you can start to modify you project, for example based on this "tutorial". Tha.
 
.


**Automatical copying from GitLab to FTP**
[...]
```

Read more at [the official documentation](https://www.yiiframework.com/extension/yiisoft/yii2-jui) and on [GIT](https://github.com/yiisoft/yii2-jui)

 
 
**Favicon**
 
---
 
Favicon is already included, but it nos used in the basic project. Just type this into views/layouts/main.php:
 
 
```html
 
<link rel="icon" type="image/png" sizes="16x16" href="favicon.ico">
 
```
 
 
Or you can use the official yii-favicon:
 
 
```html
 
<link rel="apple-touch-icon" sizes="180x180" href="https://www.yiiframework.com/favico/apple-touch-icon.png">
 
<link rel="icon" type="image/png" sizes="32x32" href="https://www.yiiframework.com/favico/favicon-32x32.png">
 
<link rel="icon" type="image/png" sizes="16x16" href="https://www.yiiframework.com/favico/favicon-16x16.png">
 
```
 
 
7 0
4 followers
Viewed: 275 330 times
Version: 2.0
Category: Tutorials
Written by: rackycz
Last updated by: rackycz
Created on: Sep 19, 2019
Last updated: a year ago
Update Article

Revisions

View all history