$handler = $data['elements']['handler'];
}
+ // @deprecated
if (!empty($data['elements']['controllerCustomURL'])) {
$controllerCustomURL = $data['elements']['controllerCustomURL'];
if ($controllerCustomURL && !RouteHandler::isValidCustomUrl($controllerCustomURL)) {
->label('wcf.acp.pip.page.handler')
->implementedInterface(IMenuPageHandler::class),
- TextFormField::create('controllerCustomURL')
- ->label('wcf.acp.pip.page.controllerCustomURL')
- ->description('wcf.acp.pip.page.controllerCustomURL.description'),
-
BooleanFormField::create('requireObjectID')
->label('wcf.acp.pip.page.requireObjectID')
->description('wcf.acp.pip.page.requireObjectID.description'),
}
$optionalElements = [
- 'controller', 'handler', 'controllerCustomURL', 'hasFixedParent',
+ 'controller', 'handler', 'hasFixedParent',
'parent', 'options', 'permissions', 'cssClassName', 'allowSpidersToIndex',
'excludeFromLandingPage', 'availableDuringOfflineMode', 'requireObjectID'
];
$page,
[
'handler' => '',
- 'controllerCustomURL' => '',
'hasFixedParent' => 0,
'parent' => '',
'options' => '',
<item name="wcf.acp.pip.page.contentMetaKeywords"><![CDATA[Meta Keywords]]></item>
<item name="wcf.acp.pip.page.contentTitle"><![CDATA[Titel]]></item>
<item name="wcf.acp.pip.page.controller"><![CDATA[Seiten-Controller]]></item>
- <item name="wcf.acp.pip.page.controllerCustomURL"><![CDATA[Individuelle Controller-URL]]></item>
- <item name="wcf.acp.pip.page.controllerCustomURL.description"><![CDATA[TODO]]></item>
<item name="wcf.acp.pip.page.cssClassName"><![CDATA[CSS-Klassen]]></item>
<item name="wcf.acp.pip.page.cssClassName.description"><![CDATA[Die durch Komma abgetrennte CSS-Klassen werden dem <kbd>body</kbd>-Element zugewiesen.]]></item>
<item name="wcf.acp.pip.page.excludeFromLandingPage"><![CDATA[Seite kann nicht als Startseite ausgewählt werden]]></item>
<item name="wcf.acp.pip.page.name.description"><![CDATA[The page name is displayed in the ACP on the page list.]]></item>
<item name="wcf.acp.pip.page.controller"><![CDATA[Page Controller]]></item>
<item name="wcf.acp.pip.page.handler"><![CDATA[Page Handler]]></item>
- <item name="wcf.acp.pip.page.controllerCustomURL"><![CDATA[Custom Page URL]]></item>
- <item name="wcf.acp.pip.page.controllerCustomURL.description"><![CDATA[TODO]]></item>
<item name="wcf.acp.pip.page.requireObjectID"><![CDATA[Requires Object ID]]></item>
<item name="wcf.acp.pip.page.requireObjectID.description"><![CDATA[The page requires an object id to be displayed.]]></item>
<item name="wcf.acp.pip.page.hasFixedParent"><![CDATA[Has Fixed Parent]]></item>