https://github.com/b13/t3ext-bootstrap_styled_content
TYPO3 Extension: bootstrap styled content
https://github.com/b13/t3ext-bootstrap_styled_content
Last synced: over 1 year ago
JSON representation
TYPO3 Extension: bootstrap styled content
- Host: GitHub
- URL: https://github.com/b13/t3ext-bootstrap_styled_content
- Owner: b13
- Created: 2012-11-23T09:34:08.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2013-11-08T16:50:15.000Z (over 12 years ago)
- Last Synced: 2025-03-09T23:38:57.033Z (over 1 year ago)
- Language: PHP
- Size: 115 KB
- Stars: 0
- Watchers: 8
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bootstrap Styled Content
## What does it do?
Gives you the opportunity to easily include the Twitter-Project *Bootstrap* from [http://twitter.github
.io/bootstrap/](http://twitter.github.io/bootstrap/).
Also add a HTML5 Boilerplate Switch for Internet Explorer in the html-tag. So you can add special css for IE.
## Best Practise
If you able to set a shortcut from your less files in fileadmin to the less files of this ext. you can easily inlcude
those files into your main.less file. If you store your lessfiles in typo3conf/templates/main/less/ you can use the
following in your command line:
```
$ cd typo3conf/templates/main/less/
$ ln -s ../../../ext/bootstrap_styled_content/Resources/Public/Contrib/Bootstrap/less/ contrib
```
If your store your less files in fileadmin/templates/less you can use following command:
```
$ cd fileadmin/templates/less/
$ ln -s ../../../typo3conf/ext/bootstrap_styled_content/Resources/Public/Contrib/Bootstrap/less/ contrib
```
### Less to css converter
We recommend you to use *amazingless* on your system to convert your less files to css. You can find it on
[https://github.com/b13/t3ext-amazingless](https://github.com/b13/t3ext-amazingless)
## Configuration
There is not realy a configuration. You only can set the HTML5 Boilerplate Switch. But: More to come. Stay tuned!
### HTML5 Boilerplate Switch
To enable the HTML5 Boilerplate Switch, add this to your typoscript
(It's default on, if you include the static TS file)
config.doctype = html5
config.doctype.enableBoilerplateCondition = 1
and your HTML Tag & Head Tag will look like this
```html
```