Skip to content
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

recurrence displayCond #6

Open
stephangrass opened this issue Dec 7, 2017 · 3 comments
Open

recurrence displayCond #6

stephangrass opened this issue Dec 7, 2017 · 3 comments

Comments

@stephangrass
Copy link

Since 'recurrence overrides' only makes sense if you have selected something in 'recurrence' and 'userdefined recurrence' only if 'recurrence' is set to 'user defined', should not the fields in the TCA be displayed / swirled accordingly by displayCond?

By adding to field 'recurrence':

'onChange' => 'reload'

By adding to all 'ud_fields':

    'displayCond' => [
        'AND' => [
            'FIELD:eventtype:REQ:TRUE',
            'FIELD:recurrence:=:7'
        ],
    ]

By adding to 'recurrence_updated_behavior' and 'newsrecurrence':

    'displayCond' => [
        'AND' => [
            'FIELD:eventtype:REQ:TRUE',
            'FIELD:recurrence:>:0'
        ],
    ]
@daCyberpunk
Copy link
Owner

I'm sorry for the late answer!!!

At first point that sounds very good. But it would lead to a lot of reloads all the time what might make some user/editor much more unhappy.

But my future plan is also not to use that recurrence overwrite during save anymore. Instead I want to add a explicit button to that tab where a user/editor can call the recurrence build directly. Would be much more user friendly.

@bocianl
Copy link

bocianl commented May 17, 2018

So the user must every time choose "Recurrence Overrides" even if this element is not used? Eventdate recurrence is off.

image

@fchaussin
Copy link

I have a similar issue when I attempt to create a non reccuring event.
It ask me to set recurrence override behaviour, then if I select "do nothing", it is not saved.
Here my Event Data screenshot:
dated_news_no-recurr_issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants