Skip to content

Commit 769c6d9

Browse files
committed
[DOC] update documentation and description
1 parent 959bd66 commit 769c6d9

File tree

7 files changed

+47
-33
lines changed

7 files changed

+47
-33
lines changed

Configuration/TypoScript/Library/plugin.themes.setupts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
# plugin.tx_themes {
55
# view {
66
# templateRootPaths {
7-
# 2700 = EXT:theme_t3kit/Resources/Private/Templates/
7+
# 2700 = EXT:subtheme_t3kit_template@!%/Resources/Private/Templates/
88
# }
99
# partialRootPaths {
10-
# 2700 = EXT:theme_t3kit/Resources/Private/Partials/
10+
# 2700 = EXT:subtheme_t3kit_template@!%/Resources/Private/Partials/
1111
# }
1212
# layoutRootPaths {
13-
# 2700 = EXT:theme_t3kit/Resources/Private/Layouts/
13+
# 2700 = EXT:subtheme_t3kit_template@!%/Resources/Private/Layouts/
1414
# }
1515
# }
1616
# }

Meta/theme.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title : Subtheme t3kit template
33
version : 0.3.0
44
description : |
5-
Start new subtheme based on t3kit project.
5+
subtheme_t3kit_template based on t3kit project.
66
77
parentTheme:
88
name: theme_t3kit
@@ -18,4 +18,5 @@ keywords:
1818
screenshots:
1919
-
2020
file : EXT:subtheme_t3kit_template/Meta/Screenshots/screenshot.png
21-
caption : Subtheme t3kit
21+
caption : Subtheme t3kit template
22+

Resources/Public/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Do not change files in `CSS` and `LESS` folders.
2-
Those folders are generating automaticaly by felayout `subtheme_t3kit_template/felayout_t3kit`
2+
Those folders are generating automaticaly by felayout `subtheme_t3kit_template/felayout`

ext_emconf.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,5 @@
11
<?php
22

3-
########################################################################
4-
# Extension Manager/Repository config file for ext "theme_t3kit".
5-
#
6-
# Auto generated 25-08-2011 21:37
7-
#
8-
# Manual updates:
9-
# Only the data in the array - everything else is removed by next
10-
# writing. "version" and "dependencies" must not be touched!
11-
########################################################################
12-
133
$EM_CONF[$_EXTKEY] = array(
144
'title' => 'Subtheme t3kit template',
155
'description' => 'TBD',

felayout/README.md

Lines changed: 25 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# felayout
22

3-
Front-End layout for Subtheme t3kit template
4-
5-
### [Contributing to t3kit](https://github.com/t3kit/t3kit/blob/master/CONTRIBUTING.md)
3+
## Front-End layout for Subtheme t3kit template
64

75
### Required dependencies:
86

@@ -11,20 +9,34 @@ Front-End layout for Subtheme t3kit template
119
- [NPM](https://github.com/npm/npm) >=3.10.8
1210
- [Grunt-cli](http://gruntjs.com/) >=1.2.0 `npm install -g grunt-cli`
1311

14-
### Installation:
15-
16-
First, clone repo:
17-
```bash
18-
git clone git@github.com:t3kit/felayout_bluemountain.git
19-
```
12+
***
2013

21-
Next, install NPM dependencies:
14+
### Install NPM dependencies:
2215

2316
```bash
17+
cd felayout
2418
npm install
2519
```
2620

27-
### Getting Started:
21+
***
22+
23+
## `felayout` includes CSS and JS source files Subtheme project.
24+
25+
1. `felayout` works closely with t3kit docker, so to start developing using felayout we need to [install and run t3kit using docker configuration](https://github.com/t3kit/t3kit#development)
26+
27+
28+
2. Next step we need disable default styling (CSS) and JS scripts in t3kit to be able to insert it (CSS/JS) dynamically from felayout_t3kit. For this, we need to change `FElayout mode` constant from `less` to `development`.
29+
* TYPO3 BE -> tab `Themes` -> `Expert` -> `FElayout mode`
30+
31+
3. Next step is to run local server (_proxied from t3kit TYPO3 installation_) `localhost:9001` wich includes all CSS/LESS/JS files (`subtheme_t3kit_template/felayout_t3kit/dev`) with livereloading. For this, we need to use command `grunt`.
32+
33+
4. Last step. After all changes (CSS/LESS/JS) which you did in `felayout` you will need to compile FE files into `subtheme_t3kit_template/Resources/Public/css` or `subtheme_t3kit_template/Resources/Public/less` folder using comands: `grunt compileCss` or `grunt compileLess`. Also, keep in mind that these compilated files should be committed by separate commit with a message `update css/less` without any prefixes. [Commit messages without prefixes shouldn't go to changelog files](https://github.com/t3kit/t3kit/blob/master/CONTRIBUTING.md#labels). **Do not commit compilated files together with source files from `subtheme_t3kit_template/felayout_t3kit/dev`**
34+
35+
36+
37+
### Grunt commands:
2838

29-
- Run `grunt` to start static server with livereload `localhost:9001`
30-
- Run `grunt check` to check CSS/LESS/JS files according code conventions
39+
- Run `grunt` to start local server (_proxied from t3kit TYPO3 installation_) with livereload `localhost:9001`
40+
- Run `grunt check` to check CSS (.stylelintrc) and JS (JS standard) files according code conventions.
41+
- Run `grunt compileCss` or `grunt cc` to compile all Front-End service files plus **CSS** styling for **t3kit** needs and copy it to `subtheme_t3kit_template/Resources/Public/css` folder.
42+
- Run `grunt compileLess` or `grunt cl` to compile all Front-End service files plus **LESS** styling for **t3kit** needs, copy it to it to `subtheme_t3kit_template/Resources/Public/less` folder.

felayout/package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
{
2-
"name": "felayout_t3kit",
3-
"version": "2.0.0",
4-
"description": "Front-End layout for theme_t3kit project",
2+
"name": "felayout",
3+
"version": "1.0.0",
4+
"description": "Front-End layout for Subtheme t3kit template",
55
"license": "MIT",
6-
"repository": "t3kit/theme_t3kit",
76
"scripts": {
87
"test": "grunt check"
98
},

readmeTemplate.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# subtheme_t3kit_template
2+
3+
### subtheme_t3kit_template based on [**typo3 CMS**](https://typo3.org/) and [**t3kit project**](https://github.com/t3kit)
4+
5+
***
6+
7+
### [CHANGELOG](https://github.com/t3kit/subtheme_t3kit_template/blob/master/CHANGELOG.md)
8+
### [Contributing to t3kit](https://github.com/t3kit/t3kit/blob/master/CONTRIBUTING.md)
9+
10+
***
11+
12+
**Built on [subtheme_t3kit_template](https://github.com/t3kit/subtheme_t3kit_template) v<%= subthemet3kitTemplateVersion %>**

0 commit comments

Comments
 (0)