Giter VIP home page Giter VIP logo

jobfair's Introduction

Jobfair

Simple job market based on Extbase and Fluid. Basically works like dmmjobcontrol. There are list and detail views available. In addition, it is possible to set up an online application system. Furthermore, FE-Users can be enabled to add and edit jobs in the frontend, so to BE-Administration is required. Feeds (Rss091, Rss2, Atom) are also available.

Setup

For TYPO3 v10 and v11 you need to add the E-Mail template paths to your AdditionalConfiguration.php or LocalConfiguration.php:

$GLOBALS['TYPO3_CONF_VARS']['MAIL']['templateRootPaths'][700] = 'EXT:jobfair/Resources/Private/Templates/Email';
$GLOBALS['TYPO3_CONF_VARS']['MAIL']['layoutRootPaths'][700] = 'EXT:jobfair/Resources/Private/Layouts';

jobfair's People

Contributors

bnf avatar ineswillenbrock avatar mariroz avatar nhovratov avatar sypets avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

jobfair's Issues

SQL Error: table missing?

Hi , I am trying to set up your extension with FE-Users submitting jobs in TYPO3 10. I created as user und group for this purpose and followed the manual but when I try to save the job as a logged in frontend user i get an error:

TYPO3\CMS\Extbase\Persistence\Generic\Storage\Exception\SqlErrorException
Table 'wa5237_db4.tx_jobfair_domain_model_user' doesn't exist

I retried in a fresh TYPO3 11 and I have the same problem. As far as I can tell in your code the table tx_jobfair_domain_model_user is not even created on install and I can find no direct reference to it in your code.

Any ideas and/or help what is going wrong here?

jobfair 2.0.2 migration problem: Missing "type" in TCA of field

Hi, I'm migrating a site from core v8.7 via v9.x to v10.x. Currently on core v8.7.24 (latest) and updated to jobfair v2.0.2 (latest with v8 support). Now I'm getting this:

Uncaught TYPO3 Exception
#1482394401: Missing "type" in TCA of field "['tx_jobfair_domain_model_job']['job_image']['config']"
UnexpectedValueException thrown in file
/var/www/html/typo3_src-8.7.24/typo3/sysext/core/Classes/Migrations/TcaMigration.php in line 116.

Something I forgot to modify? Thanks!

Exception because of invalid argument noCacheHash in Partial Rss2.html for uri.action (with TYPO3 11)

Undeclared arguments passed to ViewHelper TYPO3\CMS\Fluid\ViewHelpers\Uri\ActionViewHelper: noCacheHash.
Valid arguments are: action, arguments, controller, extensionName, pluginName, pageUid, pageType, noCache, section, format, linkAccessRestrictedPages, additionalParams, absolute, addQueryString, argumentsToBeExcludedFromQueryString, addQueryStringMethod

Reason

Resources/Private/Partials/RSS/Rss2.html:

<atom:link href="{f:uri.action(action:'show', arguments:{job : job}, absolute:'1', noCacheHash:'TRUE') -> f:format.htmlentities()}" rel="self" type="application/rss+xml" />

Reproduce

Used RSS feed (URL with type=100) with default configuration (RSS2),

Versions

  • jobfair: main
  • TYPO3 11.5.30

Jobs created by FE user do not show up

I try to run hov/jobfair 4.0.4 on TPYO3 11.5.22., basically everything is fine, I have a sysfolder for the job database, I can create jobs in the backend and they display in the frontend.
When enabling frontend-creation of Jobs, I can add a job, I get a message that the job is added, alas, the job does not show up in the job list and it is not displayed in the frontend. No error message and no other hints.

What can I do?

Routing in TYPO3 9.5.31 does not work - any ideas?

Hey there,

maybe I am just stupid, but I cant seem to get this to work. I feel like I am missing something:

  Jobfair:
    type: Extbase
    limitToPages:
      - 562
    extension: Jobfair
    plugin: Pi1
    routes:
      -
        routePath: '/{job_title}'
        _controller: 'Job::show'
        _arguments:
          job_title: job
    defaultController: 'Job::show'
    aspects:
      job_title:
        type: PersistedAliasMapper
        tableName: tx_jobfair_domain_model_job
        routeFieldName: slug

With this setup, the job list will be shown correctly with all the links. When I click on a link, I only see the homepage and not the job details. The link itself looks fine. If I replace routeFieldName: slug with routeFieldName: job_title the job details will be shown correclty, but the URL is not okay of course.

Here is my setup:
TYPO3 9.5.31, Jobfair 3.0.1, Detail page has ID 562. All jobs have a slug generated.

The basically same routeEnhancer for tx_news does work though and I have no idea why it is not working...

Bug or feature: change the content of both mails

TYPO3 11.5, PHP 7.4, jobfair 4.0.4, legacy intall.

Is it possible, to change the templatepath fpr the Mails?

I set the template path like you mentioned in the FAQ (https://docs.typo3.org/p/hov/jobfair/4.0/en-us/FAQ/Index.html#how-can-i-use-my-own-template).
That works fine for everything of the TYPO3 frontend - but not the mails.
Those I've got to overwrite in the ext itself which is not wanted.

I search the source and the TSOB but can't find anything related.

Thanks!

Property mapping error with additional fields

First of all, thank you for the further development of the extension.

Unfortunately, I have a problem when sending the application it then appears the following 503 error message:

ErrorCore: Exception handler (WEB): Uncaught TYPO3 Exception: #1297759968: Exception while property mapping at property path "": Property "firstname" was not found in target object of type "Dan\Jobfair\Domain\Model\Application".

I had added a field called firstname to the application form.

In the AdditionalConfiguration.php I have set the templateRootPaths and layoutRootPaths as in the documentation.

Im using TYPO3 11.5.12 and jobfair 4.0.2

What can be the reason for the problem?

[Feature] filter usage without page reload

Every usage or change in a filter triggers a page reload.

Is it possible to reload the changes dynamically, so that the user don't notice the page reload?

For the user, this is probably the better experience using the filters but not sure if that has other downsides?

Feature Request - Routing for TYPO3 10+

Hi,

would it be possible to either add an routing example to the docs or "just" add a configuration to the extension?

I searched the web and found an example for the job-views, but not for the application and "back to list" views.
Here the link to the example: https://www.shentao.de/2021/08/typo3-9x-routing-mit-txjobfair-nutzen.html
(Working fine with TYPO3 11 and jobfair 4.0.4)

I might get back to you with some further rules... might have time this weekend :)

Filter Single Select

I'm trying to convert the multiple select fields into simple dropdowns. But then the filter no longer works.
As soon as the select field is set to multiple again, the filter works normally.

I used the instructions from the FAQ:
"How can I change the multiple select fields to simple dropdowns in filter?"

...Find the line
multiple="true"
and change it to
multiple=""
size="1"
...

In the debug of Fluid, the value of the corresponding filter also remains empty. This is why the selected attribute is not set correctly.

Does anything else need to be adjusted or configured?

change location field in job record to filter category

In the job record there is a field location (probably for the town/city, like Berlin).
grafik

It's also possible to create a filter for the region (probably the country, like Germany).

The difference is, that you can't use the filter option for the location so it's not possible to show all jobs for a certain city.

=>
Is it possible to change the location field (in the job record) to a filter-able category like region?
With such a change it would be possible to filter for the city AND the country.
Otherwise you can probably use the region filter for the city/twon but then you can't filter by country.

Feature Request: More than one attachment possible?

Hi there,

I'm on TYPO3 11.5 with PHP 7.4 and Jobfair 4.0.4, legacy install. (was TYPO3 10.4, behaves the same)

I'm able to configure jobfair to accept more than one Upload, but I can't figure out, how to attach more than one file to the mails.

I configured it to have 4 attachments called attachement, attachement2, attachement3 and attachment4 and can access those in the Backend, but when I try to send an application via the frontend, it failes when trying to attache the files to the mail(s).

I get this error:

(1/1) Error

Call to a member function getOriginalResource() on null
in /var/www/localhost/htdocs/t3-11/typo3conf/ext/jobfair/Classes/Controller/JobController.php line 656

            $recipientsBcc,
            $sender,
            LocalizationUtility::translate('tx_jobfair_domain_model_application.email_subject', 'jobfair', ['jobTitle' => $job->getJobTitle()]),
            ['newApplication' => $newApplication, 'job' => $job],
            $newApplication->getAttachment()->getOriginalResource()->getName()
        )) {
            $this->flashMessageService('applicationSendMessage', 'applicationSendStatus', 'OK');
        } else {
            $this->flashMessageService('applicationSendMessageGeneralError', 'applicationSendStatusGeneralErrorStatus', 'ERROR');

at Dan\Jobfair\Controller\JobController->createApplicationAction()
in /var/www/localhost/htdocs/typo3_src-11.5.21/typo3/sysext/extbase/Classes/Mvc/Controller/ActionController.php line 575

        }
        $validationResult = $this->arguments->validate();
        if (!$validationResult->hasErrors()) {
            $this->eventDispatcher->dispatch(new BeforeActionCallEvent(static::class, $this->actionMethodName, $preparedArguments));
            $actionResult = $this->{$this->actionMethodName}(...$preparedArguments);
        } else {
            $actionResult = $this->{$this->errorMethodName}();
        }

Any idea, how to fix it?
Or should I save my time and use just the one attachment thats there?

edit: TYPO3 Version

Change filter options based on other filter options selection

Example:

Filter Region:

  • Germany
  • France
  • England

Filter Sector:

  • Sport
  • Music
  • Movies

Jobs
Eins: Germany, Sport, Music
Zwei: Germany, Sport
Drei: England, Movies

I have two filters, for example region and sector and the above 3 jobs with their categories.

If I want to list only the German jobs, I select in the region filter Germany. Then I get the jobs Eins and Zwei.
Now, in the sector filter, only the Sport and Music options are necessary because Germany and Movies would result in no job listing.

So, based on the selected filter options, the other filter options have to change so that you will never have the problem to get a empty job list.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.