This repository has been archived by the owner on Aug 29, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
241 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Changelog | ||
|
||
## 1.0.0 | ||
* Initial Release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,36 @@ | ||
# favicon_manager | ||
# Favicon-Manager | ||
> Typo3 Extension for adding favicons for every device | ||
## Getting Started | ||
### Download | ||
#### Typo3 (recomended) | ||
1. Go to your Extension-Manager | ||
2. Go to Download-Extensions | ||
3. Update your Extension-Manager if needed | ||
4. Search for `favicon_manager ` | ||
5. Download the newest Version | ||
6. Go to your Template and include the favicon_manager template | ||
7. Generate your Icon at [favicon-generator.org](https://www.favicon-generator.org/) | ||
8. Generate a folder at `fileadmin/user_upload` with the name `favicons` | ||
9. Upload everything of your generated icons | ||
10. Go to Constants-Editor and edit the constants of favicon_manager | ||
|
||
#### Manual Install | ||
1. Download the extension via GitHub or [Typo3-Ter](https://extensions.typo3.org/extension/favicon_manager/) | ||
2. Go to your FTP and navigate to `/typo3conf/ext/` and upload the favicon_manager folder there | ||
3. Go to your Backend -> Extensions | ||
4. Activate the favicon_manager extension | ||
5. Go to your Template and include the favicon_manager template | ||
6. Generate your Icon at [favicon-generator.org](https://www.favicon-generator.org/) | ||
7. Generate a folder at `fileadmin/user_upload` with the name `favicons` | ||
8. Upload everything of your generated icons | ||
9. Go to Constants-Editor and edit the constants of favicon_manager | ||
|
||
### How to set the Path | ||
The icon Path should look like this `fileadmin/user_upload/favicons` | ||
|
||
|
||
## Dependencies | ||
Minimal Typo3 8.7 or greater | ||
|
||
© 2018 [Julian Seidl](https://www.jseidl.at) |
6 changes: 6 additions & 0 deletions
6
favicon_manager/Configuration/Typoscript/constants.typoscript
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# cat=Favicon-Manager; type=string; label= Icon Path : Paht to your icon directory | ||
faviconmanager.path = | ||
# cat=Favicon-Manager; type=string; label= Theme-Color : Theme-Color Meta Tag | ||
faviconmanager.theme-color = #ffffff | ||
# cat=Favicon-Manager; type=string; label= Tile-Color : msapplication tile-color | ||
faviconmanager.tile-color = #ffffff |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
page = PAGE | ||
|
||
page { | ||
shortcutIcon = {$faviconmanager.path} | ||
headerData.4694 = TEXT | ||
headerData.4694.value ( | ||
<link rel="apple-touch-icon" sizes="57x57" href="/{$faviconmanager.path}/apple-icon-57x57.png"> | ||
<link rel="apple-touch-icon" sizes="60x60" href="/{$faviconmanager.path}/apple-icon-60x60.png"> | ||
<link rel="apple-touch-icon" sizes="72x72" href="/{$faviconmanager.path}/apple-icon-72x72.png"> | ||
<link rel="apple-touch-icon" sizes="76x76" href="/{$faviconmanager.path}/apple-icon-76x76.png"> | ||
<link rel="apple-touch-icon" sizes="114x114" href="/{$faviconmanager.path}/apple-icon-114x114.png"> | ||
<link rel="apple-touch-icon" sizes="120x120" href="/{$faviconmanager.path}/apple-icon-120x120.png"> | ||
<link rel="apple-touch-icon" sizes="144x144" href="/{$faviconmanager.path}/apple-icon-144x144.png"> | ||
<link rel="apple-touch-icon" sizes="152x152" href="/{$faviconmanager.path}/apple-icon-152x152.png"> | ||
<link rel="apple-touch-icon" sizes="180x180" href="/{$faviconmanager.path}/apple-icon-180x180.png"> | ||
<link rel="icon" type="image/png" sizes="192x192" href="/{$faviconmanager.path}/android-icon-192x192.png"> | ||
<link rel="icon" type="image/png" sizes="32x32" href="/{$faviconmanager.path}/favicon-32x32.png"> | ||
<link rel="icon" type="image/png" sizes="96x96" href="/{$faviconmanager.path}/favicon-96x96.png"> | ||
<link rel="icon" type="image/png" sizes="16x16" href="/{$faviconmanager.path}/favicon-16x16.png"> | ||
<link rel="manifest" href="/{$faviconmanager.path}/manifest.json"> | ||
<meta name="msapplication-TileColor" content="{$faviconmanager.tile-color}"> | ||
<meta name="msapplication-TileImage" content="/{$faviconmanager.path}/ms-icon-144x144.png"> | ||
<meta name="theme-color" content="{$faviconmanager.theme-color}"> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Apache < 2.3 | ||
<IfModule !mod_authz_core.c> | ||
Order allow,deny | ||
Deny from all | ||
Satisfy All | ||
</IfModule> | ||
|
||
# Apache >= 2.3 | ||
<IfModule mod_authz_core.c> | ||
Require all denied | ||
</IfModule> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"name": "faviconmanager/favicon-manager", | ||
"type": "typo3-cms-extension", | ||
"description": "", | ||
"authors": [ | ||
{ | ||
"name": "Julian Seidl", | ||
"role": "Developer" | ||
} | ||
], | ||
"require": { | ||
"typo3/cms-core": "^8.7.1" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"FaviconManager\\FaviconManager\\": "Classes" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?php | ||
$EM_CONF[$_EXTKEY] = [ | ||
'title' => 'Favicon-Manager', | ||
'description' => 'Generates favicons for all devices', | ||
'category' => 'plugin', | ||
'author' => 'Julian Seidl', | ||
'author_email' => 'kontakt@julianseidl.at', | ||
'state' => 'stable', | ||
'internal' => '', | ||
'uploadfolder' => '0', | ||
'createDirs' => '', | ||
'clearCacheOnLoad' => 0, | ||
'version' => '1.0.0', | ||
'constraints' => [ | ||
'depends' => [ | ||
'typo3' => '8.7.0-8.7.99', | ||
], | ||
'conflicts' => [], | ||
'suggests' => [], | ||
], | ||
]; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?php | ||
defined('TYPO3_MODE') || die('Access denied.'); | ||
|
||
call_user_func( | ||
function() | ||
{ | ||
|
||
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile('favicon_manager', 'Configuration/TypoScript', 'Favicon-Manager'); | ||
|
||
} | ||
); |