westwerk / contao-toc-element Goto Github PK
View Code? Open in Web Editor NEW"Table of contents" content element for Contao Open Source CMS.
License: MIT License
"Table of contents" content element for Contao Open Source CMS.
License: MIT License
Im Packagist Paket bit3/contao-toc-element steht "This package is abandoned and no longer maintained. The author suggests using the westwerk-ac/contao-toc-element package instead.".
westwerk-ac/contao-toc-element ist aber leider nicht auffindbar.
Außerdem meldet der Contao-Composer-Client zu einem der abhängigen Paketen "Package bit3/php-string-builder is abandoned, you should avoid using it. Use bit3/string-builder instead."
Wäre toll, wenn die Erweiterung weitergeführt wird!
Momentan verschwinden leider alle TableOfContent-Elemente im Frontend, wenn man im Frontend eingeloggt ist (egal ob die aufgerufene Seite/Artikel geschützt ist oder nicht).
Das liegt an Zeile 145 / 146
$memberLoginCondition = new MemberLoginCondition('logged_out');
$unprotectedAnd->addCondition($memberLoginCondition);
und an Zeile 186 / 187
$memberLoginCondition = new MemberLoginCondition('logged_out');
$unprotectedAnd->addCondition($memberLoginCondition);
der ContentElement/TableOfContentsElement.php.
Ich schätze das ganze sollte noch an die xNavigation-"Manage condition's"-Funktion angebunden werden. Oder man baut in die Eingabemaske des "Table of contents"-Inhaltselements noch eine Auswahl ein, in der man entscheiden kann, ob auch für eingeloggte Mitglieder die Table Of Contents Navigation befüllt wird.
PS: An die verzweifelnden, die schnelle Hilfe suchen: Als Workaround kann man die beiden Zeilen jeweiles auskommentieren.
It would be nice if an ID would be created with an simple Klick (maybe an Checkbox). When the CE has an Title the alias from the Title could be a nice ID or just the ID from the CE itselve and some prefix would work i think.
regards
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.