CINXE.COM
Ersetzung von DEFINE durch Twig syntax - phpBB.de
<!DOCTYPE html> <html dir="ltr" lang="de"> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1" /> <title>Ersetzung von DEFINE durch Twig syntax - phpBB.de</title> <link rel="alternate" type="application/atom+xml" title="Feed - phpBB.de" href="/community/feed?sid=5a3bbff988d2801e179d8e46b2a25d73"> <link rel="alternate" type="application/atom+xml" title="Feed - Neuigkeiten" href="/community/feed/news?sid=5a3bbff988d2801e179d8e46b2a25d73"> <link rel="alternate" type="application/atom+xml" title="Feed - Neue Themen" href="/community/feed/topics?sid=5a3bbff988d2801e179d8e46b2a25d73"> <link rel="alternate" type="application/atom+xml" title="Feed - Aktive Themen" href="/community/feed/topics_active?sid=5a3bbff988d2801e179d8e46b2a25d73"> <link rel="alternate" type="application/atom+xml" title="Feed - Forum - Coding & Technik" href="/community/feed/forum/6?sid=5a3bbff988d2801e179d8e46b2a25d73"> <link rel="alternate" type="application/atom+xml" title="Feed - Thema - Ersetzung von DEFINE durch Twig syntax" href="/community/feed/topic/246990?sid=5a3bbff988d2801e179d8e46b2a25d73"> <link rel="canonical" href="https://www.phpbb.de/community/viewtopic.php?t=246990"> <!-- phpBB style name: phpBBdev1 Based on style: prosilver (this is the default phpBB3 style) Original author: Tom Beddard ( http://www.subBlue.com/ ) Modified by: phpBB.de --> <link href="./assets/css/font-awesome.min.css?assets_version=280" rel="stylesheet"> <link href="./styles/prosilver/theme/stylesheet.css?assets_version=280" rel="stylesheet" /> <link href="./styles/phpBBdev1/theme/stylesheet.css?assets_version=280" rel="stylesheet"> <link href="./styles/phpBBdev1/theme/de/stylesheet.css?assets_version=280" rel="stylesheet"> <link href="./styles/phpBBdev1/theme/images/favicon/mask-icon.svg?assets_version=280" rel="mask-icon" color="#3E647B" /> <!--[if lte IE 9]> <link href="./styles/prosilver/theme/tweaks.css?assets_version=280" rel="stylesheet"> <![endif]--> <link href="./ext/phpbbde/pastebin/styles/prosilver/theme/pastebin.css?assets_version=280" rel="stylesheet" media="screen"> <link href="./ext/rmcgirr83/contactadmin/styles/prosilver/theme/imageset.css?assets_version=280" rel="stylesheet" media="screen"> </head> <body id="phpbb" class="nojs notouch section-viewtopic ltr "> <div id="wrap" class="wrap"> <a id="top" class="top-anchor" accesskey="t"></a> <div id="page-header"> <div class="headerbar" role="banner"> <div class="inner"> <div id="site-description" class="site-description"> <a id="logo" class="logo" href="./../" title="Startseite"> <span class="site_logo"></span> </a> <h1>phpBB.de</h1> <p>phpBB.de - Die deutsche phpBB-Community</p> <p class="skiplink"><a href="#start_here">Zum Inhalt</a></p> </div> <div id="search-box" class="search-box search-header" role="search"> <form action="./search.php?sid=5a3bbff988d2801e179d8e46b2a25d73" method="get" id="search"> <fieldset> <input name="keywords" id="keywords" type="search" maxlength="128" title="Suche nach Wörtern" class="inputbox search tiny" size="20" value="" placeholder="Suche…" /> <button class="button button-search" type="submit" title="Suche"> <i class="icon fa-search fa-fw" aria-hidden="true"></i><span class="sr-only">Suche</span> </button> <a href="./search.php?sid=5a3bbff988d2801e179d8e46b2a25d73" class="button button-search-end" title="Erweiterte Suche"> <i class="icon fa-cog fa-fw" aria-hidden="true"></i><span class="sr-only">Erweiterte Suche</span> </a> <input type="hidden" name="sid" value="5a3bbff988d2801e179d8e46b2a25d73" /> </fieldset> </form> </div> <div id="phpbbde_navigation" class="phpbbde_navigation"> <div class="menu-button"> <a href="#" id="navi-toggle" title="Menü anzeigen">Menü</a> </div> <ul id="mainnavi" class="mainnavi"> <li class="mainnavi-title">phpBB.de - Navigation</li> <li class="navi-button but-about"> <a href="./../phpbbde/?sid=5a3bbff988d2801e179d8e46b2a25d73"><span class="subnavi-toggle"></span>Über uns</a> <ul class="subnavi"> <li><a href="./../phpbbde/chronik/?sid=5a3bbff988d2801e179d8e46b2a25d73">phpBB.de-Chronik <span>Die Geschichte von phpBB.de in Wort und Bild</span></a></li> <li><a href="./../phpbbde/team/?sid=5a3bbff988d2801e179d8e46b2a25d73">Das Team <span>Erfahre mehr über das Team hinter phpBB.de</span></a></li> <li><a href="./../phpbbde/fragen/?sid=5a3bbff988d2801e179d8e46b2a25d73">Fragen an das Team <span>Ihr habt gefragt, wir haben geantwortet</span></a></li> <li><a href="/community/contactadmin?sid=5a3bbff988d2801e179d8e46b2a25d73">Kontaktformular <span>Formular zur Kontaktaufnahme mit dem phpBB.de-Team</span></a></li> <li><a href="./../phpbbde/impressum/?sid=5a3bbff988d2801e179d8e46b2a25d73">Impressum <span>Das phpBB.de-Impressum</span></a></li> </ul> </li> <li class="navi-button but-phpbb"> <a href="./../infos/?sid=5a3bbff988d2801e179d8e46b2a25d73"><span class="subnavi-toggle"></span>phpBB</a> <ul class="subnavi"> <li><a href="./../infos/?sid=5a3bbff988d2801e179d8e46b2a25d73">Infos über phpBB <span>Erfahre mehr über phpBB</span></a></li> <li><a href="./../infos/tour/?sid=5a3bbff988d2801e179d8e46b2a25d73">Die phpBB-Tour <span>Was ist phpBB und wo bekomme ich es?</span></a></li> <li><a href="./../infos/features/?sid=5a3bbff988d2801e179d8e46b2a25d73">Feature-Vergleich <span>Lerne alle Features kennen, die dir phpBB bietet</span></a></li> <li><a href="./../infos/anpassen/?sid=5a3bbff988d2801e179d8e46b2a25d73">phpBB anpassen <span>Nutze Erweiterungen und Styles, um phpBB deinen Wünschen anzupassen</span></a></li> <li><a href="./../infos/entwickler/3.3/?sid=5a3bbff988d2801e179d8e46b2a25d73">Informationen für Entwickler <span>phpBB-Projektarchiv, nützliche Links, ...</span></a></li> <li><a href="./../xref/3.3/?sid=5a3bbff988d2801e179d8e46b2a25d73">Cross-Referenz 3.3 <span>Cross-Referenz des phpBB-Quellcodes</span></a></li> </ul> </li> <li class="navi-button but-downloads"> <a href="./../downloads/?sid=5a3bbff988d2801e179d8e46b2a25d73"><span class="subnavi-toggle"></span>Downloads</a> <ul class="subnavi"> <li><a href="./../downloads/pakete/?sid=5a3bbff988d2801e179d8e46b2a25d73">phpBB-Pakete <span>Die aktuellen dt. Komplett- und Updatepakete von phpBB</span></a></li> <li><a href="./../downloads/sprachpakete/?sid=5a3bbff988d2801e179d8e46b2a25d73">Sprachpakete <span>Die aktuellen deutschen Sprachdateien für phpBB</span></a></li> <li><a href="./../downloads/entwicklung/?sid=5a3bbff988d2801e179d8e46b2a25d73">Entwicklung <span>Entwickler-Downloads</span></a></li> </ul> </li> <li class="navi-button but-docu"> <a href="./../support/?sid=5a3bbff988d2801e179d8e46b2a25d73"><span class="subnavi-toggle"> </span>Support</a> <ul class="subnavi"> <li><a href="./../support/doku/quickstart/3.3/?sid=5a3bbff988d2801e179d8e46b2a25d73">Schnelleinstieg <span>Erklärt dir die Einrichtung deines phpBB Boards</span></a></li> <li><a href="https://www.phpbb.de/help/faq">Häufig gestellte Fragen <span>Häufige Fragen im Zusammenhang mit der Nutzung von phpBB</span></a></li> <li><a href="./../kb/index?sid=5a3bbff988d2801e179d8e46b2a25d73">Knowledge Base <span>Unsere Wissensdatenbank mit vielen und hilfreichen Artikeln</span></a></li> <li><a href="./../support/videos/?sid=5a3bbff988d2801e179d8e46b2a25d73">Videos <span>Unsere Supportvideos erklären Funktionen von phpBB</span></a></li> <li><a href="./../support/doku/?sid=5a3bbff988d2801e179d8e46b2a25d73">Dokumentation <span>Hier findest Du Dokumentationen zu phpBB</span></a></li> <li><a href="./../support/doku/perror/?sid=5a3bbff988d2801e179d8e46b2a25d73">MySQL-Fehlercodes <span>Mysql Fehlercodes dokumentiert</span></a></li> <li><a href="./../support/doku/htpasswd/?sid=5a3bbff988d2801e179d8e46b2a25d73">.htpasswd-Generator <span>Einfach zu bedienener Generator für .htpasswd Dateien</span></a></li> </ul> </li> <li class="navi-button but-community"> <a href="./../community/?sid=5a3bbff988d2801e179d8e46b2a25d73"><span class="subnavi-toggle"> </span>Community</a> <ul class="subnavi"> <li><a href="./../community/viewforum.php?f=145&sid=5a3bbff988d2801e179d8e46b2a25d73">Supportforen <span>Hilfe bei der Installation und Benutzung</span></a></li> <li><a href="./../community/viewforum.php?f=104&sid=5a3bbff988d2801e179d8e46b2a25d73">Communityforen<span>Allgemeine Diskussionen und phpBB-Usergroups</span></a></li> <li><a href="./../community/viewforum.php?f=148&sid=5a3bbff988d2801e179d8e46b2a25d73">Extension-Foren<span>Auf der Suche nach einer Extension? Fragen zu einer Extension?</span></a></li> <li><a href="./../community/viewforum.php?f=152&sid=5a3bbff988d2801e179d8e46b2a25d73">Styleforen<span>Du suchst einen neuen Style oder hast Probleme mit einem Style?</span></a></li> <li><a href="./../kb/knigge?sid=5a3bbff988d2801e179d8e46b2a25d73">Der kleine phpBB.de-Knigge <span>Eine kleine Liste von wichtigen Regeln auf phpBB.de</span></a></li> <li><a href="./../phpbbde/chat/?sid=5a3bbff988d2801e179d8e46b2a25d73">Discord / Chat <span>Besuche den Discord-Server oder den Chat auf Freenode</span></a></li> </ul> </li> </ul> </div> </div> </div> <div class="navbar" role="navigation"> <div class="inner"> <ul id="nav-main" class="nav-main linklist" role="menubar"> <li id="quick-links" class="quick-links dropdown-container responsive-menu" data-skip-responsive="true"> <a href="#" class="dropdown-trigger"> <i class="icon fa-bars fa-fw" aria-hidden="true"></i><span>Schnellzugriff</span> </a> <div class="dropdown"> <div class="pointer"><div class="pointer-inner"></div></div> <ul class="dropdown-contents" role="menu"> <li class="separator"></li> <li> <a href="./search.php?search_id=unanswered&sid=5a3bbff988d2801e179d8e46b2a25d73" role="menuitem"> <i class="icon fa-file-o fa-fw icon-gray" aria-hidden="true"></i><span>Unbeantwortete Themen</span> </a> </li> <li> <a href="./search.php?search_id=active_topics&sid=5a3bbff988d2801e179d8e46b2a25d73" role="menuitem"> <i class="icon fa-file-o fa-fw icon-blue" aria-hidden="true"></i><span>Aktive Themen</span> </a> </li> <li class="separator"></li> <li> <a href="./search.php?sid=5a3bbff988d2801e179d8e46b2a25d73" role="menuitem"> <i class="icon fa-search fa-fw" aria-hidden="true"></i><span>Suche</span> </a> </li> <li class="separator"></li> <li> <a href="./../phpbbde/team.php?sid=5a3bbff988d2801e179d8e46b2a25d73" role="menuitem"> <i class="icon fa-shield fa-fw" aria-hidden="true"></i><span>Das Team</span> </a> </li> <li class="separator"></li> </ul> </div> </li> <li data-skip-responsive="true"> <a href="./../help/faq?sid=5a3bbff988d2801e179d8e46b2a25d73" rel="help" title="Häufig gestellte Fragen" role="menuitem"> <i class="icon fa-question-circle fa-fw" aria-hidden="true"></i><span>FAQ</span> </a> </li> <li data-last-responsive="true"><a href="/community/pastebin/?sid=5a3bbff988d2801e179d8e46b2a25d73" title="Pastebin"><i class="icon fa-clipboard fa-fw" aria-hidden="true"></i><span>Pastebin</span></a></li> <li class="rightside" data-skip-responsive="true"> <a href="./ucp.php?mode=login&redirect=viewtopic.php%3Fp%3D1425247&sid=5a3bbff988d2801e179d8e46b2a25d73" title="Anmelden" accesskey="x" role="menuitem"> <i class="icon fa-power-off fa-fw" aria-hidden="true"></i><span>Anmelden</span> </a> </li> <li class="rightside" data-skip-responsive="true"> <a href="./ucp.php?mode=register&sid=5a3bbff988d2801e179d8e46b2a25d73" role="menuitem"> <i class="icon fa-pencil-square-o fa-fw" aria-hidden="true"></i><span>Registrieren</span> </a> </li> </ul> <ul id="nav-breadcrumbs" class="nav-breadcrumbs linklist navlinks" role="menubar"> <li class="breadcrumbs" itemscope itemtype="https://schema.org/BreadcrumbList"> <span class="crumb" itemtype="https://schema.org/ListItem" itemprop="itemListElement" itemscope><a itemprop="item" href="./../" data-navbar-reference="home"><i class="icon fa-home fa-fw" aria-hidden="true"></i><span itemprop="name">Startseite</span></a><meta itemprop="position" content="1" /></span> <span class="crumb" itemtype="https://schema.org/ListItem" itemprop="itemListElement" itemscope><a itemprop="item" href="./index.php?sid=5a3bbff988d2801e179d8e46b2a25d73" accesskey="h" data-navbar-reference="index"><span itemprop="name">Community</span></a><meta itemprop="position" content="2" /></span> <span class="crumb" itemtype="https://schema.org/ListItem" itemprop="itemListElement" itemscope data-forum-id="103"><a itemprop="item" href="./viewforum.php?f=103&sid=5a3bbff988d2801e179d8e46b2a25d73"><span itemprop="name">Entwickler-Ecke</span></a><meta itemprop="position" content="3" /></span> <span class="crumb" itemtype="https://schema.org/ListItem" itemprop="itemListElement" itemscope data-forum-id="6"><a itemprop="item" href="./viewforum.php?f=6&sid=5a3bbff988d2801e179d8e46b2a25d73"><span itemprop="name">Coding & Technik</span></a><meta itemprop="position" content="4" /></span> </li> <li class="rightside responsive-search"> <a href="./search.php?sid=5a3bbff988d2801e179d8e46b2a25d73" title="Zeigt die erweiterten Suchoptionen an" role="menuitem"> <i class="icon fa-search fa-fw" aria-hidden="true"></i><span class="sr-only">Suche</span> </a> </li> </ul> </div> </div> </div> <a id="start_here" class="anchor"></a> <div id="page-body" class="page-body" role="main"> <h2 class="topic-title"><a href="./viewtopic.php?t=246990&sid=5a3bbff988d2801e179d8e46b2a25d73">Ersetzung von DEFINE durch Twig syntax</a></h2> <!-- NOTE: remove the style="display: none" when you want to have the forum description on the topic body --> <div style="display: none !important;">Fragen zu allen Themen rund ums Programmieren außerhalb von phpBB können hier gestellt werden - auch zu anderen Programmiersprachen oder Software wie Webservern und Editoren.<br /></div> <div class="action-bar bar-top"> <a href="./posting.php?mode=reply&t=246990&sid=5a3bbff988d2801e179d8e46b2a25d73" class="button" title="Antwort erstellen"> <span>Antworten</span> <i class="icon fa-reply fa-fw" aria-hidden="true"></i> </a> <div class="dropdown-container dropdown-button-control topic-tools"> <span title="Themen-Optionen" class="button button-secondary dropdown-trigger dropdown-select"> <i class="icon fa-wrench fa-fw" aria-hidden="true"></i> <span class="caret"><i class="icon fa-sort-down fa-fw" aria-hidden="true"></i></span> </span> <div class="dropdown"> <div class="pointer"><div class="pointer-inner"></div></div> <ul class="dropdown-contents"> <li> <a href="./viewtopic.php?t=246990&sid=5a3bbff988d2801e179d8e46b2a25d73&view=print" title="Druckansicht" accesskey="p"> <i class="icon fa-print fa-fw" aria-hidden="true"></i><span>Druckansicht</span> </a> </li> </ul> </div> </div> <div class="search-box" role="search"> <form method="get" id="topic-search" action="./search.php?sid=5a3bbff988d2801e179d8e46b2a25d73"> <fieldset> <input class="inputbox search tiny" type="search" name="keywords" id="search_keywords" size="20" placeholder="Thema durchsuchen…" /> <button class="button button-search" type="submit" title="Suche"> <i class="icon fa-search fa-fw" aria-hidden="true"></i><span class="sr-only">Suche</span> </button> <a href="./search.php?sid=5a3bbff988d2801e179d8e46b2a25d73" class="button button-search-end" title="Erweiterte Suche"> <i class="icon fa-cog fa-fw" aria-hidden="true"></i><span class="sr-only">Erweiterte Suche</span> </a> <input type="hidden" name="t" value="246990" /> <input type="hidden" name="sf" value="msgonly" /> <input type="hidden" name="sid" value="5a3bbff988d2801e179d8e46b2a25d73" /> </fieldset> </form> </div> <div class="pagination"> 5 Beiträge • Seite <strong>1</strong> von <strong>1</strong> </div> </div> <div id="p1425225" class="post has-profile bg2"> <div class="inner"> <dl class="postprofile" id="profile1425225"> <dt class="has-profile-rank has-avatar"> <div class="avatar-container"> <a href="./memberlist.php?mode=viewprofile&u=206428&sid=5a3bbff988d2801e179d8e46b2a25d73" class="avatar"><img class="avatar" src="./download/file.php?avatar=206428_1703642850.png" width="90" height="90" alt="Benutzeravatar" /></a> </div> <a href="./memberlist.php?mode=viewprofile&u=206428&sid=5a3bbff988d2801e179d8e46b2a25d73" class="username">IMC</a> </dt> <dd class="profile-rank">Mitglied</dd> <dd class="profile-posts"><strong>Beiträge:</strong> <a href="./search.php?author_id=206428&sr=posts&sid=5a3bbff988d2801e179d8e46b2a25d73">648</a></dd> <dd class="profile-joined"><strong>Registriert:</strong> 25.11.2018 20:32</dd> <dd class="profile-custom-field profile-phpbb_location"><strong>Wohnort:</strong> Lüneburg</dd> <dd class="profile-contact"> <strong>Kontaktdaten:</strong> <div class="dropdown-container dropdown-left"> <a href="#" class="dropdown-trigger" title="Kontaktdaten von IMC"> <i class="icon fa-commenting-o fa-fw icon-lg" aria-hidden="true"></i><span class="sr-only">Kontaktdaten von IMC</span> </a> <div class="dropdown"> <div class="pointer"><div class="pointer-inner"></div></div> <div class="dropdown-contents contact-icons"> <div> <a href="https://www.indianclub.de" title="Website" class="last-cell"> <span class="contact-icon phpbb_website-icon">Website</span> </a> </div> </div> </div> </div> </dd> </dl> <div class="postbody"> <div id="post_content1425225"> <h3 class="first"> <a href="./viewtopic.php?p=1425225&sid=5a3bbff988d2801e179d8e46b2a25d73#p1425225">Ersetzung von DEFINE durch Twig syntax</a> </h3> <ul class="post-buttons"> <li> <a href="./posting.php?mode=quote&p=1425225&sid=5a3bbff988d2801e179d8e46b2a25d73" title="Mit Zitat antworten" class="button button-icon-only"> <i class="icon fa-quote-left fa-fw" aria-hidden="true"></i><span class="sr-only">Zitieren</span> </a> </li> </ul> <p class="author"> <a class="unread" href="./viewtopic.php?p=1425225&sid=5a3bbff988d2801e179d8e46b2a25d73#p1425225" title="Beitrag"> <i class="icon fa-file fa-fw icon-lightgray icon-md" aria-hidden="true"></i><span class="sr-only">Beitrag</span> </a> <span class="responsive-hide">von <strong><a href="./memberlist.php?mode=viewprofile&u=206428&sid=5a3bbff988d2801e179d8e46b2a25d73" class="username">IMC</a></strong> » </span><time datetime="2023-12-15T02:20:47+00:00">15.12.2023 03:20</time> </p> <div class="content">Ich möchte diesen Code durch Twig ersetzen, <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code> {% if not definition.INCLUDED_TEST %} test {% DEFINE INCLUDED_TEST = true %} {% endif %}</code></pre></div> Dieser Code funktioniert nicht so wie der erste. <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code> {% if INCLUDED_TEST is empty %} foo {% set INCLUDED_TEST = 'true' %} {% endif %}</code></pre></div> Wenn das <code class="inline">EVENT</code> mehrfach auf der Seite vorkommt ist die Variable bei jedem neuen Aufruf leer und es gibt eine Textausgabe.</div> <div id="sig1425225" class="signature">Gruß, Thorsten</div> </div> </div> <div class="back2top"> <a href="#top" class="top" title="Nach oben"> <i class="icon fa-chevron-circle-up fa-fw icon-gray" aria-hidden="true"></i> <span class="sr-only">Nach oben</span> </a> </div> </div> </div> <div id="p1425231" class="post has-profile bg1"> <div class="inner"> <dl class="postprofile" id="profile1425231"> <dt class="has-profile-rank has-avatar"> <div class="avatar-container"> <a href="./memberlist.php?mode=viewprofile&u=207251&sid=5a3bbff988d2801e179d8e46b2a25d73" class="avatar"><img class="avatar" src="./download/file.php?avatar=207251_1589570262.jpg" width="120" height="108" alt="Benutzeravatar" /></a> </div> <a href="./memberlist.php?mode=viewprofile&u=207251&sid=5a3bbff988d2801e179d8e46b2a25d73" style="color: #2B42AF;" class="username-coloured">Mike-on-Tour</a> </dt> <dd class="profile-rank">Supporter<br /><img src="./images/ranks/rang_supporter.png" alt="Supporter" title="Supporter" /></dd> <dd class="profile-posts"><strong>Beiträge:</strong> <a href="./search.php?author_id=207251&sr=posts&sid=5a3bbff988d2801e179d8e46b2a25d73">1206</a></dd> <dd class="profile-joined"><strong>Registriert:</strong> 13.01.2020 21:09</dd> <dd class="profile-contact"> <strong>Kontaktdaten:</strong> <div class="dropdown-container dropdown-left"> <a href="#" class="dropdown-trigger" title="Kontaktdaten von Mike-on-Tour"> <i class="icon fa-commenting-o fa-fw icon-lg" aria-hidden="true"></i><span class="sr-only">Kontaktdaten von Mike-on-Tour</span> </a> <div class="dropdown"> <div class="pointer"><div class="pointer-inner"></div></div> <div class="dropdown-contents contact-icons"> <div> <a href="https://www.mike-on-tour.com" title="Website" class="last-cell"> <span class="contact-icon phpbb_website-icon">Website</span> </a> </div> </div> </div> </div> </dd> </dl> <div class="postbody"> <div id="post_content1425231"> <h3 > <a href="./viewtopic.php?p=1425231&sid=5a3bbff988d2801e179d8e46b2a25d73#p1425231">Re: Ersetzung von DEFINE durch Twig syntax</a> </h3> <ul class="post-buttons"> <li> <a href="./posting.php?mode=quote&p=1425231&sid=5a3bbff988d2801e179d8e46b2a25d73" title="Mit Zitat antworten" class="button button-icon-only"> <i class="icon fa-quote-left fa-fw" aria-hidden="true"></i><span class="sr-only">Zitieren</span> </a> </li> </ul> <p class="author"> <a class="unread" href="./viewtopic.php?p=1425231&sid=5a3bbff988d2801e179d8e46b2a25d73#p1425231" title="Beitrag"> <i class="icon fa-file fa-fw icon-lightgray icon-md" aria-hidden="true"></i><span class="sr-only">Beitrag</span> </a> <span class="responsive-hide">von <strong><a href="./memberlist.php?mode=viewprofile&u=207251&sid=5a3bbff988d2801e179d8e46b2a25d73" style="color: #2B42AF;" class="username-coloured">Mike-on-Tour</a></strong> » </span><time datetime="2023-12-15T10:53:24+00:00">15.12.2023 11:53</time> </p> <div class="content">Laut der Twig-Dokumentation kann das nicht funktionieren, weil dort steht: <blockquote class="uncited"><div> empty checks if a variable is an empty string, an empty array, an empty hash, <strong class="text-strong">exactly false</strong>, or exactly null. </div></blockquote> Da die Variable aber beim Ausruf nicht exakt <code class="inline">false</code> ist, wird das wohl zu wahr ausgewertet und der Text ausgegeben.<br> <br> Was aber funktioniert (das verwende ich bei der ein oder anderen meiner Exts) ist folgendes, denn nicht gesetzte Variablen wertet Twig zu <code class="inline">false</code> aus: <div class="codebox"><p>Code: <a href="#" onclick="selectCode(this); return false;">Alles auswählen</a></p><pre><code> {% if !INCLUDED_TEST %} foo {% set INCLUDED_TEST = 'true' %} {% endif %} </code></pre></div> Habe das gerade zweimal in einem Template reinkopiert, dieses aufgerufen und es wird nur einmal die Textausgabe gemacht.</div> </div> </div> <div class="back2top"> <a href="#top" class="top" title="Nach oben"> <i class="icon fa-chevron-circle-up fa-fw icon-gray" aria-hidden="true"></i> <span class="sr-only">Nach oben</span> </a> </div> </div> </div> <div id="p1425233" class="post has-profile bg2"> <div class="inner"> <dl class="postprofile" id="profile1425233"> <dt class="has-profile-rank has-avatar"> <div class="avatar-container"> <a href="./memberlist.php?mode=viewprofile&u=190625&sid=5a3bbff988d2801e179d8e46b2a25d73" class="avatar"><img class="avatar" src="./download/file.php?avatar=190625_1430903531.jpg" width="80" height="80" alt="Benutzeravatar" /></a> </div> <a href="./memberlist.php?mode=viewprofile&u=190625&sid=5a3bbff988d2801e179d8e46b2a25d73" style="color: #2B42AF;" class="username-coloured">LukeWCS</a> </dt> <dd class="profile-rank">Supporter<br /><img src="./images/ranks/rang_supporter.png" alt="Supporter" title="Supporter" /></dd> <dd class="profile-posts"><strong>Beiträge:</strong> <a href="./search.php?author_id=190625&sr=posts&sid=5a3bbff988d2801e179d8e46b2a25d73">2736</a></dd> <dd class="profile-joined"><strong>Registriert:</strong> 15.12.2014 10:19</dd> <dd class="profile-contact"> <strong>Kontaktdaten:</strong> <div class="dropdown-container dropdown-left"> <a href="#" class="dropdown-trigger" title="Kontaktdaten von LukeWCS"> <i class="icon fa-commenting-o fa-fw icon-lg" aria-hidden="true"></i><span class="sr-only">Kontaktdaten von LukeWCS</span> </a> <div class="dropdown"> <div class="pointer"><div class="pointer-inner"></div></div> <div class="dropdown-contents contact-icons"> <div> <a href="https://www.wcsaga.org" title="Website" class="last-cell"> <span class="contact-icon phpbb_website-icon">Website</span> </a> </div> </div> </div> </div> </dd> </dl> <div class="postbody"> <div id="post_content1425233"> <h3 > <a href="./viewtopic.php?p=1425233&sid=5a3bbff988d2801e179d8e46b2a25d73#p1425233">Re: Ersetzung von DEFINE durch Twig syntax</a> </h3> <ul class="post-buttons"> <li> <a href="./posting.php?mode=quote&p=1425233&sid=5a3bbff988d2801e179d8e46b2a25d73" title="Mit Zitat antworten" class="button button-icon-only"> <i class="icon fa-quote-left fa-fw" aria-hidden="true"></i><span class="sr-only">Zitieren</span> </a> </li> </ul> <p class="author"> <a class="unread" href="./viewtopic.php?p=1425233&sid=5a3bbff988d2801e179d8e46b2a25d73#p1425233" title="Beitrag"> <i class="icon fa-file fa-fw icon-lightgray icon-md" aria-hidden="true"></i><span class="sr-only">Beitrag</span> </a> <span class="responsive-hide">von <strong><a href="./memberlist.php?mode=viewprofile&u=190625&sid=5a3bbff988d2801e179d8e46b2a25d73" style="color: #2B42AF;" class="username-coloured">LukeWCS</a></strong> » </span><time datetime="2023-12-15T11:04:42+00:00">15.12.2023 12:04</time> </p> <div class="content">Mahlzeit Thorsten<br> <br> Geht es dir übrigens um ein Projekt ausserhalb von phpBB? Wenn nicht, wäre die Bastelstube der richtige Rahmen und ich würde verschieben.<br> <blockquote cite="./viewtopic.php?p=1425225&sid=5a3bbff988d2801e179d8e46b2a25d73#p1425225"><div><cite><a href="./memberlist.php?mode=viewprofile&u=206428&sid=5a3bbff988d2801e179d8e46b2a25d73">IMC</a> hat geschrieben: <a href="./viewtopic.php?p=1425225&sid=5a3bbff988d2801e179d8e46b2a25d73#p1425225" aria-label="Zitierten Beitrag anzeigen" data-post-id="1425225" onclick="if(document.getElementById(hash.substr(1)))href=hash"><i class="icon fa-arrow-circle-up fa-fw" aria-hidden="true"></i></a><span class="responsive-hide">15.12.2023 03:20</span></cite> Ich möchte diesen Code durch Twig ersetzen,</div></blockquote> Kurz: Geht nicht, das ist bereits Twig. <img class="smilies" src="./images/smilies/icon_e_wink.gif" width="15" height="17" alt=":wink:" title="Zwinkern"> Genauer gesagt phpBB-Twig.<br> <br> Lang:<br> <br> <code class="inline">definition.</code> ist ein <span style="text-decoration:underline">globales</span> Objekt das von phpBB erzeugt wird, eben damit wir globale Twig Variablen definieren können.<br> <code class="inline">{% DEFINE</code> ist eine phpBB Erweiterung für Twig und somit auch nur bei phpBB vorhanden.<br> <blockquote class="uncited"><div>Wenn das <code class="inline">EVENT</code> mehrfach auf der Seite vorkommt ist die Variable bei jedem neuen Aufruf leer und es gibt eine Textausgabe.</div></blockquote> Zwangsläufig, weil <code class="inline">{% set</code> einen <span style="text-decoration:underline">lokalen</span> Scope hat. Das heisst das gilt ausschliesslich in dem/der Template/Datei wo das notiert wurde. Ausnahmen sind weitere Templates die wir mit <code class="inline">{% INCLUDE</code> einbinden, denn da wird der lokale Scope quasi weitergereicht. Aber da sind wir dann schon im Bereich "Vererbung".<br> <br> Wenn du also in Template A <code class="inline">{% set</code> verwendest, dann "weiss" Template B absolut nichts von <code class="inline">INCLUDED_TEST</code>. Salopp formuliert: Die Variable <code class="inline">INCLUDED_TEST</code> die in A definiert wurde, ist "Eigentum" von Template A und geht Template B einen feuchten Kehricht an. <img class="smilies" src="./images/smilies/icon_mrgreen.gif" width="15" height="17" alt=":D" title="Mr. Green"></div> <div id="sig1425233" class="signature">Möge das Backup mit dir sein. Immer.<br> <strong class="text-strong">Kein Support via PN!</strong> Siehe den Punkt "Private Nachrichten" im <a href="https://www.phpbb.de/kb/viewarticle?a=7" class="postlink">phpBB.de-Knigge</a>.<br> <a href="https://www.phpbb.de/community/viewtopic.php?t=246191" class="postlink">Erweiterungen - Infos zur artgerechten Haltung</a> / <a href="https://www.phpbb.de/community/viewtopic.php?t=244054" class="postlink">phpBB Ext Check - Analyse von Erweiterungen bezüglich Vorgaben und Kompatibilität</a></div> </div> </div> <div class="back2top"> <a href="#top" class="top" title="Nach oben"> <i class="icon fa-chevron-circle-up fa-fw icon-gray" aria-hidden="true"></i> <span class="sr-only">Nach oben</span> </a> </div> </div> </div> <div id="p1425243" class="post has-profile bg1"> <div class="inner"> <dl class="postprofile" id="profile1425243"> <dt class="has-profile-rank has-avatar"> <div class="avatar-container"> <a href="./memberlist.php?mode=viewprofile&u=206428&sid=5a3bbff988d2801e179d8e46b2a25d73" class="avatar"><img class="avatar" src="./download/file.php?avatar=206428_1703642850.png" width="90" height="90" alt="Benutzeravatar" /></a> </div> <a href="./memberlist.php?mode=viewprofile&u=206428&sid=5a3bbff988d2801e179d8e46b2a25d73" class="username">IMC</a> </dt> <dd class="profile-rank">Mitglied</dd> <dd class="profile-posts"><strong>Beiträge:</strong> <a href="./search.php?author_id=206428&sr=posts&sid=5a3bbff988d2801e179d8e46b2a25d73">648</a></dd> <dd class="profile-joined"><strong>Registriert:</strong> 25.11.2018 20:32</dd> <dd class="profile-custom-field profile-phpbb_location"><strong>Wohnort:</strong> Lüneburg</dd> <dd class="profile-contact"> <strong>Kontaktdaten:</strong> <div class="dropdown-container dropdown-left"> <a href="#" class="dropdown-trigger" title="Kontaktdaten von IMC"> <i class="icon fa-commenting-o fa-fw icon-lg" aria-hidden="true"></i><span class="sr-only">Kontaktdaten von IMC</span> </a> <div class="dropdown"> <div class="pointer"><div class="pointer-inner"></div></div> <div class="dropdown-contents contact-icons"> <div> <a href="https://www.indianclub.de" title="Website" class="last-cell"> <span class="contact-icon phpbb_website-icon">Website</span> </a> </div> </div> </div> </div> </dd> </dl> <div class="postbody"> <div id="post_content1425243"> <h3 > <a href="./viewtopic.php?p=1425243&sid=5a3bbff988d2801e179d8e46b2a25d73#p1425243">Re: Ersetzung von DEFINE durch Twig syntax</a> </h3> <ul class="post-buttons"> <li> <a href="./posting.php?mode=quote&p=1425243&sid=5a3bbff988d2801e179d8e46b2a25d73" title="Mit Zitat antworten" class="button button-icon-only"> <i class="icon fa-quote-left fa-fw" aria-hidden="true"></i><span class="sr-only">Zitieren</span> </a> </li> </ul> <p class="author"> <a class="unread" href="./viewtopic.php?p=1425243&sid=5a3bbff988d2801e179d8e46b2a25d73#p1425243" title="Beitrag"> <i class="icon fa-file fa-fw icon-lightgray icon-md" aria-hidden="true"></i><span class="sr-only">Beitrag</span> </a> <span class="responsive-hide">von <strong><a href="./memberlist.php?mode=viewprofile&u=206428&sid=5a3bbff988d2801e179d8e46b2a25d73" class="username">IMC</a></strong> » </span><time datetime="2023-12-15T14:49:08+00:00">15.12.2023 15:49</time> </p> <div class="content">Danke für eure Antworten.<br> <blockquote cite="./viewtopic.php?p=1425233&sid=5a3bbff988d2801e179d8e46b2a25d73#p1425233"><div><cite><a href="./memberlist.php?mode=viewprofile&u=190625&sid=5a3bbff988d2801e179d8e46b2a25d73">LukeWCS</a> hat geschrieben: <a href="./viewtopic.php?p=1425233&sid=5a3bbff988d2801e179d8e46b2a25d73#p1425233" aria-label="Zitierten Beitrag anzeigen" data-post-id="1425233" onclick="if(document.getElementById(hash.substr(1)))href=hash"><i class="icon fa-arrow-circle-up fa-fw" aria-hidden="true"></i></a><span class="responsive-hide">15.12.2023 12:04</span></cite> Geht es dir übrigens um ein Projekt ausserhalb von phpBB? Wenn nicht, wäre die Bastelstube der richtige Rahmen und ich würde verschieben.</div></blockquote> Ist phpBB, aber kein spezielles Projekt<br> <blockquote cite="./viewtopic.php?p=1425233&sid=5a3bbff988d2801e179d8e46b2a25d73#p1425233"><div><cite><a href="./memberlist.php?mode=viewprofile&u=190625&sid=5a3bbff988d2801e179d8e46b2a25d73">LukeWCS</a> hat geschrieben: <a href="./viewtopic.php?p=1425233&sid=5a3bbff988d2801e179d8e46b2a25d73#p1425233" aria-label="Zitierten Beitrag anzeigen" data-post-id="1425233" onclick="if(document.getElementById(hash.substr(1)))href=hash"><i class="icon fa-arrow-circle-up fa-fw" aria-hidden="true"></i></a><span class="responsive-hide">15.12.2023 12:04</span></cite> Kurz: Geht nicht, das ist bereits Twig. <img class="smilies" src="./images/smilies/icon_e_wink.gif" width="15" height="17" alt=":wink:" title="Zwinkern"> Genauer gesagt phpBB-Twig.</div></blockquote> Hatte ich mir schon gedacht.<br> <blockquote cite="./viewtopic.php?p=1425233&sid=5a3bbff988d2801e179d8e46b2a25d73#p1425233"><div><cite><a href="./memberlist.php?mode=viewprofile&u=190625&sid=5a3bbff988d2801e179d8e46b2a25d73">LukeWCS</a> hat geschrieben: <a href="./viewtopic.php?p=1425233&sid=5a3bbff988d2801e179d8e46b2a25d73#p1425233" aria-label="Zitierten Beitrag anzeigen" data-post-id="1425233" onclick="if(document.getElementById(hash.substr(1)))href=hash"><i class="icon fa-arrow-circle-up fa-fw" aria-hidden="true"></i></a><span class="responsive-hide">15.12.2023 12:04</span></cite> Lang:</div></blockquote> Danke für die verständliche Erklärung.<br> Bis Gestern hatte ich gedacht das sich der Namensraum auf die generierte Seite erstreckt und nicht nur auf das einzelne Template. <br> phpBB hat zum Ausgleiche das Globale Objekt. Tatsächlich hatte ich erwartet dass Twig von sich aus Globale Variablen händeln kann.<br> <br> Wieder etwas dazugelernt.</div> <div id="sig1425243" class="signature">Gruß, Thorsten</div> </div> </div> <div class="back2top"> <a href="#top" class="top" title="Nach oben"> <i class="icon fa-chevron-circle-up fa-fw icon-gray" aria-hidden="true"></i> <span class="sr-only">Nach oben</span> </a> </div> </div> </div> <div id="p1425247" class="post has-profile bg2"> <div class="inner"> <dl class="postprofile" id="profile1425247"> <dt class="has-profile-rank has-avatar"> <div class="avatar-container"> <a href="./memberlist.php?mode=viewprofile&u=190625&sid=5a3bbff988d2801e179d8e46b2a25d73" class="avatar"><img class="avatar" src="./download/file.php?avatar=190625_1430903531.jpg" width="80" height="80" alt="Benutzeravatar" /></a> </div> <a href="./memberlist.php?mode=viewprofile&u=190625&sid=5a3bbff988d2801e179d8e46b2a25d73" style="color: #2B42AF;" class="username-coloured">LukeWCS</a> </dt> <dd class="profile-rank">Supporter<br /><img src="./images/ranks/rang_supporter.png" alt="Supporter" title="Supporter" /></dd> <dd class="profile-posts"><strong>Beiträge:</strong> <a href="./search.php?author_id=190625&sr=posts&sid=5a3bbff988d2801e179d8e46b2a25d73">2736</a></dd> <dd class="profile-joined"><strong>Registriert:</strong> 15.12.2014 10:19</dd> <dd class="profile-contact"> <strong>Kontaktdaten:</strong> <div class="dropdown-container dropdown-left"> <a href="#" class="dropdown-trigger" title="Kontaktdaten von LukeWCS"> <i class="icon fa-commenting-o fa-fw icon-lg" aria-hidden="true"></i><span class="sr-only">Kontaktdaten von LukeWCS</span> </a> <div class="dropdown"> <div class="pointer"><div class="pointer-inner"></div></div> <div class="dropdown-contents contact-icons"> <div> <a href="https://www.wcsaga.org" title="Website" class="last-cell"> <span class="contact-icon phpbb_website-icon">Website</span> </a> </div> </div> </div> </div> </dd> </dl> <div class="postbody"> <div id="post_content1425247"> <h3 > <a href="./viewtopic.php?p=1425247&sid=5a3bbff988d2801e179d8e46b2a25d73#p1425247">Re: Ersetzung von DEFINE durch Twig syntax</a> </h3> <ul class="post-buttons"> <li> <a href="./posting.php?mode=quote&p=1425247&sid=5a3bbff988d2801e179d8e46b2a25d73" title="Mit Zitat antworten" class="button button-icon-only"> <i class="icon fa-quote-left fa-fw" aria-hidden="true"></i><span class="sr-only">Zitieren</span> </a> </li> </ul> <p class="author"> <a class="unread" href="./viewtopic.php?p=1425247&sid=5a3bbff988d2801e179d8e46b2a25d73#p1425247" title="Beitrag"> <i class="icon fa-file fa-fw icon-lightgray icon-md" aria-hidden="true"></i><span class="sr-only">Beitrag</span> </a> <span class="responsive-hide">von <strong><a href="./memberlist.php?mode=viewprofile&u=190625&sid=5a3bbff988d2801e179d8e46b2a25d73" style="color: #2B42AF;" class="username-coloured">LukeWCS</a></strong> » </span><time datetime="2023-12-15T15:42:05+00:00">15.12.2023 16:42</time> </p> <div class="content"><blockquote cite="./viewtopic.php?p=1425243&sid=5a3bbff988d2801e179d8e46b2a25d73#p1425243"><div><cite><a href="./memberlist.php?mode=viewprofile&u=206428&sid=5a3bbff988d2801e179d8e46b2a25d73">IMC</a> hat geschrieben: <a href="./viewtopic.php?p=1425243&sid=5a3bbff988d2801e179d8e46b2a25d73#p1425243" aria-label="Zitierten Beitrag anzeigen" data-post-id="1425243" onclick="if(document.getElementById(hash.substr(1)))href=hash"><i class="icon fa-arrow-circle-up fa-fw" aria-hidden="true"></i></a><span class="responsive-hide">15.12.2023 15:49</span></cite> Tatsächlich hatte ich erwartet dass Twig von sich aus Globale Variablen händeln kann.</div></blockquote> Dem ist nicht so, jedenfalls nicht Vanillla. Das muss Twig explizit beigebracht werden, phpBB macht das eben über <code class="inline">definition.</code>.<br> <br> Nur um das zu präzisieren: Ich hatte ja geschrieben von Template A und B, also wenn es 2 separate Templates sind. Das gilt aber genauso wenn dasselbe Template mehrfach aufgerufen wird. Templates kann man als separate "Instanzen" betrachten. Eine lokale Variable die beim ersten Aufruf (Instanz A) eines Templates gesetzt wird, ist beim zweiten Aufruf (Instanz B) des gleichen Templates nicht mehr existent.<br> <br> Beispiel Toggle Control:<br> <br> Die Template Variable <code class="inline">TOGGLECTRL_TYPE</code> liegt im globalen Scope und hat deshalb das Präfix <code class="inline">TOGGLECTRL_</code> wie alle Variablen bei TC, die in einem globalen Scope liegen. Ich verwende konsequent ein Präfix bei Namen von globalen Variablen, um Kollisionen mit phpBB und anderen Exts zu vermeiden. Leider ist vielen Ext Codern nicht bewusst, dass sie mit globalen Scopes hantieren.<br> <br> Dagegen habe ich bei der Template Variable <code class="inline">switch_type</code> kein Präfix verwendet, weil sie im lokalen Scope definiert wird. Und das entspricht dann wieder deinem zweiten Code.</div> <div id="sig1425247" class="signature">Möge das Backup mit dir sein. Immer.<br> <strong class="text-strong">Kein Support via PN!</strong> Siehe den Punkt "Private Nachrichten" im <a href="https://www.phpbb.de/kb/viewarticle?a=7" class="postlink">phpBB.de-Knigge</a>.<br> <a href="https://www.phpbb.de/community/viewtopic.php?t=246191" class="postlink">Erweiterungen - Infos zur artgerechten Haltung</a> / <a href="https://www.phpbb.de/community/viewtopic.php?t=244054" class="postlink">phpBB Ext Check - Analyse von Erweiterungen bezüglich Vorgaben und Kompatibilität</a></div> </div> </div> <div class="back2top"> <a href="#top" class="top" title="Nach oben"> <i class="icon fa-chevron-circle-up fa-fw icon-gray" aria-hidden="true"></i> <span class="sr-only">Nach oben</span> </a> </div> </div> </div> <div class="action-bar bar-bottom"> <a href="./posting.php?mode=reply&t=246990&sid=5a3bbff988d2801e179d8e46b2a25d73" class="button" title="Antwort erstellen"> <span>Antworten</span> <i class="icon fa-reply fa-fw" aria-hidden="true"></i> </a> <div class="dropdown-container dropdown-button-control topic-tools"> <span title="Themen-Optionen" class="button button-secondary dropdown-trigger dropdown-select"> <i class="icon fa-wrench fa-fw" aria-hidden="true"></i> <span class="caret"><i class="icon fa-sort-down fa-fw" aria-hidden="true"></i></span> </span> <div class="dropdown"> <div class="pointer"><div class="pointer-inner"></div></div> <ul class="dropdown-contents"> <li> <a href="./viewtopic.php?t=246990&sid=5a3bbff988d2801e179d8e46b2a25d73&view=print" title="Druckansicht" accesskey="p"> <i class="icon fa-print fa-fw" aria-hidden="true"></i><span>Druckansicht</span> </a> </li> </ul> </div> </div> <form method="post" action="./viewtopic.php?t=246990&sid=5a3bbff988d2801e179d8e46b2a25d73"> <div class="dropdown-container dropdown-container-left dropdown-button-control sort-tools"> <span title="Anzeige- und Sortierungs-Einstellungen" class="button button-secondary dropdown-trigger dropdown-select"> <i class="icon fa-sort-amount-asc fa-fw" aria-hidden="true"></i> <span class="caret"><i class="icon fa-sort-down fa-fw" aria-hidden="true"></i></span> </span> <div class="dropdown hidden"> <div class="pointer"><div class="pointer-inner"></div></div> <div class="dropdown-contents"> <fieldset class="display-options"> <label>Anzeigen: <select name="st" id="st"><option value="0" selected="selected">Alle Beiträge</option><option value="1">1 Tag</option><option value="7">7 Tage</option><option value="14">2 Wochen</option><option value="30">1 Monat</option><option value="90">3 Monate</option><option value="180">6 Monate</option><option value="365">1 Jahr</option></select></label> <label>Sortiere nach: <select name="sk" id="sk"><option value="a">Autor</option><option value="t" selected="selected">Erstellungsdatum</option><option value="s">Betreff</option></select></label> <label>Richtung: <select name="sd" id="sd"><option value="a" selected="selected">Aufsteigend</option><option value="d">Absteigend</option></select></label> <hr class="dashed" /> <input type="submit" class="button2" name="sort" value="Los" /> </fieldset> </div> </div> </div> </form> <div class="pagination"> 5 Beiträge • Seite <strong>1</strong> von <strong>1</strong> </div> </div> <div class="action-bar actions-jump"> <p class="jumpbox-return"> <a href="./viewforum.php?f=6&sid=5a3bbff988d2801e179d8e46b2a25d73" class="left-box arrow-left" accesskey="r"> <i class="icon fa-angle-left fa-fw icon-black" aria-hidden="true"></i><span>Zurück zu „Coding & Technik“</span> </a> </p> <div class="jumpbox dropdown-container dropdown-container-right dropdown-up dropdown-left dropdown-button-control" id="jumpbox"> <span title="Gehe zu" class="button button-secondary dropdown-trigger dropdown-select"> <span>Gehe zu</span> <span class="caret"><i class="icon fa-sort-down fa-fw" aria-hidden="true"></i></span> </span> <div class="dropdown"> <div class="pointer"><div class="pointer-inner"></div></div> <ul class="dropdown-contents"> <li><a href="./viewforum.php?f=96&sid=5a3bbff988d2801e179d8e46b2a25d73" class="jumpbox-cat-link"> <span> Wichtige Neuigkeiten</span></a></li> <li><a href="./viewforum.php?f=9&sid=5a3bbff988d2801e179d8e46b2a25d73" class="jumpbox-sub-link"><span class="spacer"></span> <span>↳ Ankündigungen und Neuigkeiten</span></a></li> <li><a href="./viewforum.php?f=164&sid=5a3bbff988d2801e179d8e46b2a25d73" class="jumpbox-sub-link"><span class="spacer"></span> <span>↳ Der kleine phpBB.de-Knigge - unsere Hausordnung</span></a></li> <li><a href="./viewforum.php?f=144&sid=5a3bbff988d2801e179d8e46b2a25d73" class="jumpbox-cat-link"> <span> phpBB 3.3.x</span></a></li> <li><a href="./viewforum.php?f=145&sid=5a3bbff988d2801e179d8e46b2a25d73" class="jumpbox-sub-link"><span class="spacer"></span> <span>↳ Support-Forum</span></a></li> <li><a href="./viewforum.php?f=148&sid=5a3bbff988d2801e179d8e46b2a25d73" class="jumpbox-sub-link"><span class="spacer"></span> <span>↳ Extension-Foren</span></a></li> <li><a href="./viewforum.php?f=150&sid=5a3bbff988d2801e179d8e46b2a25d73" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span> <span>↳ Extension Support</span></a></li> <li><a href="./viewforum.php?f=151&sid=5a3bbff988d2801e179d8e46b2a25d73" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span> <span>↳ Extension Suche/Anfrage</span></a></li> <li><a href="./viewforum.php?f=149&sid=5a3bbff988d2801e179d8e46b2a25d73" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span> <span>↳ Extensions in Entwicklung</span></a></li> <li><a href="./viewforum.php?f=140&sid=5a3bbff988d2801e179d8e46b2a25d73" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span> <span>↳ Extension Bastelstube</span></a></li> <li><a href="./viewforum.php?f=163&sid=5a3bbff988d2801e179d8e46b2a25d73" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span> <span>↳ ABD Extensions</span></a></li> <li><a href="./viewforum.php?f=152&sid=5a3bbff988d2801e179d8e46b2a25d73" class="jumpbox-sub-link"><span class="spacer"></span> <span>↳ Style-Foren</span></a></li> <li><a href="./viewforum.php?f=153&sid=5a3bbff988d2801e179d8e46b2a25d73" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span> <span>↳ Styles, Templates und Grafiken</span></a></li> <li><a href="./viewforum.php?f=154&sid=5a3bbff988d2801e179d8e46b2a25d73" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span> <span>↳ Styles in Entwicklung</span></a></li> <li><a href="./viewforum.php?f=141&sid=5a3bbff988d2801e179d8e46b2a25d73" class="jumpbox-sub-link"><span class="spacer"></span> <span>↳ Übersetzungs-Foren</span></a></li> <li><a href="./viewforum.php?f=161&sid=5a3bbff988d2801e179d8e46b2a25d73" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span> <span>↳ [3.3.x] Übersetzungs-Diskussionen</span></a></li> <li><a href="./viewforum.php?f=157&sid=5a3bbff988d2801e179d8e46b2a25d73" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span> <span>↳ [3.2.x] Übersetzungs-Diskussionen</span></a></li> <li><a href="./viewforum.php?f=156&sid=5a3bbff988d2801e179d8e46b2a25d73" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span> <span>↳ Extension-Übersetzungen</span></a></li> <li><a href="./viewforum.php?f=143&sid=5a3bbff988d2801e179d8e46b2a25d73" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span> <span>↳ Übersetzungs-Diskussionen (abgeschlossen)</span></a></li> <li><a href="./viewforum.php?f=103&sid=5a3bbff988d2801e179d8e46b2a25d73" class="jumpbox-cat-link"> <span> Entwickler-Ecke</span></a></li> <li><a href="./viewforum.php?f=6&sid=5a3bbff988d2801e179d8e46b2a25d73" class="jumpbox-sub-link"><span class="spacer"></span> <span>↳ Coding & Technik</span></a></li> <li><a href="./viewforum.php?f=158&sid=5a3bbff988d2801e179d8e46b2a25d73" class="jumpbox-sub-link"><span class="spacer"></span> <span>↳ Area51 auf phpBB.com</span></a></li> <li><a href="./viewforum.php?f=100&sid=5a3bbff988d2801e179d8e46b2a25d73" class="jumpbox-cat-link"> <span> Frühere Versionen</span></a></li> <li><a href="./viewforum.php?f=155&sid=5a3bbff988d2801e179d8e46b2a25d73" class="jumpbox-sub-link"><span class="spacer"></span> <span>↳ Foren für phpBB 3.0</span></a></li> <li><a href="./viewforum.php?f=97&sid=5a3bbff988d2801e179d8e46b2a25d73" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span> <span>↳ [3.0.x] Support-Foren</span></a></li> <li><a href="./viewforum.php?f=73&sid=5a3bbff988d2801e179d8e46b2a25d73" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span> <span>↳ [3.0.x] Installation, Update und Konvertierung</span></a></li> <li><a href="./viewforum.php?f=74&sid=5a3bbff988d2801e179d8e46b2a25d73" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span> <span>↳ [3.0.x] Administration, Benutzung und Betrieb</span></a></li> <li><a href="./viewforum.php?f=98&sid=5a3bbff988d2801e179d8e46b2a25d73" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span> <span>↳ [3.0.x] Mod-Foren</span></a></li> <li><a href="./viewforum.php?f=85&sid=5a3bbff988d2801e179d8e46b2a25d73" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span> <span>↳ [3.0.x] Snippets</span></a></li> <li><a href="./viewforum.php?f=87&sid=5a3bbff988d2801e179d8e46b2a25d73" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span> <span>↳ [3.0.x] Mod Suche/Anfragen</span></a></li> <li><a href="./viewforum.php?f=86&sid=5a3bbff988d2801e179d8e46b2a25d73" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span> <span>↳ [3.0.x] Mod Support</span></a></li> <li><a href="./viewforum.php?f=88&sid=5a3bbff988d2801e179d8e46b2a25d73" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span> <span>↳ [3.0.x] Mods in Entwicklung</span></a></li> <li><a href="./viewforum.php?f=93&sid=5a3bbff988d2801e179d8e46b2a25d73" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span> <span>↳ [3.0.x] Mod Bastelstube</span></a></li> <li><a href="./viewforum.php?f=99&sid=5a3bbff988d2801e179d8e46b2a25d73" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span> <span>↳ [3.0.x] Style-Foren</span></a></li> <li><a href="./viewforum.php?f=89&sid=5a3bbff988d2801e179d8e46b2a25d73" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span> <span>↳ [3.0.x] Styles, Templates und Grafiken</span></a></li> <li><a href="./viewforum.php?f=129&sid=5a3bbff988d2801e179d8e46b2a25d73" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span> <span>↳ [3.0.x] Styles in Entwicklung</span></a></li> <li><a href="./viewforum.php?f=136&sid=5a3bbff988d2801e179d8e46b2a25d73" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span> <span>↳ [3.0.x] Übersetzungs-Foren</span></a></li> <li><a href="./viewforum.php?f=137&sid=5a3bbff988d2801e179d8e46b2a25d73" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span> <span>↳ [3.0.x] phpBB.de-Übersetzungen</span></a></li> <li><a href="./viewforum.php?f=134&sid=5a3bbff988d2801e179d8e46b2a25d73" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span> <span>↳ [3.0.x] Mod-Übersetzungen</span></a></li> <li><a href="./viewforum.php?f=135&sid=5a3bbff988d2801e179d8e46b2a25d73" class="jumpbox-sub-link"><span class="spacer"></span> <span>↳ Foren für phpBB 2.0</span></a></li> <li><a href="./viewforum.php?f=12&sid=5a3bbff988d2801e179d8e46b2a25d73" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span> <span>↳ phpBB 2.0: Installation und Update</span></a></li> <li><a href="./viewforum.php?f=13&sid=5a3bbff988d2801e179d8e46b2a25d73" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span> <span>↳ phpBB 2.0: Administration, Benutzung und Betrieb</span></a></li> <li><a href="./viewforum.php?f=101&sid=5a3bbff988d2801e179d8e46b2a25d73" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span> <span>↳ phpBB 2.0 Mods</span></a></li> <li><a href="./viewforum.php?f=37&sid=5a3bbff988d2801e179d8e46b2a25d73" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span> <span>↳ phpBB 2.0: Mod-Datenbank</span></a></li> <li><a href="./viewforum.php?f=34&sid=5a3bbff988d2801e179d8e46b2a25d73" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span> <span>↳ phpBB 2.0: Snippets</span></a></li> <li><a href="./viewforum.php?f=47&sid=5a3bbff988d2801e179d8e46b2a25d73" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span> <span>↳ phpBB 2.0: Mod Suche/Anfragen</span></a></li> <li><a href="./viewforum.php?f=49&sid=5a3bbff988d2801e179d8e46b2a25d73" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span> <span>↳ phpBB 2.0: Mod Support</span></a></li> <li><a href="./viewforum.php?f=48&sid=5a3bbff988d2801e179d8e46b2a25d73" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span> <span>↳ phpBB 2.0: Mods in Entwicklung</span></a></li> <li><a href="./viewforum.php?f=102&sid=5a3bbff988d2801e179d8e46b2a25d73" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span> <span>↳ phpBB 2.0 Styles</span></a></li> <li><a href="./viewforum.php?f=42&sid=5a3bbff988d2801e179d8e46b2a25d73" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span> <span>↳ phpBB 2.0: Styles-Datenbank</span></a></li> <li><a href="./viewforum.php?f=35&sid=5a3bbff988d2801e179d8e46b2a25d73" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span> <span>↳ phpBB 2.0: Styles, Templates und Grafiken</span></a></li> <li><a href="./viewforum.php?f=94&sid=5a3bbff988d2801e179d8e46b2a25d73" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span> <span>↳ phpBB 2.0: Mod-Bastelstube</span></a></li> <li><a href="./viewforum.php?f=104&sid=5a3bbff988d2801e179d8e46b2a25d73" class="jumpbox-cat-link"> <span> Community-Foren</span></a></li> <li><a href="./viewforum.php?f=19&sid=5a3bbff988d2801e179d8e46b2a25d73" class="jumpbox-sub-link"><span class="spacer"></span> <span>↳ Community Talk</span></a></li> <li><a href="./viewforum.php?f=33&sid=5a3bbff988d2801e179d8e46b2a25d73" class="jumpbox-sub-link"><span class="spacer"></span> <span>↳ phpBB Diskussion</span></a></li> <li><a href="./viewforum.php?f=67&sid=5a3bbff988d2801e179d8e46b2a25d73" class="jumpbox-sub-link"><span class="spacer"></span> <span>↳ Show-Off</span></a></li> <li><a href="./viewforum.php?f=105&sid=5a3bbff988d2801e179d8e46b2a25d73" class="jumpbox-sub-link"><span class="spacer"></span> <span>↳ phpBB Regional</span></a></li> <li><a href="./viewforum.php?f=77&sid=5a3bbff988d2801e179d8e46b2a25d73" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span> <span>↳ phpBB in Norddeutschland</span></a></li> <li><a href="./viewforum.php?f=78&sid=5a3bbff988d2801e179d8e46b2a25d73" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span> <span>↳ phpBB in Ostdeutschland</span></a></li> <li><a href="./viewforum.php?f=79&sid=5a3bbff988d2801e179d8e46b2a25d73" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span> <span>↳ phpBB in Süddeutschland</span></a></li> <li><a href="./viewforum.php?f=80&sid=5a3bbff988d2801e179d8e46b2a25d73" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span> <span>↳ phpBB in Westdeutschland</span></a></li> <li><a href="./viewforum.php?f=81&sid=5a3bbff988d2801e179d8e46b2a25d73" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span> <span>↳ phpBB in Österreich</span></a></li> <li><a href="./viewforum.php?f=82&sid=5a3bbff988d2801e179d8e46b2a25d73" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span> <span>↳ phpBB in der Schweiz und Liechtenstein</span></a></li> <li><a href="./viewforum.php?f=83&sid=5a3bbff988d2801e179d8e46b2a25d73" class="jumpbox-sub-link"><span class="spacer"></span><span class="spacer"></span> <span>↳ phpBB im sonstigen Ausland</span></a></li> <li><a href="./viewforum.php?f=72&sid=5a3bbff988d2801e179d8e46b2a25d73" class="jumpbox-sub-link"><span class="spacer"></span> <span>↳ Newsletter-Archiv</span></a></li> </ul> </div> </div> </div> </div> <div id="page-footer" class="page-footer" role="contentinfo"> <div class="navbar" role="navigation"> <div class="inner"> <ul id="nav-footer" class="nav-footer linklist" role="menubar"> <li class="breadcrumbs"> <span class="crumb"><a href="./../" data-navbar-reference="home"><i class="icon fa-home fa-fw" aria-hidden="true"></i><span>Startseite</span></a></span> <span class="crumb"><a href="./index.php?sid=5a3bbff988d2801e179d8e46b2a25d73" data-navbar-reference="index"><span>Community</span></a></span> </li> <li class="rightside">Alle Zeiten sind <span title="Europa/Berlin">UTC+01:00</span></li> <li class="rightside"> <a href="/community/user/delete_cookies?sid=5a3bbff988d2801e179d8e46b2a25d73" data-ajax="true" data-refresh="true" role="menuitem"> <i class="icon fa-trash fa-fw" aria-hidden="true"></i><span>Alle Cookies löschen</span> </a> </li> <li class="rightside" data-last-responsive="true"> <a href="./../phpbbde/impressum/?sid=5a3bbff988d2801e179d8e46b2a25d73" role="menuitem"> <i class="icon fa-info-circle fa-fw" aria-hidden="true"></i><span>Impressum </span> </a> </li> <li class="rightside" data-last-responsive="true"> <a href="./../phpbbde/team/?sid=5a3bbff988d2801e179d8e46b2a25d73" role="menuitem"> <i class="icon fa-shield fa-fw" aria-hidden="true"></i><span>Das Team</span> </a> </li> <li class="rightside" data-last-responsive="true"> <a href="/community/contactadmin?sid=5a3bbff988d2801e179d8e46b2a25d73" role="menuitem"> <i class="icon fa-envelope fa-fw" aria-hidden="true"></i><span>Kontakt</span> </a> </li> </ul> </div> </div> <div class="copyright"> <p class="footer-row"> <span class="footer-copyright">Powered by <a href="https://www.phpbb.com/">phpBB</a>® Forum Software © phpBB Limited</span> </p> <p class="footer-row"> <span class="footer-copyright">Deutsche Übersetzung durch <a href="https://www.phpbb.de/">phpBB.de</a></span> </p> <p class="footer-row" role="menu"> <a class="footer-link" href="./ucp.php?mode=privacy&sid=5a3bbff988d2801e179d8e46b2a25d73" title="Datenschutz" role="menuitem"> <span class="footer-link-text">Datenschutz</span> </a> | <a class="footer-link" href="./ucp.php?mode=terms&sid=5a3bbff988d2801e179d8e46b2a25d73" title="Nutzungsbedingungen" role="menuitem"> <span class="footer-link-text">Nutzungsbedingungen</span> </a> </p> <div class="sponsor-logo"> <a href="https://linevast.de/" rel="nofollow">hosted by Linevast.de <br> <img src="./styles/phpBBdev1/theme/images/linevast.png" alt="Linevast.de" height="63" width="257"> </a> </div> </div> <div id="darkenwrapper" class="darkenwrapper" data-ajax-error-title="AJAX-Fehler" data-ajax-error-text="Bei der Verarbeitung deiner Anfrage ist ein Fehler aufgetreten." data-ajax-error-text-abort="Der Benutzer hat die Anfrage abgebrochen." data-ajax-error-text-timeout="Bei deiner Anfrage ist eine Zeitüberschreitung aufgetreten. Bitte versuche es erneut." data-ajax-error-text-parsererror="Bei deiner Anfrage ist etwas falsch gelaufen und der Server hat eine ungültige Antwort zurückgegeben."> <div id="darken" class="darken"> </div> </div> <div id="phpbb_alert" class="phpbb_alert" data-l-err="Fehler" data-l-timeout-processing-req="Bei der Anfrage ist eine Zeitüberschreitung aufgetreten."> <a href="#" class="alert_close"> <i class="icon fa-times-circle fa-fw" aria-hidden="true"></i> </a> <h3 class="alert_title"> </h3><p class="alert_text"></p> </div> <div id="phpbb_confirm" class="phpbb_alert"> <a href="#" class="alert_close"> <i class="icon fa-times-circle fa-fw" aria-hidden="true"></i> </a> <div class="alert_text"></div> </div> </div> </div> <div> <a id="bottom" class="anchor" accesskey="z"></a> </div> <script src="./assets/javascript/jquery-3.7.1.min.js?assets_version=280"></script> <script src="./assets/javascript/core.js?assets_version=280"></script> <script src="./styles/phpBBdev1/template/forum_fn.js?assets_version=280"></script> <script src="./styles/phpBBdev1/template/ajax.js?assets_version=280"></script> <script src="./styles/phpBBdev1/template/phpbbde_navi.js?assets_version=280"></script> <script>(function(a){if(a.getElementsByTagName("pre").length){var c=a.getElementsByTagName("head")[0],b=a.createElement("script");a=a.createElement("link");b.type="text/javascript";b.onload=function(){hljs.initHighlighting()};b.async=!0;b.src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js";c.appendChild(b);a.type="text/css";a.rel="stylesheet";a.href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/github-gist.min.css";c.appendChild(a)}})(document)</script> </body> </html>