richardhj / contao-theme-framework Goto Github PK
View Code? Open in Web Editor NEWA new standardized and database-less way to build frontend themes in Contao.
License: MIT License
A new standardized and database-less way to build frontend themes in Contao.
License: MIT License
Contao 4.12.4
after executing the "composer update" in a fresh Contao installation I am getting the following Exception:
In DecoratorServicePass.php line 91:
The service "Richardhj\ContaoThemeFramework\Twig\Loader\ThemeNamespace" has a dependency on a non-existent service "contao.twig.loader.theme_namespace".
Script @php vendor/bin/contao-setup handling the post-update-cmd event returned with error code 1
What's the best way to manage Frontend Modules? I'm considering if it might be a good idea to add the ability to manage these modules to the library?
When writing this in the configuration for layouts :
layouts:
_default:
name: Default layout
template: fe_page
rows: 3rw
we got the following error :
In ExceptionConverter.php line 88:
An exception occurred while executing a query: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the
manual that corresponds to your MariaDB server version for the right syntax to use near 'rows = '3rw', alias = '_default', pid = '3', tstamp = '1651845
701' WHERE id =...' at line 1
In Exception.php line 30:
SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server
version for the right syntax to use near 'rows = '3rw', alias = '_default', pid = '3', tstamp = '1651845701' WHERE id =...' at line 1
In Statement.php line 101:
SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server
version for the right syntax to use near 'rows = '3rw', alias = '_default', pid = '3', tstamp = '1651845701' WHERE id =...' at line 1
The parameter rows
seems to be reserved in MariaDB, so we have to write the config this way, with backquotes, to make it work :
layouts:
_default:
name: Default layout
template: fe_page
'`rows`': 3rw
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.