Code Monkey home page Code Monkey logo

contao-slug-backport's People

Contributors

ausi avatar fritzmg avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

fritzmg

contao-slug-backport's Issues

validAliasCharacters field will be inserted in a "random" section

In the tl_page.php you are using

$GLOBALS['TL_DCA']['tl_page']['palettes']['root'] = str_replace(';{sitemap_legend', ',validAliasCharacters;{sitemap_legend', $GLOBALS['TL_DCA']['tl_page']['palettes']['root']);

This means the validAliasCharacters field will be inserted into whatever section comes before the sitemap_legend section. You are probably intending to insert the field into the Global settings section - however, if an extension happens to insert another section after that section, the validAliasCharacters field will end up being in that section instead.

For instance, if you have the news_categories extension installed, the validAliasCharacters field will be part of the News categories settings section of the palette.

Changes in 1.0.5 causes error

I installed Version 1.0.5, but when i try to create a new form i get this error:

[2019-07-19 13:32:51] request.INFO: Matched route "contao_backend". {"route":"contao_backend","route_parameters":{"_scope":"backend","_token_check":true,"_controller":"Contao\\CoreBundle\\Controller\\BackendController::mainAction","_route":"contao_backend"},"request_uri":"http://example.com/contao?act=edit&do=form&id=32&ref=Zs13t7ns&rt=mcrZKlgR5BkblQCNOa9RrDfKc01gFuptT7ClEIWBb6c&s2e=1","method":"POST"} []
[2019-07-19 13:32:51] security.INFO: Attempting SimplePreAuthentication. {"key":"backend","authenticator":"Contao\\CoreBundle\\Security\\ContaoAuthenticator"} []
[2019-07-19 13:32:52] app.CRITICAL: An exception occurred. {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\ClassNotFoundException(code: 0): Attempted to load class \"Input\" from namespace \"Ausi\\ContaoSlugBackport\".\nDid you forget a \"use\" statement for e.g. \"Haste\\Input\\Input\" or \"Symfony\\Component\\Console\\Input\\Input\"? at /Users/user/project/vendor/ausi/contao-slug-backport/src/Callbacks.php:243)"} []

Version 1.0.4 is works fine for me

Why no support for article aliasses?

Thanks for the backport, really helpful!
I just have a quick question: Is there a reason why support for entries in tl_article is not included?

Thanks
Arno

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.