Skip to content
Snippets Groups Projects
Commit dff5bf18 authored by Kevin Ditscheid's avatar Kevin Ditscheid
Browse files

[TASK] Remove pagebrowser plugin registration and unused constants

parent 1fc3c448
No related branches found
Tags 5.7.10
1 merge request!30[TASK] Remove the pagebrowser controller and let the view helper handle stuff
......@@ -26,18 +26,4 @@ plugin.tx_sgjobs {
# cat=plugin.tx_sgjobs/other; type=int+; If set to 1, the application-form page will redirect to the overview if no jobId is passed
disallowUnsolicitedApplication = 0
}
pagebrowser.settings {
# Number of page links to show before the current page
pagesBefore = 1
# Number of page links to show before the current page
pagesAfter = 1
# Enables section for "more" pages. This section is shown after links to next pages, normally like three dots (1 2 3 ...). Notice that you can also hide it by emptying corresponding template section.
enableMorePages = 1
# Enables section for "less" pages. This section is shown after links to next pages, normally like three dots (... 1 2 3) Notice that you can also hide it by emptying corresponding template section.
enableLessPages = 1
}
}
......@@ -65,12 +65,6 @@ call_user_func(
'JobTeaser' => ''
]
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'SGalinski.sg_jobs',
'PageBrowser',
['PageBrowser' => 'index',],
['PageBrowser' => '',]
);
// Backend preview for plugins
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['cms/layout/class.tx_cms_layout.php']['tt_content_drawItem']['sg_jobs']
= \SGalinski\SgJobs\Hooks\PageLayoutView\PluginRenderer::class;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment