Code Monkey home page Code Monkey logo

typo3-sites's Introduction

[FEATURE] Add Site Configuration as a new module

A new backend module allows for adding and modifying a configuration for sites (= entrypoints to a website).

A site configuration has a unique (human-readable) identifier and the following additional values:

  • Rootpage ID
  • The base path ("Base URL" / HTTP entry point, like https://www.mydomain.com/)
  • The definition of language=0 (default language) of this pagetree
  • Available Languages for this pagetree and their base path (https://www.mydomain.com/fr/)
  • Language Configuration (fallback, strict etc)

A site configuration is stored in typo3conf/sites/site-identifier/config.yaml.

Done:

  • Create a backend module
  • Create edit/create functionality based on FormEngine
  • Create a "Site" object containing all values of a site
  • Create a PSR-15 middleware to find the correct site
  • Create Links to the frontend from backend
  • Tree-based view of sites in BE module
  • FormEngine: Required fields
  • FormEngine: Validate identifier

ToDo:

  • Use site + language logic in frontend links
  • Implement fallback for &L= parameter
  • Build Error Handler functionality into ErrorController
  • Add caching layer
  • Handle fallback logic of fallbackTypes in Languages
  • Create API to persist files into folder (also ensure that the folder always exists)
  • Cleanup BE module (labels etc)
  • FormEngine: Cleanup "SiteConfigurationTCA" logic (do we need a ctrl section?)

Resolves: #? Releases: master

typo3-sites's People

Contributors

lolli42 avatar bmack avatar susannemoog avatar

Watchers

Jürgen Venne 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.