Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
sg_jobs
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TYPO3
sg_jobs
Commits
48148554
Commit
48148554
authored
7 years ago
by
Torsten Oppermann
Browse files
Options
Downloads
Patches
Plain Diff
[TASK] remove default contact
parent
2525eb2a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!3
Version 1 5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Classes/Controller/JoblistController.php
+0
-5
0 additions, 5 deletions
Classes/Controller/JoblistController.php
Configuration/TypoScript/Frontend/setup.ts
+0
-1
0 additions, 1 deletion
Configuration/TypoScript/Frontend/setup.ts
README.md
+2
-14
2 additions, 14 deletions
README.md
with
2 additions
and
20 deletions
Classes/Controller/JoblistController.php
+
0
−
5
View file @
48148554
...
...
@@ -296,11 +296,6 @@ class JoblistController extends ActionController {
if
(
$job
!==
NULL
)
{
/** @var Contact $contact */
$contact
=
$job
->
getContact
();
if
(
$contact
===
NULL
)
{
$contact
=
$this
->
contactRepository
->
findByUid
((
int
)
$this
->
settings
[
'defaultContactId'
]);
}
}
else
{
$contact
=
$this
->
contactRepository
->
findByUid
((
int
)
$this
->
settings
[
'defaultContactId'
]);
}
if
(
$contact
!==
NULL
)
{
...
...
This diff is collapsed.
Click to expand it.
Configuration/TypoScript/Frontend/setup.ts
+
0
−
1
View file @
48148554
...
...
@@ -24,7 +24,6 @@ plugin.tx_sgjobs {
settings
{
allowedFileExtensions
=
{
$plugin
.
tx_sgjobs
.
settings
.
allowedFileExtensions
}
allowedMimeTypes
=
{
$plugin
.
tx_sgjobs
.
settings
.
allowedMimeTypes
}
defaultContactId
=
1
defaultJobId
=
28
}
...
...
This diff is collapsed.
Click to expand it.
README.md
+
2
−
14
View file @
48148554
...
...
@@ -38,22 +38,10 @@ The Backend module is found in the **WEB** section under the name **Job Offers**
You can create a new job offer by clicking on the
**New Job Offer**
button.
## Defining a default Job (unsoliticed Application)
In your typoscript settings you can set a job id, which will be used for all
**unsoliticed Applications**
.
If nothing is set, unsolicited applications are not connected to any job offer.
```
settings.defaultJobId = 1
```
## 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, you can set a default contact person
in your TypoScript settings:
```
settings.defaultContactId = 1
```
**contact person**
assigned to the job, ot 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.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment