Skip to content
Snippets Groups Projects
Commit 76294016 authored by axelbraunschweiger's avatar axelbraunschweiger
Browse files

[TASK] Implement jobs plugin

parent 76d6aa3b
No related branches found
No related tags found
1 merge request!13[TASK] Implement jobs plugin
mod {
wizards.newContentElement.wizardItems.jobs {
header = LLL:EXT:sg_jobs/Resources/Private/Language/locallang_backend.xlf:applyPluginLabel
elements {
jobsapply {
iconIdentifier = extension-sg_jobs
title = LLL:EXT:sg_jobs/Resources/Private/Language/locallang_backend.xlf:applyPluginTitle
description = LLL:EXT:sg_jobs/Resources/Private/Language/locallang_backend.xlf:applyPluginDescription
tt_content_defValues {
CType = list
list_type = sgjobs_jobapplication
}
}
joblist {
iconIdentifier = extension-sg_jobs
title = LLL:EXT:sg_jobs/Resources/Private/Language/locallang_backend.xlf:listPluginTitle
description = LLL:EXT:sg_jobs/Resources/Private/Language/locallang_backend.xlf:listPluginDescription
tt_content_defValues {
CType = list
list_type = sgjobs_joblist
}
}
jobteaser {
iconIdentifier = extension-sg_jobs
title = LLL:EXT:sg_jobs/Resources/Private/Language/locallang_backend.xlf:jobteaserPluginTitle
description = LLL:EXT:sg_jobs/Resources/Private/Language/locallang_backend.xlf:teaserPluginDescription
tt_content_defValues {
CType = list
list_type = sgjobs_jobteaser
}
}
}
show = *
}
}
\ No newline at end of file
......@@ -9,6 +9,9 @@
<authorEmail>fabian@sgalinski.de</authorEmail>
</header>
<body>
<trans-unit id="applyPluginLabel">
<source>[SgJobs] Jobs Plugin</source>
</trans-unit>
<trans-unit id="applyPlugin">
<source>[SgJobs] Job Application</source>
</trans-unit>
......@@ -27,6 +30,24 @@
<trans-unit id="teaserPlugin">
<source>[SgJobs] Job Teaser</source>
</trans-unit>
<trans-unit id="listPluginTitle">
<source>Joblist</source>
</trans-unit>
<trans-unit id="applyPluginTitle">
<source>Job Application</source>
</trans-unit>
<trans-unit id="jobteaserPluginTitle">
<source>Job Teaser</source>
</trans-unit>
<trans-unit id="applyPluginDescription">
<source>Insert a job application form</source>
</trans-unit>
<trans-unit id="listPluginDescription">
<source>List all jobs</source>
</trans-unit>
<trans-unit id="teaserPluginDescription">
<source>Insert a teaser</source>
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
......@@ -78,3 +78,11 @@ $signalSlotDispatcher->connect(
// Register the upgrade wizard
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update'][\SGalinski\SgJobs\Updates\DepartmentUpdateWizard::class]
= \SGalinski\SgJobs\Updates\DepartmentUpdateWizard::class;
//include Plugin sg_jobs
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig(
'<INCLUDE_TYPOSCRIPT: source="FILE:EXT:sg_jobs/Configuration/TsConfig/Page/NewContentElementWizard.tsconfig">'
);
\ No newline at end of file
......@@ -51,3 +51,12 @@ if (TYPO3_MODE === 'BE') {
]
);
}
//Register Icons
$iconRegistry = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\Imaging\IconRegistry::class);
$iconRegistry->registerIcon(
'extension-sg_jobs',
\TYPO3\CMS\Core\Imaging\IconProvider\SvgIconProvider::class,
['source' => 'EXT:sg_jobs/Resources/Public/Icons/module-sgjobs.svg']
);
\ No newline at end of file
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