Upgrade wizards
The extension ships upgrade wizards for the migration from its predecessor EXT:jobfair2 and for older installations of the job board.
Run them in the backend module Admin Tools > Upgrade > Upgrade Wizard or on the command line:
vendor/bin/typo3 upgrade:list
vendor/bin/typo3 upgrade:run jweilandJobboardJobfairToJobboardMigration
All wizards require an up-to-date database. Run
vendor/ (or the database analyzer) before,
so that the new tables exist, and remove old tables and columns only
afterwards.
After updating the extension
Run these steps after every update of the extension:
- Update the database schema:
vendor/or the database analyzer in Admin Tools > Maintenance > Analyze Database Structure. It creates the columns of the effective salary of the jobs, see Database columns.bin/ typo3 extension: setup - Run the upgrade wizards, if any are listed.
-
Calculate the effective salary of all jobs once:
Recalculate the effective salary of all jobsvendor/bin/typo3 jobboard:salary:update --allCopied!If the site setting jobboard.salary.required is enabled (the default), jobs without a calculated effective salary are not listed.
- Make sure the TYPO3 Scheduler runs
jobboard:once a day, see Daily update with the console command.salary: update - Make sure the page TSconfig of the storage folder contains
TCEMAIN.with the UIDs of all pages with the job board, see Clear the cache of the job board pages.clear Cache Cmd - Flush all caches:
vendor/.bin/ typo3 cache: flush
Available wizards
| Identifier | What it does |
|---|---|
jweiland | Copies all records of the tables
tx_ into the tables
tx_. The UIDs are kept, so all
relations between the records stay intact. Only columns that
exist in both tables are copied. File references of employer
logo, header image, tender documents and job advertisement are
moved to the new table. |
jweiland | Changes content elements of the type jobfair2_
to jobboard_ and updates the permissions of
backend user groups. |
jweiland | Moves the single occupational field of early job board
installations (column
job_) to the relation
job_. Only needed if this column still exists. |
jweiland | Moves the single salary grade of early job board installations
(column
salary_) to the relation
salary_. Only needed if this column still exists. |
jweiland | Moves the header images, employer logos and tender documents of
jobs from the former columns
header_,
employer_ and
tender_ to the renamed
columns
header_,
employer_ and
tender_. |
jweiland | Creates the URL segment of all jobs without one, see Speaking URLs (route enhancer). |
jweiland | Moves the employer name and logos of jobs (former columns
employer
and
employer_) to the employer
address: the name becomes the company of the address (only if
it is empty), the logos become its images (only if the address
has no image yet). Jobs without employer address get an
address of the same folder with exactly this company, or a new
one. Only jobs of the default language are migrated; their
translations without own employer address get the same
address. Run it before the database compare removes the column
employer
. For jobs of EXT:jobfair2, it reads the name
from the table
tx_, so run it
after jweiland. |
Migrate from EXT:jobfair2
- Install the job board (see Installation). Keep the tables of EXT:jobfair2 in the database for now.
- Run
vendor/.bin/ typo3 extension: setup - Run
jweiland.Jobboard Jobfair To Jobboard Migration - Run
jweiland.Jobboard Jobfair To Jobboard CType Migration - Run
jweiland.Jobboard Employer To Employer Address Migration - Run
jweiland.Jobboard Job Path Segment Update - Calculate the effective salary of the migrated jobs:
vendor/.bin/ typo3 jobboard: salary: update -- all - Replace the TypoScript of EXT:jobfair2 by the site set of the job board and check the site settings, see Configuration.
- Check the options of the migrated content elements.
- Assign occupational fields and positions to the migrated jobs. EXT:jobfair2 had no occupational fields and no positions, so there is nothing to migrate for them.
- Check the salary information of the migrated jobs (salary mode and salary grades or minimum and maximum salary). Jobs without salary information are not shown, unless the site setting jobboard.salary.required is disabled.
- Set up the daily salary update and
TCEMAIN., see After updating the extension.clear Cache Cmd - Remove EXT:jobfair2 and its tables.
The UIDs of the jobs are kept. Jobs that visitors remembered with EXT:jobfair2 are not taken over: they were stored in the browser, the job board stores them in the TYPO3 session, see Remembered jobs.