Ich kann keine Pakete mehr installieren / brauche Zugriff auf Icons
Hallo Community,
holla - ist schon länger her, seit ich mit Contao gearbeitet habe. Erstelle gerade aber wieder eine Webseite und setze dabei erneut auf Contao in der Version 4.4.18. Seit Contao 3 ist ja ganz schön viel passiert, was mich teilweise alles verwirrt weil ich mich (noch) nicht damit auskenne.
Zum Beispiel der Composer. Ist glaub ich ein cooles Tool, ich kann mich darin aber nicht sicher bewegen und bin total überfragt. Ich hatte es die Tage hinbekommen, damit das Paket contao-bootstrap/bundle zu installieren. Weil ich auch die Cards haben wollte, hab ich es sogar geschafft, danach das Paket contao-bootstrap/cards zu installieren, musste dazu aber als Version "dev-master" angeben, anders war die Installation nicht möglich. Nun mein Problem: Seit dem kann ich garnichts mehr installieren. Ich möchte gerne jetzt "netzmacht/contao-font-awesome" oder "netzmacht/contao-font-awesome-inserttag" oder "netzmacht/contao-iconwizard" installieren, aber alles schlägt fehl. Es werden wohl Abhängigkeiten geprüft und moniert dann einige Dinge. Was muss ich denn tun, damit die Installation klappt? Muss ich die Pakete vorher installieren, die auf der Paketinfo-Seite unter "requires" angezeigt werden?
Das ist die Ausgabe beim Versuch, das Paket netzmacht/contao-font-awesome-inserttag zu installieren:
Code:
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for contao/managed-edition No version set (parsed as 1.0.0) -> satisfiable by contao/managed-edition[No version set (parsed as 1.0.0)].
- contao-community-alliance/meta-palettes 1.9.2 requires contao/core >=2.11,<4 -> satisfiable by contao/core[2.11.0, 2.11.1, 2.11.10, 2.11.11, 2.11.12, 2.11.13, 2.11.14, 2.11.15, 2.11.16, 2.11.17, 2.11.2, 2.11.3, 2.11.4, 2.11.5, 2.11.6, 2.11.7, 2.11.8, 2.11.9, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.0.5, 3.0.6, 3.1.0, 3.1.1, 3.1.2, 3.1.3, 3.1.4, 3.1.5, 3.2.0, 3.2.1, 3.2.10, 3.2.11, 3.2.12, 3.2.13, 3.2.14, 3.2.15, 3.2.16, 3.2.17, 3.2.18, 3.2.19, 3.2.2, 3.2.20, 3.2.21, 3.2.3, 3.2.4, 3.2.5, 3.2.6, 3.2.7, 3.2.8, 3.2.9, 3.3.0, 3.3.1, 3.3.2, 3.3.3, 3.3.4, 3.3.5, 3.3.6, 3.3.7, 3.4.0, 3.4.1, 3.4.2, 3.4.3, 3.4.4, 3.4.5, 3.5.0, 3.5.1, 3.5.10, 3.5.11, 3.5.12, 3.5.13, 3.5.14, 3.5.15, 3.5.16, 3.5.17, 3.5.18, 3.5.19, 3.5.2, 3.5.20, 3.5.21, 3.5.22, 3.5.23, 3.5.24, 3.5.25, 3.5.26, 3.5.27, 3.5.28, 3.5.29, 3.5.3, 3.5.30, 3.5.31, 3.5.32, 3.5.33, 3.5.34, 3.5.35, 3.5.4, 3.5.5, 3.5.6, 3.5.7, 3.5.8, 3.5.9].
[... verkürzt]
- contao-community-alliance/meta-palettes 1.9.7 requires contao/core >=2.11,<4 -> satisfiable by contao/core[2.11.0, 2.11.1, 2.11.10, 2.11.11, 2.11.12, 2.11.13, 2.11.14, 2.11.15, 2.11.16, 2.11.17, 2.11.2, 2.11.3, 2.11.4, 2.11.5, 2.11.6, 2.11.7, 2.11.8, 2.11.9, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.0.5, 3.0.6, 3.1.0, 3.1.1, 3.1.2, 3.1.3, 3.1.4, 3.1.5, 3.2.0, 3.2.1, 3.2.10, 3.2.11, 3.2.12, 3.2.13, 3.2.14, 3.2.15, 3.2.16, 3.2.17, 3.2.18, 3.2.19, 3.2.2, 3.2.20, 3.2.21, 3.2.3, 3.2.4, 3.2.5, 3.2.6, 3.2.7, 3.2.8, 3.2.9, 3.3.0, 3.3.1, 3.3.2, 3.3.3, 3.3.4, 3.3.5, 3.3.6, 3.3.7, 3.4.0, 3.4.1, 3.4.2, 3.4.3, 3.4.4, 3.4.5, 3.5.0, 3.5.1, 3.5.10, 3.5.11, 3.5.12, 3.5.13, 3.5.14, 3.5.15, 3.5.16, 3.5.17, 3.5.18, 3.5.19, 3.5.2, 3.5.20, 3.5.21, 3.5.22, 3.5.23, 3.5.24, 3.5.25, 3.5.26, 3.5.27, 3.5.28, 3.5.29, 3.5.3, 3.5.30, 3.5.31, 3.5.32, 3.5.33, 3.5.34, 3.5.35, 3.5.4, 3.5.5, 3.5.6, 3.5.7, 3.5.8, 3.5.9].
- contao/core 2.11.0 conflicts with contao/managed-edition[No version set (parsed as 1.0.0)].
[... verkürzt]
- contao/core 3.5.9 conflicts with contao/managed-edition[No version set (parsed as 1.0.0)].
- Installation request for netzmacht/contao-font-awesome 4.7.x-dev -> satisfiable by netzmacht/contao-font-awesome[4.7.x-dev].
- Conclusion: don't install contao-community-alliance/meta-palettes 2.0.2
- netzmacht/contao-font-awesome 4.7.x-dev requires contao-community-alliance/meta-palettes ^1.4.3 -> satisfiable by contao-community-alliance/meta-palettes[1.10.0, 1.10.1, 1.11.0, 1.9.2, 1.9.3, 1.9.4, 1.9.5, 1.9.6, 1.9.7].
- Can only install one of: contao-community-alliance/meta-palettes[1.11.0, 2.0.2].
[... verkürzt]
- Installation request for contao-community-alliance/meta-palettes (locked at 2.0.2) -> satisfiable by contao-community-alliance/meta-palettes[2.0.2].
<warning>Running update with --no-dev does not mean require-dev is ignored, it just means the packages will not be installed. If dev requirements are blocking the update you have to resolve those problems.</warning>
Finished Composer Cloud resolving.
Alternativ (habe ich auch nicht viel Doku drüber gefunden):
Sind in Contao 4.4 vllt insert-tags für Icons schon drin? Oder kann ich anders auf Icons zugreifen?
Wenn ich eine Icon-Font im <head> angebe, kann ich z.B. die über den HTML Code auch im Frontend anzeigen, das funktioniert aber nicht wenn ich im WYSIWYG Editor was schreibe.
Über Hilfe würde ich mich sehr freuen.
Viele Grüße - Sui