fritzmg / contao-be-include-info Goto Github PK
View Code? Open in Web Editor NEWSimple extension to provide additional info for include elements in the backend
License: GNU General Public License v2.0
Simple extension to provide additional info for include elements in the backend
License: GNU General Public License v2.0
Ich habe ein Nachrichtenarchiv in Contao angelegt und dazu einen RSS-Feed eingerichtet (Im Backend: Nachrichten -> RSS-Feeds).
Die Nachrichten beinhalten Include-Elemente (Inhaltselement ID XXXX). In der Listenansicht der Inhaltselemente dieser Nachricht werden im Backend korrekterweise die Include-Informationen angezeigt.
Contao schreibt für den RSS-Feed eine XML Datei des ausgewählten Nachrichtenarchivs und legt diese im /share/-Verzeichnis ab. Schaut man sich diese XML-Datei an (so wie sie ist, bzw. mit einem Feed-Reader), stehen die Include-Informationen, die ja eigentlich nur im Backend sichtbar sein sollten, 1zu1 (inkl. Tabellen-Tags, Klassenangaben und Verlinkungen ins Backend) jetzt auch in dieser RSS-Feed-XML-Datei.
Das gleiche für Module wäre super.
As it is possible to hide included content elements within an article, it would be nice, if there would be a little icon to indicate, if the included element is visible or invisible on the target article.
It would be very helpful to display the Include breadcrumbs inside the edit page (under the "included content elements" area).
Funktioniert alles bis auf die "Include Info" in den Einstellungen eines Elements/Artikels.
Ist einfach leer.
It would improve editors' workflow, if the breadcrumb would include a link to the target article
PHP Recoverable error: Argument 1 passed to Contao\IncludeInfoHelper::onloadContent()
must be an instance of Contao\DataContainer, instance of tl_content given, called in
/system/cache/dca/tl_content.php on line 1761 and defined in /system/modules/be_include_info/IncludeInfoHelper.php on line 78
Extensions must not assume, that the parameter of this callback is of type DataContainer
.
Das edit.gif beim Element Inhaltselement ist falsch referenziert. Geht bei mir zu /system/themes/flexible/images/edit.gif. Bei mir gibts kein flexible-Verzeichnis.
The lack of an sql
definition for the includeinfo
field makes it incompatible to the semantic_html5
extension (menatwork/semantic_html5#22).
My idea is to make a button called Search for insert tags…
which opens a pop up where the search takes place. The search would go through the complete DCA and search for any kind of text input type and then search these fields for insert tags in the database. Plus, we could search for insert tags in all the files of the /templates
folder (and its subfolders) as well.
This could take a long time of course (hence the on demand button).
If boxes4ward is used, the extension erroneously displays an article with the same ID as the boxes4ward article in the include info.
To show info on (all) original Content Elements as well.
Hi, unter Contao4 gibt es ein Problem mit deiner Erweiterung! Wenn ich ein Include Element erstellen will, kommt folgender Fehler:
Internal Server Error
Cannot call abstract method Contao\Widget::generate()
Hier der Auszug aus dem error.log
2017-11-08 09:28:01] 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":"https://supergeheimedomain.de/contao?act=edit&do=article&id=375&ref=MV1kA38k&rt=QxeCGJDNB2d2XqvCX4wMR5hvvwVo7e87XXsStxXn2bQ&table=tl_content","method":"HEAD"} []
[2017-11-08 09:28:01] security.INFO: Attempting SimplePreAuthentication. {"key":"backend","authenticator":"Contao\CoreBundle\Security\ContaoAuthenticator"} []
[2017-11-08 09:28:01] 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":"https://supergeheimedomain.decontao?act=edit&do=article&id=375&ref=MV1kA38k&rt=QxeCGJDNB2d2XqvCX4wMR5hvvwVo7e87XXsStxXn2bQ&table=tl_content","method":"GET"} []
[2017-11-08 09:28:01] security.INFO: Attempting SimplePreAuthentication. {"key":"backend","authenticator":"Contao\CoreBundle\Security\ContaoAuthenticator"} []
[2017-11-08 09:28:01] app.CRITICAL: An exception occurred. {"exception":"[object] (Symfony\Component\Debug\Exception\FatalThrowableError(code: 0): Cannot call abstract method Contao\Widget::generate() at /var/www/html/vendor/fritzmg/contao-be-include-info/system/modules/be_include_info/IncludeInfoField.php:88)"} []
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.