GithubHelp home page GithubHelp logo

oliverklee / ext-seminars Goto Github PK

View Code? Open in Web Editor NEW
6.0 5.0 21.0 74.68 MB

TYPO3 extension "seminars"

Home Page: https://www.oliverklee.de/typo3-services/seminarmanager/

License: GNU General Public License v2.0

PHP 95.32% CSS 0.46% HTML 3.89% JavaScript 0.32%
typo3 typo3-cms-extension hacktoberfest php

ext-seminars's Introduction

Seminars TYPO3 extension

TYPO3 V10 TYPO3 V11 License Total Downloads GitHub CI Status Coverage Status

This TYPO3 extension allows you to create and manage a list of seminars, workshops, lectures, theater performances and other events, allowing front-end users to sign up. FE users also can create and edit events.

Most of the documentation is in ReST format in the Documentation/ folder and is rendered as part of the TYPO3 documentation.

Compatibility with TYPO3 12LTS/12.4

This extension is not compatible TYPO3 12LTS/12.4 yet. Please consider supporting the crowdfunding campaign to make this happen.

Give it a try!

If you would like to test the extension yourself, there is a DDEV-based TYPO3 distribution with this extension installed and some test records ready to go.

Staying informed about the extension

If you would like to stay informed about this extension (including compatibility with newer TYPO3 versions), you can subscribe to the author's newsletter.

Running the tests locally

You will need to have a Git clone of the extension for this with the Composer dependencies installed.

Running the unit tests

On the command line

To run all unit tests on the command line:

composer ci:tests:unit

To run all unit tests in a directory or file (using the directory Tests/Unit/Model/ as an example):

.Build/vendor/bin/phpunit -c Configuration/UnitTests.xml Tests/Unit/Model/

In PhpStorm

First, you need to configure the path to PHPUnit in the settings:

Languages & Frameworks > PHP > Test Frameworks

In this section, configure PhpStorm to use the Composer autoload and the script path .Build/vendor/autoload.php within your project.

In the Run/Debug configurations for PHPUnit, use an alternative configuration file:

Configuration/UnitTests.xml

Running the functional tests

You will need a local MySQL user that has the permissions to create new databases.

In the examples, the following credentials are used:

  • user name: typo3
  • password: typo3pass
  • DB name prefix: typo3_test (optional)
  • DB host: localhost (omitted as this is the default)

You will need to provide those credentials as environment variables when running the functional tests:

  • typo3DatabaseUsername
  • typo3DatabasePassword
  • typo3DatabaseName

On the command line

To run all functional tests on the command line:

typo3DatabaseUsername=typo3 typo3DatabasePassword=typo3pass typo3DatabaseName=typo3_test composer ci:tests:functional

To run all functional tests in a directory or file (using the directory Tests/Functional/Authentication/ as an example):

typo3DatabaseUsername=typo3 typo3DatabasePassword=typo3pass typo3DatabaseName=typo3_test .Build/vendor/bin/phpunit -c Configuration/FunctionalTests.xml Tests/Functional/Authentication/

In PhpStorm

First, you need to configure the path to PHPUnit in the settings:

Languages & Frameworks > PHP > Test Frameworks

In this section, configure PhpStorm to use the Composer autoload and the script path .Build/vendor/autoload.php within your project.

In the Run/Debug configurations for PHPUnit, use an alternative configuration file:

Configuration/FunctionalTests.xml

Also set the following environment variables in your runner configuration:

  • typo3DatabaseUsername
  • typo3DatabasePassword
  • typo3DatabaseName

Running the legacy functional tests

Running the legacy tests works exactly the same as running the functional tests, except that you run the tests in Tests/LegacyFunctional/ instead of Tests/Functional/. You'll still need to use the configuration file Configuration/FunctionalTests.xml, though.

ext-seminars's People

Contributors

abhinayvjk avatar bouche avatar chrissonntag avatar davidjakob avatar dependabot[bot] avatar derhofbauer avatar djangones avatar emilkneu avatar fredericgaus avatar froemken avatar jdreesen avatar konafets avatar leofuehringer avatar michsch avatar mk-mxp avatar ohader avatar oliverklee avatar pascal20997 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ext-seminars's Issues

CSV-download with error

Downloading a csv with attendees causes an error.
But it's easy to fix:
In TypoScript/setup.txt
tx_seminars_pi2 {

10 {
userFunc = \Tx_Seminars_Csv_CsvDownloader->main
}
}

should be userFunc = Tx_Seminars_Csv_CsvDownloader->main
without backslash.

Greetings

Steffen

Timeslots: places shown several times

If there are i.e. 6 timeslots with the same place, the places are shown in the timeslot-tablel together with date and time - perfec!
But additionally the place is shown 6 times (below the description) - what makes no sense for me.

Introduce Fluid templates in addition to existing templates

I know, this topic is coming up once in a while. There could be Fluid templates in addition to the existing marker based templates. This would allow adopting to the new templates for any user willing to do so and not force everyone to update immediately.

It may also help with design decissions for other parts, too (like controllers). The existing controllers mostly handle the view side, and I think there is no need for them until the Fluid templates shall be configured by a backend FlexForm.

For Fluid templates it would be best to create an own namespace "seminars" and add ViewHelpers for the existing (new) model structure. When providing a flexible interface for configuring the ViewHelpers in XML, most existing configuration options (filters, fields to show aso.) known from the FlexForm can be provided without conflicting with any exisitng use.

I would be willing to help with that as far as my limited amount of time does help.

Wrong times in iCal attachments

Hi Oli.

There's a *.msg-file as an attachment (iCal or Outlook Cal ?!?) in the 'Thankyou-Mail' after booking a new seminar. The text is right, f.e. 'Course A at 04/11/18 - 09:00 - 16:00' , but the *.msg file has the wrong time, in my case +2 hours (11:00 - 18:00). The day and place is correct.

My server time is for germany (Europe/Berlin, GMT +02:00). I think this are the +2 hours, isn't it? What can I do? It would be helpful, to delete the attachment via typoscript. I don' t need the iCal-file for my participant ..?

I use TYPO3 7.6.24 with PHP5.5 and seminars 1.4.1 (latest). I've read in your manual after my email to you, it's better to report bugs via github. Here it is .. ;)

Labels in notification email to organizers

In the ###FIELD_WRAPPER_SEMINARDATA### in the notification-email for the organizers two labels are missing:

Datum: 23.01.2019
label_speakers: Max Mustermann
Teilnehmer: 4
label_attendees_max: 15
Ist ausgebucht: nein

I couldn't find the configuration for generating this email. I only found the structure for the email in Resources/Private/Language/de.locallang.xlf. But where is the php-code?

I will offer a PR after fixing the problem.

Update call to ->IMAGE

Call to undefined method TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::IMAGE()

Error thrown in file
typo3conf/ext/seminars/Classes/FrontEnd/CategoryList.php in line 186.

Error thrown in file
typo3conf/ext/seminars/Classes/FrontEnd/DefaultController.php in line 2057.

Needed replacements:
$myImage = $this->cObj->IMAGE($ImgConf);

with

$myImage = $this->cObj->cObjGetSingle('IMAGE', $ImgConf);

typo3conf/ext/seminars/Classes/FrontEnd/DefaultController.php

Line 2057:

replace
$image = $this->cObj->IMAGE($imageConfiguration);
width
$image = $this->cObj->cObjGetSingle('IMAGE', $imageConfiguration);

typo3conf/ext/seminars/Classes/FrontEnd/CategoryList.php

line: 186

replace
$imageWithoutClass = $this->cObj->IMAGE(
with
$imageWithoutClass = $this->cObj->cObjGetSingle('IMAGE',

HTML whitespace tags are being removed from Seminar description on save

When editing the description of a seminar in the backend, the HTML whitespace fields (e.g. <br> tags or <p> tags) are being removed and not stored in the database field 'description' of table 'tx_seminars_seminars'. Is this intended behavior? It seems counterintuitive that one linebreaks are possible in the backend but they are not being stored in the database.

I'm using version 1.3.0 on Typo3 7.6.

Error Message at List view if Fe User not logged in

If you not logged in as FE User, you see that Error Message.
Is there a configuration for it, or is it really a mistake?

Uncaught TYPO3 Exception
#1331488761: $uid must be > 0. (More information)
InvalidArgumentException thrown in file
/typo3conf/ext/oelib/Classes/IdentityMap.php in line 72.

image

Image in detailview (background-image of h2)

When I insert an image in a seminar, the image is displayed in the singleview as background-image in the h2-tag. It would be better if the image is in an image-tag, so it is possible to order the heading above the image.

TYPO3 9.5.X

Hi Oliver,

is there a roadmap for typo3 9.5.X and PHP 7.3 ?
and will it be possible to install seminars via composer?

BR, Ben

Question: Error after updating another Extension via Extension Manager

Hi Oliver. Today, I've updated the crawler-extension and after it, there's an error with Ext.seminars?!?
How can I fix this, at the moment I can't check my Extension Manager anymore:
class.ext_update.php of extension "seminars" did not declare ext_update class see also screenshot

I have deactivate crawler but that wasn't the problem, I think?!
Do you have an idea?

I'm using still the old TYPO3 7.6with PHP7.0 and the latest Seminar-Extensions, all installed via Extension Manager . NO COMPOSER.
Seminars ist still running and it works, but I haven't access to the EM anymore.

seminars

Seminar dependencies and requirements not loaded when opening an existing seminar record in the list view in Typo3 8.7.

Typo3: 8.7.15
PHP: 7.0.28
seminars: 2.0.1

1482250512: Mandatory TCA config setting "allowed" missing in field "dependencies" of table "tx_seminars_seminars"

Adding the mandatory TCA setting does fix the exceptions but the requirements- and dependencies-lists still don't get loaded and there are a couple of the following PHP warnings:
Warning: Invalid argument supplied for foreach() in [...]/typo3_sources/typo3_src-8.7.15/typo3/sysext/backend/Classes/Form/Element/SelectMultipleSideBySideElement.php on line 113

Mails - recognized to be spam - Sender and receiver of notification mail are the same

The sender in of the notification mail in function notifyOrganizers() is fetched from the organizer.
Due the fact both adresses the same (sender/receiver) and sender is an internal mail, most spamfilters will not relay the mail.

Please make the sender of notification mails configurable, in the simplest case make a typoscript switch to use the default system sender email ([MAIL][defaultMailFromAddress] / [MAIL][defaultMailFromName]).

[2.0] Backend Module not working in Typo3 7.6

After upgrading to v2.0 this morning on Typo3 v7.6.27, the backend module for seminar management no longer works.

The following error message appears to the right of the page tree:

Class 'OliverKlee\Seminars\BackEnd\Controller' not found

Rendering Documentation throws warnings

When rendering the documentation locally using the Docker containers (very easy), the warnings file contains these lines:

./Documentation/DE/Benutzerhandbuch/DasBack-end-modulVeranstaltungen/Images.txt:63: WARNING: image file not readable: DE/Benutzerhandbuch/DasBack-end-modulVeranstaltungen/../../../Images/../../typo3_src/typo3/sysext/t3skin/icons/gfx/csv.gif
./Documentation/EN/UsersManual/TheBack-endModuleEvents/Images.txt:63: WARNING: image file not readable: EN/UsersManual/TheBack-endModuleEvents/../../../Images/../../typo3_src/typo3/sysext/t3skin/icons/gfx/csv.gif

Nevertheless the documentation renders fine (without those images, of course).

nimut/testing_framework spills databases

This is not a problem when running the tests on Travis CI or another throw-away DB service, but for testing using a non-disposible MySQL instance (especially with shared instances).

A) The DB-user used for testing requires the right to create databases and self-grant all rights to it. By this, the user is root-like. This is inacceptible in shared DB instances and a risk to any other data stored in any DB on that instance.

B) For each test using the DB nimut creates a new DB copy with a random suffix:

mysql> show databases;
+----------------------+
| Database             |
+----------------------+
| information_schema   |
| mysql                |
| performance_schema   |
| typo3                |
| typo3_ft1d226aa      |
| typo3_ft53009df      |
| typo3_ft7054112      |
| typo3_ft9def141      |
| typo3_fta832130      |
| typo3_ftb9be75b      |
| typo3_ftc3170a5      |
| typo3_ftc799e14      |
| typo3_ftdcc4980      |
+----------------------+

And it never cleans up afterwards. Using random names makes it very annoying to cleanup manually.

I am not sure if this is caused by something related to seminars tests (the new functional ones) or unsolvable with nimut at all.

Fluid templates ?

Will there be any fluid templates in the future, instead of the "old" marker templates?

Convert fragile tests to nimut/testing-framework

To make development easier, the legacy tests should consistently succeed, and there should be no random failures. For this, I'll convert the fragile tests to nimut/testing-framework so that they work consistently.

  • BackEnd_CancelEventMailFormTest
  • BackEnd_ConfirmEventMailFormTest
  • BackEnd_RegistrationsListTest
  • BagBuilder_EventTest
  • Csv_CsvDownloaderTest
  • EventHeadlineTest
  • MailNotifierTest
  • Mapper_EventTopicTest
  • OldModel_EventTest:
  • Service_RegistrationManagerTest

@mk-mxp, could you please comment here and list the tests that occasionally fail for you?

BackEnd_CancelEventMailFormTest::sendEmailForTwoRegistrationsCallsHookTwice
BackEnd_ConfirmEventMailFormTest::setEventStatusSetsStatusToConfirmed
BackEnd_ConfirmEventMailFormTest::setEventStatusCreatesFlashMessage
BackEnd_ConfirmEventMailFormTest::sendEmailToAttendeesSendsEmailWithNameOfRegisteredUserOnSubmitOfValidForm
BackEnd_ConfirmEventMailFormTest::sendEmailCallsHookWithRegistration
BagBuilder_EventTest::limitToEventsWithVacanciesForEventWithVacanciesAndOnlyOfflineAttendeesFindsThisEvent
Csv_CsvDownloaderTest::createAndOutputListOfRegistrationsForInexistentEventUidReturn404
EventHeadlineTest::renderReturnsEmptyStringIfUidOfInexistentEventIsSetInPiVar
MailNotifierTest::executeWithPageConfigurationReturnsTrue
MailNotifierTest::sendCancellationDeadlineRemindersForPlannedEventAndOptionEnabledSendsReminder
MailNotifierTest::sendCancellationDeadlineRemindersSendsReminderWithCancelationDeadlineSubject
MailNotifierTest::sendCancellationDeadlineRemindersSendsReminderWithCancelationDeadlineMessage
MailNotifierTest::sendCancellationDeadlineRemindersForTwoPlannedEventsAndOptionEnabledSendsTwoReminders
MailNotifierTest::sendCancellationDeadlineRemindersForPlannedEventWithTwoOrganizersAndOptionEnabledSendsTwoReminder
MailNotifierTest::sendCancellationDeadlineRemindersSetsFlagInTheDatabaseWhenReminderWasSent
MailNotifierTest::sendCancellationDeadlineRemindersForPlannedAndOptionEnabledAndReminderSentFlagTrueSendsNoReminder
MailNotifierTest::sendCancellationDeadlineRemindersForPlannedEventWithPassedBeginDateSendsNoReminder
MailNotifierTest::sendCancellationDeadlineRemindersForPlannedEventWithSpeakersDeadlineNotYetReachedSendsNoReminder
MailNotifierTest::sendCancellationDeadlineRemindersForCanceledEventAndOptionEnabledSendsNoReminder
MailNotifierTest::sendCancellationDeadlineRemindersForConfirmedEventAndOptionEnabledSendsNoReminder
MailNotifierTest::sendRemindersToOrganizersSendsReminderWithMessageWithEventsBeginDateOldModel_EventTest::calculateStatisticsForEventWithOfflineRegistrationsAndRegularRegistrationsCalculatesCumulatedAttendeeNumber
Mapper_EventTopicTest::getRequirementsForEventTopicWithOneRequirementsReturnsOneRequirement
OldModel_EventTest::calculateStatisticsForEventWithOneOfflineRegistrationSetsAttendancesToOne
Service_RegistrationManagerTest::notifyOrganizersForEventWithOneVacancyShowsVacanciesLabelWithVacancyNumber
Service_RegistrationManagerTest::sendAdditionalNotificationForEventWithNotEnoughAttendancesNotSendsEmail
Service_RegistrationManagerTest::sendAdditionalNotificationForEventWithNotEnoughAttendancesNotSetsNotificationFlag

Hooks implemented according to the manual raise an exception in Typo3 8.7.

Everything worked as expected in Typo3 7.6. (and so did the implementation of Tx_Seminars_Interface_Hook_EventListView) but the following exception is raised in Typo3 8.7.15 now:

#1301928334: The class Tx_Seminars_FrontEnd_DefaultController is used for the event list view hook, but does not implement the \Tx_Seminars_Interface_Hook_EventListView interface.

The deprecation.log in Typo3 7.6. gives the following information:
The persistent functionality of getUserObj(), prepending the class name with & is deprecated since TYPO3 CMS 7 and will be removed in TYPO3 CMS 8. To allow this functionality, implement the \TYPO3\CMS\Core\SingletonInterface in the class "EXT:custom_ext/Classes/Hooks/ListView.php:&ListView" instead.

Registering multiple persons fails in TYPO3 8.7

I setup a simple testing site to make sure all features required for our update are working as expected. I followed the documentation and succeeded with a single person registration (Seats to book: 1, Persons to register: X myself). Trying the same registration process with more seats and additional names (with or without X myself) fails. After clicking "Proceed to checkout" all names are shown correctly, but the console is showing a JSON.parse error (see screenshot). Clicking the submit button again sends the form values (including unusable JSON data in tx_seminars_pi1_registration_editor[structured_attendees_names], see screenshot), redirecting me always back to the registration form, stating: "Please provide the names of all persons to register."

I'm sure, this has to do with Typo3 V8.7 always HTML encoding all strings inserted into any page template (a troublesome feature causing a lot of work). I'm sorry I can't assist with a PR...

Mandatory TCA config setting "allowed" missing

I upgraded to seminars 2.0.1. After that I got this error when I try to edit a seminar:
Mandatory TCA config setting "allowed" missing in field "dependencies" of table "tx_seminars_seminars"

After downgrading to 2.0.0 everything works fine...

Event time not shown

In list- and single-view there is only a "nbsp;" instead of the time, followed bei "Uhr" in a german installation. I think this was shown correctly before updateing to 2.0.1.
In backend, the time is set correctly.
Happens both with a single day events and events of more days.

Exception from sorting changes in 2.1.2

I had seminar data created with Version 2.1.x and then updated to 2.1.2
-> sorting got removed from several tables in ext_tables.sql
But database record still have the sorting fields, this might be the reason to the following exception.

But code is from the Extbase fork, merged manually by hand, so if you can't reproduce the bug it is an issue with my code -> give it back to me then

Uncaught TYPO3 Exception
There was an error with the database query. Column 'sorting' in order clause is ambiguous The last built query: SELECT title, address, zip, city, country, homepage, directions FROM tx_seminars_sites, tx_seminars_seminars_place_mm WHERE uid_local = 2 AND uid = uid_foreign AND `tx_seminars_sites`.`deleted` = 0 ORDER BY sorting ASC 

Tx_Oelib_Exception_Database thrown in file
/kunden/366137_70794/rp-hosting/5123095/6123095/typo3cms/seminars_typo3/typo3conf/ext/oelib/Classes/Db.php in line 338.

21 Tx_Oelib_Db::select("title, address, zip, city, country, homepage, directions", "tx_seminars_sites, tx_seminars_seminars_place_mm", "uid_local = 2 AND uid = uid_foreign AND `tx_seminars_sites`.`deleted` = 0", "", "sorting ASC", "")

/kunden/366137_70794/rp-hosting/5123095/6123095/typo3cms/seminars_typo3/typo3conf/ext/oelib/Classes/Db.php:
00411:             $groupBy,
00412:             $orderBy,
00413:             $limit
00414:         );
00415: 

20 Tx_Oelib_Db::selectMultiple("title, address, zip, city, country, homepage, directions", "tx_seminars_sites, tx_seminars_seminars_place_mm", "uid_local = 2 AND uid = uid_foreign AND `tx_seminars_sites`.`deleted` = 0", "", "sorting ASC")

/kunden/366137_70794/rp-hosting/5123095/6123095/typo3cms/seminars_typo3/typo3conf/ext/seminars/Classes/OldModel/Event.php:
00689:             \Tx_Oelib_Db::enableFields('tx_seminars_sites'),
00690:             '',
00691:             'sorting ASC'
00692:         );
00693:     }

19 Tx_Seminars_OldModel_Event::getPlacesAsArray()

/kunden/366137_70794/rp-hosting/5123095/6123095/typo3cms/seminars_typo3/typo3conf/ext/seminars/Classes/OldModel/Event.php:
00391:         $result = '';
00392: 
00393:         foreach ($this->getPlacesAsArray() as $place) {
00394:             $name = htmlspecialchars($place['title']);
00395:             if ($place['homepage'] != '') {

18 Tx_Seminars_OldModel_Event::getPlaceWithDetails(Tx_Seminars_FrontEnd_DefaultController)

/kunden/366137_70794/rp-hosting/5123095/6123095/typo3cms/seminars_typo3/typo3conf/ext/seminars/Classes/FrontEnd/DefaultController.php:
00950:             'place',
00951:             $this->getConfValueBoolean('showSiteDetails', 's_template_special')
00952:                 ? $this->seminar->getPlaceWithDetails($this)
00953:                 : htmlspecialchars($this->seminar->getPlaceShort())
00954:         );

no CSV-File attached in Reminder-Email

I've set:
plugin.tx_seminars {
addRegistrationCsvToOrganizerReminderMail = 1
//and also
fieldsFromFeUserForEmailCsv = name,company,address,zip,city,country,telephone,email
fieldsFromAttendanceForEmailCsv = uid,price,total_price,notes
}
When I trigger the cronjob, I get the mail with the latest registrations but no CSV-file ist attached...
Is this an issue or did I configurate something wrong?

No check if uploads/tx_seminars exists

Hi,

today a got an error while I was adding an image to a seminar:

1: The destination (/var/www/domain.tld/uploads/tx_seminars) or the source file (/var/www/domain.tld/fileadmin/path/to/file/filename.jpg) does not exist. (tx_seminars_seminars:2:image)

The sourcefile was picked inside filewizard.

After checking the uploads folder the target folder tx_seminars is missing.
I created it manually so the error does not occour anymore.

Is there a check missing if the folder exists?

Best Regards

SQL error when saving an event

SQL error: 'Incorrect integer value: '' for column 'event_type' at row 1' (tx_seminars_seminars:NEW5bdef59cd717d704240293)

Image field for Speakers

We should have an image for the speakers out of the box. i could add this by changing the extension, but that is not good for updating the ext.. Is it possible to extend the seminars with an own extension like other extensions can be?

Organizer not correctly filtered when dates and topics are used

As far as I know I haven't changed how seminar-topics are created so they don't get an organizer attached but the dates get that option. I don't know if that is the intention but as a result if I filter by organizer no date is displayed as this code in the \BagBuilder\Event.php assumes that the topics have an organizer attached.

$this->whereClauseParts['eventsWithOrganizers'] = '((object_type = ' . \Tx_Seminars_Model_Event::TYPE_COMPLETE . ') ' . 'AND (tx_seminars_seminars.uid IN (' . $eventUids . ')) OR (' . '(object_type = ' . \Tx_Seminars_Model_Event::TYPE_DATE . ') AND (' . 'tx_seminars_seminars.topic IN (' . $eventUids . ')))' . ')';

Two empty paragraphs in places / timeslots

When there are timeslots in detail view, after each place are two empty paragraphs with a nbsp:
<dt>Testplace</dt> <dd>Teststreet, Testtown<p>&nbsp;</p> <p>&nbsp;</p></dd>

Selectable categories with multiple domains

Hello,

I am using the seminars extension for multiple websites in one TYPO3 installation. After creating a seminar on the first website, all categories of the project are shown - also the ones from other websites, which is not what I want.
It would be nicer, if there was one folder, that contained the categories, organizers/hosts and locations and could further be browsed in recursively.
Or is there already a solution for this out there, that I am not seeing?

Thanks a lot in advance!
Cheers,

HTML E-mail Template not allow html

Hello,
I´ve tested with and without

 Tags html in the email template, but in the email show the html Tags in plain text.

image

If i set the option in user profile:
image

its the same plain text.

And i sets global constant for:
plugin.tx_srfeuserregister_pi1. enableHTMLMail = 1

Is there another option I can set?

And i have one general question..
what's the difference between
plugin.tx_seminars {
and
plugin.tx_seminars_pi1 {?

Some configurations will not work unless they are configured under plugin.tx_seminars.

[BUG] Accept terms in registration not possible

Although the hook "accept terms" is set, the errormessage

Please accept the terms and conditions in order to register for this event
or
Bitte akzeptieren Sie die allgemeinen Geschäftsbedingungen, um sich für diese Veranstaltung anzumelden.
is displayed.

I will try to fix this in an PR.

Duplicate attendance entries with IE and Edge

Sometimes two attendance entries are created, even if "Allows multiple registrations from the same person" is not checked. Entry uids are subsequent and two notification emails each are sent to the attendee and the organizer.

I tested this with multiple browsers on Linux and Windows but it only happens with Microsoft Edge and IE (used versions s. below) and even with those 2 browsers the problem does not occur with all tests. When the registration form is submitted by selecting the submit button using the tab key and hitting enter, everything works fine, when the button is clicked, two identical requests are sent by IE11 and Edge for some reason. In my opinion this is not a bug in your extension, but a bug in IE and Edge that should be handled in your extension. I guess it happens because the database entry is not set, when the second request checks whether a user is already attending or not.

Microsoft Edge 42.17134.1.0
Microsoft EdgeHTML 17.17134

Internet Explorer 11.112.17134.0

Teaser wrap in list view doesn't show

Hello,

TYPO3 8.7.10
Seminars 1.4.1 (pre/8-compatibility)


I have text in the event teaser field (BE).
If i use the <!-- ###LISTITEM_WRAPPER_TEASER### --> around the Marker ###TEASER###, the teaser doesn´t show in FE.

If i removed the wrapper the Teasertext is shown.

If i use only the ###TEASER### marker and a event have no teaser text, a empty link is shown.


I think the function should be as follows:

If the wrapper is set and test is present in the teaser field, the text should be displayed.

If the wrapper is set and there is no text, nothing should be displayed.


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.