-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integration of reserve into events2 #105
Comments
After extending the class |
Hi @Hobokens, the registration_required field is not inside the Domain Model so you've done it right with extending the model and adding the property to it. I'm thinking about writing an IfRegistrationRequiredViewHelper for this, which will fetch the value directly from the database so this step won't be necessary in the future. The argument dateAndBegin requires an matching unix timestamp. You are using the same begin date for your events2 "Day" record I guess? Then you're able to use something like |
Hi @pascal20997, <f:for as="day" each="{event.days}"> But I am still looking for the way to get the uid for the facility as well. Do I have to extend the model once more? |
Hello @Hobokens, you're right I forgot that |
Hello @pascal20997, |
Hi,
I try to integrate reserve v1.2.3. into events2 v7.0.12. I added the viewhelper (https://docs.typo3.org/p/jweiland/reserve/1.2/en-us/Extend%20reserve/PeriodRegistrationViewHelper/Index.html) into my events2 template. I see that a pid for the facilityand a timestamp for the event is added in the example. But I have a lot of events in my calendar. How can I deal with this?
My second problem: I hope to activate the viewhelper within events2 with the 'registration_required' button in the backend. I added a condition in my events2 template with
<f:if condition="{registration_required}">
Unfortunately this doesn't work.Thanks for any help.
Regards
Hobokens
The text was updated successfully, but these errors were encountered: