Giter Site home page Giter Site logo

wortberge / basetemplate8 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sebkln/basetemplate8

0.0 2.0 0.0 93 KB

TYPO3 v8 LTS Template Foundation - Use it as a base for your website configuration. Add all your Stylesheets, JavaScripts and Templates.

PHP 6.70% HTML 19.86% CSS 10.52% JavaScript 62.92%

basetemplate8's Introduction

Template Foundation TYPO3 v8 LTS

It is good practice to save your TypoScripts, HTML templates etc. in a separate extension. That way you can

  • use a distributed version control system to manage your configurations and templates
  • keep the fileadmin clean and use it solely for the website's content

This TYPO3 extension can be a base for your website configuration. Add your Stylesheets, JavaScripts and templates and adapt the supplied configurations to your needs.

It does not contain any Frontend Framework, so you're free to use your favourite Framework or custom templates.

If you intend using Bootstrap, you definitely should check bootstrap_package out. This extension provides you with a complete integration of Bootstrap in TYPO3.

Features

  • meaningful folder structure to manage your files
  • essential TypoScript Setup, which you can integrate as a Static Template
  • basic TSconfig, e.g. useful RTE configurations.
  • both TypoScript and TSconfig are divided into smaller partials for more clarity
  • all configurations can be easily adjusted

Installation

  1. Copy this extension into the folder typo3conf/ext/
  2. You may want to rename the extension.
    1. Rename the folder from basetemplate8 to your desired name, e.g. clienttemplates. Have the naming conventions for extensions in mind!1
    2. Search and replace all occurences of basetemplate8 with the new chosen name. Replacing is fast and easy if you use a professional text editor and don't use underscores.2
  3. Open TYPO3 extension Manager and install the extension. From that moment the TSconfig is used.
  4. Include it as a Static Template in your Root Template.
  5. Begin to add your Templates and adapt the configuration. Make it yours!

Syntax highlighting

With TYPO3 version 8.7.2, the file extensions .typoscript and .tsconfig have become the new defaults. Add these to your editor to benefit from TypoScript syntax highlighting again. In PhpStorm, open Settings/Preferences and add the patterns *.typoscript and *.tsconfig to TypoScript in Editor | Code Style.

Footnotes

[1] TYPO3 extensions have some naming conventions. See: https://extensions.typo3.org/about-extension-repository/extension-keys/

[2] Also be very careful when using underscores in your extension name! It is highly encouraged to avoid them. If you e.g. choose the name client_templates_2016, you'll have to use two notations! In links like EXT:client_templates_2016/link/to/file.css, use the actual folder name. When using constants however, you'll have to remove all underscores and prefix tx_: $plugin.tx_clienttemplates2016!

basetemplate8's People

Contributors

sebkln avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.