GithubHelp home page GithubHelp logo

itplusx / flexible_pages Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 103 KB

Setup and manage custom page types with ease.

PHP 93.25% HTML 6.75%
flexible-pages typo3 typo3-cms typo3-cms-extension typo3-extension typo3-pages

flexible_pages's People

Contributors

schloram avatar vjanoch avatar

Watchers

 avatar  avatar  avatar

flexible_pages's Issues

Take `l18n_cfg` into account when fetching pages for PageList

Currently the field l18n_cfg is not taken into account when fetching pages for the PageList CE. This has the effect, that pages where the the Hide default language of page or Hide page if no translation for current language exists checkboxes are set are being fetched as well even though they should not.

I would propose to dump the usage of the DatabaseQueryProcessor for this purpose and and write a custom PageListProcessor. In this processor we could easily make use of methods like \TYPO3\CMS\Frontend\Page\PageRepository::isPageSuitableForLanguage to determine if a page should be rendered in the specific language.

Composer wrong PHP requirement

According to composer definition only PHP 7.2 is supported, while accordind to Typo3 upto PHP 8 is supported.

Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires itplusx/flexible-pages ^2.2 -> satisfiable by itplusx/flexible-pages[v2.2.0].
    - itplusx/flexible-pages v2.2.0 requires php ^7.2 -> your php version (8.0.0; overridden via config.platform, actual: 8.0.13) does not satisfy that requirement.

Can't install with TYPO3 10.4.10 and Composer

Hello, when I want to install the extension I get the following error message in the console, even with the dev branch

Problem 1
- Conclusion: don't install itplusx/flexible-pages v2.1.1
- Conclusion: remove symfony/finder v5.1.8
- Installation request for itplusx/flexible-pages ^2.1 -> satisfiable by itplusx/flexible-pages[v2.1.0, v2.1.1].
- Conclusion: don't install symfony/finder v5.1.8
- itplusx/flexible-pages v2.1.0 requires symfony/finder ^4.4 -> satisfiable by symfony/finder[v4.4.0, v4.4.1, v4.4.10, v4.4.11, v4.4.12, v4.4.13, v4.4.14, v4.4.15, v4.4.16, v4.4.17, v4.4.18, v4.4.2, v4.4.3, v4.4.4, v4.4.5, v4.4.6, v4.4.7, v4.4.8, v4.4.9].
- Can only install one of: symfony/finder[v4.4.0, v5.1.8].
- Can only install one of: symfony/finder[v4.4.1, v5.1.8].
- Can only install one of: symfony/finder[v4.4.10, v5.1.8].
- Can only install one of: symfony/finder[v4.4.11, v5.1.8].
- Can only install one of: symfony/finder[v4.4.12, v5.1.8].
- Can only install one of: symfony/finder[v4.4.13, v5.1.8].
- Can only install one of: symfony/finder[v4.4.14, v5.1.8].
- Can only install one of: symfony/finder[v4.4.15, v5.1.8].
- Can only install one of: symfony/finder[v4.4.16, v5.1.8].
- Can only install one of: symfony/finder[v4.4.17, v5.1.8].
- Can only install one of: symfony/finder[v4.4.18, v5.1.8].
- Can only install one of: symfony/finder[v4.4.2, v5.1.8].
- Can only install one of: symfony/finder[v4.4.3, v5.1.8].
- Can only install one of: symfony/finder[v4.4.4, v5.1.8].
- Can only install one of: symfony/finder[v4.4.5, v5.1.8].
- Can only install one of: symfony/finder[v4.4.6, v5.1.8].
- Can only install one of: symfony/finder[v4.4.7, v5.1.8].
- Can only install one of: symfony/finder[v4.4.8, v5.1.8].
- Can only install one of: symfony/finder[v4.4.9, v5.1.8].
- Installation request for symfony/finder (locked at v5.1.8) -> satisfiable by symfony/finder[v5.1.8].

Add `mountpoint` option to iconSet

There is also an mountpoint variant of a page (if content_from_pid is set). We should consider to make this editable with a mountpointIcon option.

Example:

dokType: 87
label: 'My Custom pageType'
iconSet:
  defaultIcon:
    # 'source' or 'identifier'
  hideInMenuIcon:
    # 'source' or 'identifier'
  rootPageIcon:
    # 'source' or 'identifier'
  mountpointIcon:
    # 'source' or 'identifier'

Add proper documentation instead of a single README file

I think it's better to keep the README slim and to add additional information (like https://github.com/itplusx/flexible_pages#2-registering-custom-pages-types or https://github.com/itplusx/flexible_pages#2-registering-custom-pages-types) as Documentation.

We could either use the GitHub Wiki for that or even the TYPO3 recommended way (https://docs.typo3.org/m/typo3/reference-coreapi/master/en-us/ExtensionArchitecture/Documentation/Index.html)

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.