Übersetzer
Dieses Plugin fungiert als dein persönlicher Dolmetscher für deine Seite.
Dieses Plugin fungiert als dein persönlicher Dolmetscher für deine Seite.
Discord-Push (Galerie) ist eine Erweiterung für Discord. Beim Hinzufügen von neuen Bildern kann automatisch eine Vorschau der Bilder in Discord gepostet werden.
Promote die Streamer deiner Community in einer oder mehreren Boxen und lasse sie in einer praktischen Übersicht anzeigen.
HTML Unterstützung.
Es wäre auch cool wenn die unterkategorie die icons ändern könnte...
Das Ganze wäre durch Manipulation des JavaScripts möglich. Der einfache Austausch von Template-Code oder CSS reicht hier leider nicht aus.
Ich plane allerdings nicht das ins Plugin selbst einzubauen.
Hm das ist echt sehr schade, den Plus und Minus Icon wäre für den Stil etwas geiler gewesen
Hallo,
was genau meinst du? Kannst du kurz ein Screenshot machen was genau du ändern willst?
Huhu Peter,
Na klar
Wenn bei der Frage zu ist sollte das Plus Icon vorhanden sein, beim aufklappen muss Minus als Icons sein.
Hallo Hanashi aka Peter
Hab das schon mal gefunden im Template und den icon plus geändern, wie mach ich das dann mit zweiten icon mit dem minus + die Farbe.
Gruss
Hallo,
Ich würde ja gerne Pfeil austauchen zu Plus und Minus icon, weiß nur nicht wie bei den fragen wo man es aufklappen kann. Und farbig gestalten.
Gruss
Hallo,
das ist sehr eigenartig. Bei mir tritt der Fehler leider echt nicht auf oO
Zumal das Template eigentlich nur im Frontend geladen wird. Aber ich glaube ich baue das um, dass das ein Shared-Template wird.
Glaube auch, ich schau mal weiter heute. Ich hasse den vorführeffekt
Ich schau mal am Pc ob es irgenewann wieder kommt, dazu auch video dabei aufnehmen. Wäre denk ich besser falls doch der fehler erscheint
Hallo Hanashi
Der Fehler tritt in ACP auf wenn man frage hinzufügen möchte
Die andere meldung muss mir nochmal genau betrachten wie ich das gemacht habe
Wed, 04 Sep 2024 06:08:34 +0000
Message: Unable to find template '__faqWysiwygJavaScript'
PHP version: 8.2.23
WoltLab Suite version: 6.1.0 Beta 1
Request URI: GET /acp/index.php?faq-question-add/
Referrer: https://wsc61.dayz-community.eu/acp/index.php?faq-question-list/
User Agent: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/26.0 Chrome/122.0.0.0 Mobile Safari/537.36
Peak Memory Usage: 2900088/134217728
======
Error Class: wcf\system\exception\SystemException
Error Message: Unable to find template '__faqWysiwygJavaScript'
Error Code: 0
File: /var/www/vhosts/dayz-community.eu/wsc61.dayz-community.eu/lib/system/template/TemplateEngine.class.php (496)
Extra Information: YToxOntpOjA7YToyOntpOjA7czoxNjoiVGVtcGxhdGUgQ29udGV4dCI7aToxO3M6MTExNToidW5zZXQoJHRoaXMtPmZvcmVhY2hWYXJzWydhODIyZWRmN2FhMWE1NmE5NzEwYmY5MzM5ODc4N2Y0Yjg1YzBmZDY0J10pOwogfSA/Pjw/cGhwIGlmICggISAkdGhpcy0+dlsnZmllbGQnXS0+Y2hlY2tEZXBlbmRlbmNpZXMoKSkgeyA/PiBzdHlsZT0iZGlzcGxheTogbm9uZTsiPD9waHAgfSA/Pj4KCTxkdD48P3BocCBpZiAoJHRoaXMtPnZbJ2ZpZWxkJ10tPmdldExhYmVsKCkgIT09IG51bGwpIHsgPz48bGFiZWwgZm9yPSI8Pz13Y2ZcdXRpbFxTdHJpbmdVdGlsOjplbmNvZGVIVE1MKCR0aGlzLT52WydmaWVsZCddLT5nZXRQcmVmaXhlZElkKCkpOz8+Ij48Pz0kdGhpcy0+dlsnZmllbGQnXS0+Z2V0TGFiZWwoKTs/PjwvbGFiZWw+PD9waHAgaWYgKCR0aGlzLT52WydmaWVsZCddLT5pc1JlcXVpcmVkKCkgJiYgJHRoaXMtPnZbJ2Zvcm0nXS0+bWFya3NSZXF1aXJlZEZpZWxkcygpKSB7ID8+IDxzcGFuIGNsYXNzPSJmb3JtRmllbGRSZXF1aXJlZCI+Kjwvc3Bhbj48P3BocCB9ID8+PD9waHAgfSA/PjwvZHQ+Cgk8ZGQ+Cj09PT0+IAkJPD89JHRoaXMtPnZbJ2ZpZWxkJ10tPmdldEZpZWxkSHRtbCgpOz8+CgoJCTw/cGhwCiRfZm9yZWFjaF81YTg1YTA3NzY0ZGI1MThkMWNiMzA1MWRiMGI2YzA1MTI3MzM3ZWM0ID0gJHRoaXMtPnZbJ2ZpZWxkJ10tPmdldFZhbGlkYXRpb25FcnJvcnMoKTsKJHRoaXMtPmZvcmVhY2hWYXJzWyc1YTg1YTA3NzY0ZGI1MThkMWNiMzA1MWRiMGI2YzA1MTI3MzM3ZWM0J10gPSBbXTsKJHRoaXMtPmZvcmVhY2hWYXJzWyc1YTg1YTA3NzY0ZGI1MThkMWNiMzA1MWRiMGI2YzA1MTI3MzM3ZWM0J11bJ2l0ZW0nXSA9ICR0aGlzLT52Wyd2YWxpZGF0aW9uRXJyb3InXSA/PyBudWxsOwppZiAoKGlzX2NvdW50YWJsZSgkX2ZvcmVhY2hfNWE4NWEwNzc2NGRiNTE4ZDFjYjMwNTFkYjBiNmMwNTEyNzMzN2VjNCkgJiYgY291bnQoJF9mb3JlYWNoXzVhODVhMDc3NjRkYjUxOGQxY2IzMDUxZGIwYjZjMDUxMjczMzdlYzQpID4gMCkgfHwgKCFpc19jb3VudGFibGUoJF9mb3JlYWNoXzVhODVhMDc3NjRkYjUxOGQxY2IzMDUxZGIwYjZjMDUxMjczMzdlYzQpICYmICRfZm9yZWFjaF81YTg1YTA3NzY0ZGI1MThkMWNiMzA1MWRiMGI2YzA1MTI3MzM3ZWM0KSkgewoiO319
Stack Trace: [{"file":"\/var\/www\/vhosts\/dayz-community.eu\/wsc61.dayz-community.eu\/lib\/system\/template\/TemplateEngine.class.php","line":584,"function":"getSourceFilename","class":"wcf\\system\\template\\TemplateEngine","type":"->","args":["__faqWysiwygJavaScript","wcf"]},{"file":"\/var\/www\/vhosts\/dayz-community.eu\/wsc61.dayz-community.eu\/lib\/system\/template\/TemplateEngine.class.php","line":444,"function":"isCompiled","class":"wcf\\system\\template\\TemplateEngine","type":"->","args":["shared_wysiwygFormField","\/var\/www\/vhosts\/dayz-community.eu\/wsc61.dayz-community.eu\/templates\/shared_wysiwygFormField.tpl","\/var\/www\/vhosts\/dayz-community.eu\/wsc61.dayz-community.eu\/templates\/compiled\/2_wcf_1_shared_wysiwygFormField.php","wcf",{"include":"[redacted]"}]},{"file":"\/var\/www\/vhosts\/dayz-community.eu\/wsc61.dayz-community.eu\/lib\/system\/template\/TemplateEngine.class.php","line":710,"function":"display","class":"wcf\\system\\template\\TemplateEngine","type":"->","args":["shared_wysiwygFormField","wcf",false]},{"file":"\/var\/www\/vhosts\/dayz-community.eu\/wsc61.dayz-community.eu\/lib\/system\/form\/builder\/field\/AbstractFormField.class.php","line":111,"function":"fetch","class":"wcf\\system\\template\\TemplateEngine","type":"->","args":["shared_wysiwygFormField","wcf",{"field":"[redacted]"},true]},{"file":"\/var\/www\/vhosts\/dayz-community.eu\/wsc61.dayz-community.eu\/lib\/system\/form\/builder\/field\/wysiwyg\/WysiwygFormField.class.php","line":154,"function":"getFieldHtml","class":"wcf\\system\\form\\builder\\field\\AbstractFormField","type":"->","args":[]},{"file":"\/var\/www\/vhosts\/dayz-community.eu\/wsc61.dayz-community.eu\/templates\/compiled\/2_wcf_1_shared_formField.php","line":38,"function":"getFieldHtml","class":"wcf\\system\\form\\builder\\field\\wysiwyg\\WysiwygFormField","type":"->","args":[]},{"file":"\/var\/www\/vhosts\/dayz-community.eu\/wsc61.dayz-community.eu\/lib\/system\/template\/TemplateEngine.class.php","line":457,"args":["\/var\/www\/vhosts\/dayz-community.eu\/wsc61.dayz-community.eu\/templates\/compiled\/2_wcf_1_shared_formField.php"],"function":"include","class":"","type":""},{"file":"\/var\/www\/vhosts\/dayz-community.eu\/wsc61.dayz-community.eu\/lib\/system\/template\/TemplateEngine.class.php","line":710,"function":"display","class":"wcf\\system\\template\\TemplateEngine","type":"->","args":["shared_formField","wcf",false]},{"file":"\/var\/www\/vhosts\/dayz-community.eu\/wsc61.dayz-community.eu\/lib\/system\/form\/builder\/field\/AbstractFormField.class.php","line":130,"function":"fetch","class":"wcf\\system\\template\\TemplateEngine","type":"->","args":["shared_formField","wcf",{"field":"[redacted]"},true]},{"file":"\/var\/www\/vhosts\/dayz-community.eu\/wsc61.dayz-community.eu\/templates\/compiled\/2_wcf_1_shared_formContainer.php","line":59,"function":"getHtml","class":"wcf\\system\\form\\builder\\field\\AbstractFormField","type":"->","args":[]},{"file":"\/var\/www\/vhosts\/dayz-community.eu\/wsc61.dayz-community.eu\/lib\/system\/template\/TemplateEngine.class.php","line":457,"args":["\/var\/www\/vhosts\/dayz-community.eu\/wsc61.dayz-community.eu\/templates\/compiled\/2_wcf_1_shared_formContainer.php"],"function":"include","class":"","type":""},{"file":"\/var\/www\/vhosts\/dayz-community.eu\/wsc61.dayz-community.eu\/lib\/system\/template\/TemplateEngine.class.php","line":710,"function":"display","class":"wcf\\system\\template\\TemplateEngine","type":"->","args":["shared_formContainer","wcf",false]},{"file":"\/var\/www\/vhosts\/dayz-community.eu\/wsc61.dayz-community.eu\/lib\/system\/form\/builder\/container\/FormContainer.class.php","line":57,"function":"fetch","class":"wcf\\system\\template\\TemplateEngine","type":"->","args":["shared_formContainer","wcf",{"container":"[redacted]"},true]},{"file":"\/var\/www\/vhosts\/dayz-community.eu\/wsc61.dayz-community.eu\/templates\/compiled\/2_wcf_1_shared_form.php","line":110,"function":"getHtml","class":"wcf\\system\\form\\builder\\container\\FormContainer","type":"->","args":[]},{"file":"\/var\/www\/vhosts\/dayz-community.eu\/wsc61.dayz-community.eu\/lib\/system\/template\/TemplateEngine.class.php","line":457,"args":["\/var\/www\/vhosts\/dayz-community.eu\/wsc61.dayz-community.eu\/templates\/compiled\/2_wcf_1_shared_form.php"],"function":"include","class":"","type":""},{"file":"\/var\/www\/vhosts\/dayz-community.eu\/wsc61.dayz-community.eu\/lib\/system\/template\/TemplateEngine.class.php","line":710,"function":"display","class":"wcf\\system\\template\\TemplateEngine","type":"->","args":["shared_form","wcf",false]},{"file":"\/var\/www\/vhosts\/dayz-community.eu\/wsc61.dayz-community.eu\/lib\/system\/form\/builder\/FormDocument.class.php","line":445,"function":"fetch","class":"wcf\\system\\template\\TemplateEngine","type":"->","args":["shared_form","wcf",{"form":"[redacted]"}]},{"file":"\/var\/www\/vhosts\/dayz-community.eu\/wsc61.dayz-community.eu\/acp\/templates\/compiled\/0_wcf_1_faqQuestionAdd.php","line":576,"function":"getHtml","class":"wcf\\system\\form\\builder\\FormDocument","type":"->","args":[]},{"file":"\/var\/www\/vhosts\/dayz-community.eu\/wsc61.dayz-community.eu\/lib\/system\/template\/TemplateEngine.class.php","line":457,"args":["\/var\/www\/vhosts\/dayz-community.eu\/wsc61.dayz-community.eu\/acp\/templates\/compiled\/0_wcf_1_faqQuestionAdd.php"],"function":"include","class":"","type":""},{"file":"\/var\/www\/vhosts\/dayz-community.eu\/wsc61.dayz-community.eu\/lib\/page\/AbstractPage.class.php","line":372,"function":"display","class":"wcf\\system\\template\\TemplateEngine","type":"->","args":["faqQuestionAdd","wcf"]},{"file":"\/var\/www\/vhosts\/dayz-community.eu\/wsc61.dayz-community.eu\/lib\/page\/AbstractPage.class.php","line":124,"function":"show","class":"wcf\\page\\AbstractPage","type":"->","args":[]},{"file":"\/var\/www\/vhosts\/dayz-community.eu\/wsc61.dayz-community.eu\/lib\/system\/request\/Request.class.php","line":50,"function":"__run","class":"wcf\\page\\AbstractPage","type":"->","args":[]},{"file":"\/var\/www\/vhosts\/dayz-community.eu\/wsc61.dayz-community.eu\/lib\/http\/middleware\/HandleValinorMappingErrors.class.php","line":35,"function":"handle","class":"wcf\\system\\request\\Request","type":"->","args":["Laminas\\Diactoros\\ServerRequest"]},{"file":"\/var\/www\/vhosts\/dayz-community.eu\/wsc61.dayz-community.eu\/lib\/system\/request\/RequestHandler.class.php","line":158,"function":"process","class":"wcf\\http\\Pipeline","type":"->","args":["Laminas\\Diactoros\\ServerRequest","wcf\\http\\RequestHandlerMiddleware"]},{"file":"\/var\/www\/vhosts\/dayz-community.eu\/wsc61.dayz-community.eu\/acp\/index.php","line":10,"function":"handle","class":"wcf\\system\\request\\RequestHandler","type":"->","args":["wcf",true]}]
Hallo,
ich habe das eben probiert zu reproduzieren und konnte es nicht reproduzieren. Folgendes habe ich gemacht:
- WSC 6.1 komplett clean installiert
- Simple-FAQ 2.2.0 installiert
- Frage via ACP angelegt
- Versucht Frage zu duplizieren
Dabei ist bei mir dieser Fehler nicht aufgetreten. Kannst du bitte deine Reproduktionsschritte dazu schreiben?
Hallo Peter,
Kann ich tun, kann aber erst 15 uhr diese schritt machen.
Fehlermeldung unter 6.1 Beta
Mon, 02 Sep 2024 20:22:53 +0000
Message: Unable to find template '__faqWysiwygJavaScript'
PHP version: 8.2.22
WoltLab Suite version: 6.1.0 Beta 1
Request URI: GET /acp/index.php?faq-question-add/&duplicateID=1&isMultilingual=0
Referrer: https://thirsty-hodgkin.212-132-75-171.plesk.page/acp/index.php?faq-question-list/
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:129.0) Gecko/20100101 Firefox/129.0
Peak Memory Usage: 2801824/134217728
======
Error Class: wcf\system\exception\SystemException
Error Message: Unable to find template '__faqWysiwygJavaScript'
Error Code: 0
File: /var/www/vhosts/thirsty-hodgkin.212-132-75-171.plesk.page/httpdocs/lib/system/template/TemplateEngine.class.php (496)
Extra Information: YToxOntpOjA7YToyOntpOjA7czoxNjoiVGVtcGxhdGUgQ29udGV4dCI7aToxO3M6MTExNToidW5zZXQoJHRoaXMtPmZvcmVhY2hWYXJzWyc2NzE1ZTFkZjcyZDQ0OTdiMWYxMzcyZDExZTM0YTUzOWM2YTI2MGQ2J10pOwogfSA/Pjw/cGhwIGlmICggISAkdGhpcy0+dlsnZmllbGQnXS0+Y2hlY2tEZXBlbmRlbmNpZXMoKSkgeyA/PiBzdHlsZT0iZGlzcGxheTogbm9uZTsiPD9waHAgfSA/Pj4KCTxkdD48P3BocCBpZiAoJHRoaXMtPnZbJ2ZpZWxkJ10tPmdldExhYmVsKCkgIT09IG51bGwpIHsgPz48bGFiZWwgZm9yPSI8Pz13Y2ZcdXRpbFxTdHJpbmdVdGlsOjplbmNvZGVIVE1MKCR0aGlzLT52WydmaWVsZCddLT5nZXRQcmVmaXhlZElkKCkpOz8+Ij48Pz0kdGhpcy0+dlsnZmllbGQnXS0+Z2V0TGFiZWwoKTs/PjwvbGFiZWw+PD9waHAgaWYgKCR0aGlzLT52WydmaWVsZCddLT5pc1JlcXVpcmVkKCkgJiYgJHRoaXMtPnZbJ2Zvcm0nXS0+bWFya3NSZXF1aXJlZEZpZWxkcygpKSB7ID8+IDxzcGFuIGNsYXNzPSJmb3JtRmllbGRSZXF1aXJlZCI+Kjwvc3Bhbj48P3BocCB9ID8+PD9waHAgfSA/PjwvZHQ+Cgk8ZGQ+Cj09PT0+IAkJPD89JHRoaXMtPnZbJ2ZpZWxkJ10tPmdldEZpZWxkSHRtbCgpOz8+CgoJCTw/cGhwCiRfZm9yZWFjaF8yOTYwNmQ3YzE2YjE5N2EwODU5MmU4NTQ2ZTdmODVjYzM3Y2NlNmMxID0gJHRoaXMtPnZbJ2ZpZWxkJ10tPmdldFZhbGlkYXRpb25FcnJvcnMoKTsKJHRoaXMtPmZvcmVhY2hWYXJzWycyOTYwNmQ3YzE2YjE5N2EwODU5MmU4NTQ2ZTdmODVjYzM3Y2NlNmMxJ10gPSBbXTsKJHRoaXMtPmZvcmVhY2hWYXJzWycyOTYwNmQ3YzE2YjE5N2EwODU5MmU4NTQ2ZTdmODVjYzM3Y2NlNmMxJ11bJ2l0ZW0nXSA9ICR0aGlzLT52Wyd2YWxpZGF0aW9uRXJyb3InXSA/PyBudWxsOwppZiAoKGlzX2NvdW50YWJsZSgkX2ZvcmVhY2hfMjk2MDZkN2MxNmIxOTdhMDg1OTJlODU0NmU3Zjg1Y2MzN2NjZTZjMSkgJiYgY291bnQoJF9mb3JlYWNoXzI5NjA2ZDdjMTZiMTk3YTA4NTkyZTg1NDZlN2Y4NWNjMzdjY2U2YzEpID4gMCkgfHwgKCFpc19jb3VudGFibGUoJF9mb3JlYWNoXzI5NjA2ZDdjMTZiMTk3YTA4NTkyZTg1NDZlN2Y4NWNjMzdjY2U2YzEpICYmICRfZm9yZWFjaF8yOTYwNmQ3YzE2YjE5N2EwODU5MmU4NTQ2ZTdmODVjYzM3Y2NlNmMxKSkgewoiO319
Stack Trace: [{"file":"\/var\/www\/vhosts\/thirsty-hodgkin.212-132-75-171.plesk.page\/httpdocs\/lib\/system\/template\/TemplateEngine.class.php","line":584,"function":"getSourceFilename","class":"wcf\\system\\template\\TemplateEngine","type":"->","args":["__faqWysiwygJavaScript","wcf"]},{"file":"\/var\/www\/vhosts\/thirsty-hodgkin.212-132-75-171.plesk.page\/httpdocs\/lib\/system\/template\/TemplateEngine.class.php","line":444,"function":"isCompiled","class":"wcf\\system\\template\\TemplateEngine","type":"->","args":["shared_wysiwygFormField","\/var\/www\/vhosts\/thirsty-hodgkin.212-132-75-171.plesk.page\/httpdocs\/templates\/shared_wysiwygFormField.tpl","\/var\/www\/vhosts\/thirsty-hodgkin.212-132-75-171.plesk.page\/httpdocs\/templates\/compiled\/2_wcf_1_shared_wysiwygFormField.php","wcf",{"include":"[redacted]"}]},{"file":"\/var\/www\/vhosts\/thirsty-hodgkin.212-132-75-171.plesk.page\/httpdocs\/lib\/system\/template\/TemplateEngine.class.php","line":710,"function":"display","class":"wcf\\system\\template\\TemplateEngine","type":"->","args":["shared_wysiwygFormField","wcf",false]},{"file":"\/var\/www\/vhosts\/thirsty-hodgkin.212-132-75-171.plesk.page\/httpdocs\/lib\/system\/form\/builder\/field\/AbstractFormField.class.php","line":111,"function":"fetch","class":"wcf\\system\\template\\TemplateEngine","type":"->","args":["shared_wysiwygFormField","wcf",{"field":"[redacted]"},true]},{"file":"\/var\/www\/vhosts\/thirsty-hodgkin.212-132-75-171.plesk.page\/httpdocs\/lib\/system\/form\/builder\/field\/wysiwyg\/WysiwygFormField.class.php","line":154,"function":"getFieldHtml","class":"wcf\\system\\form\\builder\\field\\AbstractFormField","type":"->","args":[]},{"file":"\/var\/www\/vhosts\/thirsty-hodgkin.212-132-75-171.plesk.page\/httpdocs\/templates\/compiled\/2_wcf_1_shared_formField.php","line":38,"function":"getFieldHtml","class":"wcf\\system\\form\\builder\\field\\wysiwyg\\WysiwygFormField","type":"->","args":[]},{"file":"\/var\/www\/vhosts\/thirsty-hodgkin.212-132-75-171.plesk.page\/httpdocs\/lib\/system\/template\/TemplateEngine.class.php","line":457,"args":["\/var\/www\/vhosts\/thirsty-hodgkin.212-132-75-171.plesk.page\/httpdocs\/templates\/compiled\/2_wcf_1_shared_formField.php"],"function":"include","class":"","type":""},{"file":"\/var\/www\/vhosts\/thirsty-hodgkin.212-132-75-171.plesk.page\/httpdocs\/lib\/system\/template\/TemplateEngine.class.php","line":710,"function":"display","class":"wcf\\system\\template\\TemplateEngine","type":"->","args":["shared_formField","wcf",false]},{"file":"\/var\/www\/vhosts\/thirsty-hodgkin.212-132-75-171.plesk.page\/httpdocs\/lib\/system\/form\/builder\/field\/AbstractFormField.class.php","line":130,"function":"fetch","class":"wcf\\system\\template\\TemplateEngine","type":"->","args":["shared_formField","wcf",{"field":"[redacted]"},true]},{"file":"\/var\/www\/vhosts\/thirsty-hodgkin.212-132-75-171.plesk.page\/httpdocs\/templates\/compiled\/2_wcf_1_shared_formContainer.php","line":59,"function":"getHtml","class":"wcf\\system\\form\\builder\\field\\AbstractFormField","type":"->","args":[]},{"file":"\/var\/www\/vhosts\/thirsty-hodgkin.212-132-75-171.plesk.page\/httpdocs\/lib\/system\/template\/TemplateEngine.class.php","line":457,"args":["\/var\/www\/vhosts\/thirsty-hodgkin.212-132-75-171.plesk.page\/httpdocs\/templates\/compiled\/2_wcf_1_shared_formContainer.php"],"function":"include","class":"","type":""},{"file":"\/var\/www\/vhosts\/thirsty-hodgkin.212-132-75-171.plesk.page\/httpdocs\/lib\/system\/template\/TemplateEngine.class.php","line":710,"function":"display","class":"wcf\\system\\template\\TemplateEngine","type":"->","args":["shared_formContainer","wcf",false]},{"file":"\/var\/www\/vhosts\/thirsty-hodgkin.212-132-75-171.plesk.page\/httpdocs\/lib\/system\/form\/builder\/container\/FormContainer.class.php","line":57,"function":"fetch","class":"wcf\\system\\template\\TemplateEngine","type":"->","args":["shared_formContainer","wcf",{"container":"[redacted]"},true]},{"file":"\/var\/www\/vhosts\/thirsty-hodgkin.212-132-75-171.plesk.page\/httpdocs\/templates\/compiled\/2_wcf_1_shared_form.php","line":110,"function":"getHtml","class":"wcf\\system\\form\\builder\\container\\FormContainer","type":"->","args":[]},{"file":"\/var\/www\/vhosts\/thirsty-hodgkin.212-132-75-171.plesk.page\/httpdocs\/lib\/system\/template\/TemplateEngine.class.php","line":457,"args":["\/var\/www\/vhosts\/thirsty-hodgkin.212-132-75-171.plesk.page\/httpdocs\/templates\/compiled\/2_wcf_1_shared_form.php"],"function":"include","class":"","type":""},{"file":"\/var\/www\/vhosts\/thirsty-hodgkin.212-132-75-171.plesk.page\/httpdocs\/lib\/system\/template\/TemplateEngine.class.php","line":710,"function":"display","class":"wcf\\system\\template\\TemplateEngine","type":"->","args":["shared_form","wcf",false]},{"file":"\/var\/www\/vhosts\/thirsty-hodgkin.212-132-75-171.plesk.page\/httpdocs\/lib\/system\/form\/builder\/FormDocument.class.php","line":445,"function":"fetch","class":"wcf\\system\\template\\TemplateEngine","type":"->","args":["shared_form","wcf",{"form":"[redacted]"}]},{"file":"\/var\/www\/vhosts\/thirsty-hodgkin.212-132-75-171.plesk.page\/httpdocs\/acp\/templates\/compiled\/0_wcf_1_faqQuestionAdd.php","line":576,"function":"getHtml","class":"wcf\\system\\form\\builder\\FormDocument","type":"->","args":[]},{"file":"\/var\/www\/vhosts\/thirsty-hodgkin.212-132-75-171.plesk.page\/httpdocs\/lib\/system\/template\/TemplateEngine.class.php","line":457,"args":["\/var\/www\/vhosts\/thirsty-hodgkin.212-132-75-171.plesk.page\/httpdocs\/acp\/templates\/compiled\/0_wcf_1_faqQuestionAdd.php"],"function":"include","class":"","type":""},{"file":"\/var\/www\/vhosts\/thirsty-hodgkin.212-132-75-171.plesk.page\/httpdocs\/lib\/page\/AbstractPage.class.php","line":372,"function":"display","class":"wcf\\system\\template\\TemplateEngine","type":"->","args":["faqQuestionAdd","wcf"]},{"file":"\/var\/www\/vhosts\/thirsty-hodgkin.212-132-75-171.plesk.page\/httpdocs\/lib\/page\/AbstractPage.class.php","line":124,"function":"show","class":"wcf\\page\\AbstractPage","type":"->","args":[]},{"file":"\/var\/www\/vhosts\/thirsty-hodgkin.212-132-75-171.plesk.page\/httpdocs\/lib\/system\/request\/Request.class.php","line":50,"function":"__run","class":"wcf\\page\\AbstractPage","type":"->","args":[]},{"file":"\/var\/www\/vhosts\/thirsty-hodgkin.212-132-75-171.plesk.page\/httpdocs\/lib\/http\/middleware\/HandleValinorMappingErrors.class.php","line":35,"function":"handle","class":"wcf\\system\\request\\Request","type":"->","args":["Laminas\\Diactoros\\ServerRequest"]},{"file":"\/var\/www\/vhosts\/thirsty-hodgkin.212-132-75-171.plesk.page\/httpdocs\/lib\/system\/request\/RequestHandler.class.php","line":158,"function":"process","class":"wcf\\http\\Pipeline","type":"->","args":["Laminas\\Diactoros\\ServerRequest","wcf\\http\\RequestHandlerMiddleware"]},{"file":"\/var\/www\/vhosts\/thirsty-hodgkin.212-132-75-171.plesk.page\/httpdocs\/acp\/index.php","line":10,"function":"handle","class":"wcf\\system\\request\\RequestHandler","type":"->","args":["wcf",true]}]
Mist, schon wieder vergessen. Waren wieder zu viele Bier dazwischen 😅
Ich setze mich gleich nochmal dran und nehme das ganze als Featurewunsch für die nächste Version mit
haha der war gut mit dem Bier Ja alles gut
Herzlichen Dank Hanashi !
Achtung: das ist aktuell noch nicht optimal für Mobilgeräte. Da muss ich nochmal ran.
Weißt du wann es wird? Frage für ein freund
Andere frage, mich würde es freuen wenn man die Icons ändern könnte Plus und Minus.
Plus - Nicht aufgeklappt
Minus - Aufgeklappt
Das wäre jetzt mein Ergebnis:
HTML: faqQuestionList.tpl Alles anzeigen{capture assign='__contentHeader'} <header class="contentHeader"> <div class="contentHeaderTitle"> <h1 class="contentTitle">{$__wcf->getActivePage()->getTitle()}</h1> </div> <nav class="contentHeaderNavigation"> <ul> {if $__wcf->session->getPermission('admin.faq.canAddQuestion')} <li><a href="{link controller='FaqQuestionAdd'}{/link}" class="button">{icon name='plus' size=16} <span>{lang}wcf.acp.menu.link.faq.questions.add{/lang}</span></a></li> {/if} {event name='contentHeaderNavigation'} </ul> </nav> </header> {/capture} {include file='header' contentHeader=$__contentHeader} <div style="display: flex; flex-wrap: wrap;"> {if $faqs|count} {foreach from=$faqs item=faq} {if ($faq['questions']|isset && $faq['questions']|count) || ($faq['sub']|isset && $faq['sub']|count)} {assign var='attachmentList' value=$faq['attachments']} <div class="section faq jsObjectActionContainer" style="flex: 1 auto; flex-direction: column; flex-basis: calc(50% - 10px); flex-grow: 0; flex-shrink: 0; margin: 5px;" data-object-action-class-name="wcf\data\faq\QuestionAction"> <h2>{$faq['title']}</h2> {if $faq['questions']|isset} {foreach from=$faq['questions'] item=question} {include file='__faqQuestionListEntry'} {/foreach} {/if} {if $faq['sub']|isset && $faq['sub']|count} {foreach from=$faq['sub'] item=sub} {if $sub['questions']|isset && $sub['questions']|count} {assign var='attachmentList' value=$sub['attachments']} <div class="sub"> <h2>{$sub['title']}</h2> {foreach from=$sub['questions'] item=question} {include file='__faqQuestionListEntry'} {/foreach} </div> {/if} {/foreach} {/if} </div> {/if} {/foreach} {else} <p class="info">{lang}wcf.global.noItems{/lang}</p> {/if} </div> <footer class="contentFooter"> {hascontent} <nav class="contentFooterNavigation"> <ul> {content}{event name='contentFooterNavigation'}{/content} </ul> </nav> {/hascontent} </footer> <script data-relocate="true"> document.addEventListener('DOMContentLoaded', () => { document.querySelectorAll('.collapsibleQuestion').forEach(collapsibleQuestion => { collapsibleQuestion.addEventListener('click', event => { // do not collapse when clicking action buttons if (!collapsibleQuestion.isEqualNode(event.target)) { return; } let currentAnswer = collapsibleQuestion.nextElementSibling; let isOpen = collapsibleQuestion.parentElement.classList.contains('open'); document.querySelectorAll('.answer').forEach(answer => { let questionContainer = answer.parentElement; if (answer.isEqualNode(currentAnswer) && !isOpen) { questionContainer.classList.add('open'); answer.style.display = 'block'; } else { questionContainer.classList.remove('open'); answer.style.display = 'none'; } }); }); }); }); </script> {include file='faqQuestionAddDialog'} {include file='footer'}
Geil, genau so hab ich mir das vorgestellt. Danke dir Hanashi
Hallo,
Gibs schon Neuigkeiten dazu ?
Liebe Grüße
Aktuell nicht in Planung. Deswegen kann ich keine Zeitplanung abgeben.
Ich kann mich aber am Wochenende mal dran setzen und das Template so umbauen, dass es dir was bringt. So könntest du das vorhandene Template vorübergehend überschreiben.
Es geht nur nicht um mir, auch WalkingWolves. Den es wäre cool wenn es machbar wäre das wir beides 2 spalten nebeneinander hätten. Danke für die Mühe!