Skip to content
Snippets Groups Projects
Commit 60306e6c authored by Tim Wagner's avatar Tim Wagner
Browse files

[TASK] Add code highlighting and fix typos in README

parent 063458cd
No related branches found
No related tags found
No related merge requests found
......@@ -28,7 +28,7 @@ uploaded files
Typoscript files need to be included manually.
```
```Typoscript
plugin.tx_sgjobs {
settings {
allowedFileExtensions - allowed file extensions for the uploads (default pdf)
......@@ -38,14 +38,17 @@ plugin.tx_sgjobs {
```
## Upload file size
By default the maximum file size for an upload is 5MB / 5000kB. You can change this limit in the **constants.ts** configuration file:
settings {
.....
# cat=plugin.tx_sgjobs/other; type=string; label=Allowed maximum file size for uploads in kB
allowedMaxFileSize = 5000
}
By default, the maximum file size for an upload is 5MB / 5000kB.
You can change this limit in the **constants.ts** configuration file:
```Typoscript
settings {
.....
# cat=plugin.tx_sgjobs/other; type=string; label=Allowed maximum file size for uploads in kB
allowedMaxFileSize = 5000
}
```
## Backend Module
......@@ -55,8 +58,8 @@ You can create a new job offer by clicking on the **New Job Offer** button.
## Setting the contact email
When a user applies to a job offer an email will be send. The adress of this email comes either from the
**contact person** assigned to the job, ot if no contact person is set, the mail address is chosen from the selected
When a user applies to a job offer an email will be sent. The adress of this email comes either from the
**contact person** assigned to the job, or if no contact person is set, the mail address is chosen from the selected
location.
Simply supply the uid of the contact record and every job without a contact person will use the desired contact.
......@@ -81,14 +84,15 @@ The extension uses **sg_mail** to configure email templates.
The folder which contains the applications folder should be blocked from outside
access from the .htaccess file. Example:
```
```ApacheConf
RedirectMatch 403 ^/fileadmin/JobApplication/.*$
```
## Implement job title mapping in TYPO3 9
To enable the job title mapping in TYPO3 9, you need to add this routeEnhancer configuration to your config.yaml.
```
```yaml
routeEnhancers:
SgJobApplication:
type: Extbase
......@@ -127,11 +131,11 @@ of the job title and the according job id.
## Migration from version 1 to version 2
If you update from sg_job version 1, you need to execute the Upgrade Wizard, that migrates the old area field.
If you update from sg_jobs version 1, you need to execute the Upgrade Wizard that migrates the old area field.
To do so, please visit the Install Tool and click on Upgrade Wizards. Check the Job Upgrade Wizard and execute it.
This Wizard will migrate your area data into department records.
Also please be aware of changes to the Fluid template regarding the area -> department migration and change the area
Also, please be aware of changes to the Fluid template regarding the area -> department migration and change the area
occurences of variables in the template to department records accordingly.
This version also introduces correct exclude field configurations for the tables, so check your backend user
......@@ -139,16 +143,16 @@ and backend usergroup permissions and adjust them accordingly.
## Migration from version 3.2 to version 3.3
This is pure optional step!
This is a purely optional step!
The new path_segment field was added to ensure that the proper URLs are used. In order to use it, add
this code to your routes configuration file.
Furthermore go to the list module and open your jobs directory in the TYPO3 backend. Select in the fields list
Furthermore, go to the list module and open your jobs directory in the TYPO3 backend. Select in the fields list
the path_segment field after clicking on the jobs table to expand it to the table only view. You will get an edit
icon above the path_segment title now. Click on it and generate for all of you jobs a new URL.
```
```yaml
SgJobApplication:
type: Extbase
extension: SgJobs
......
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