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

Use the scope matcher if an element renders differently in BE and FE #2206

Merged
merged 4 commits into from
Sep 2, 2020

Conversation

leofeyer
Copy link
Member

Q A
Fixed issues Fixes #1187
Docs PR or issue -

Shall I also try to fix contao/core#7587 here?

@leofeyer leofeyer added the bug label Aug 28, 2020
@leofeyer leofeyer added this to the 4.9 milestone Aug 28, 2020
@leofeyer leofeyer requested a review from a team August 28, 2020 12:59
@leofeyer leofeyer self-assigned this Aug 28, 2020
@leofeyer leofeyer linked an issue Aug 28, 2020 that may be closed by this pull request
@ausi
Copy link
Member

ausi commented Aug 31, 2020

Did you skip several content elements on purpose? like ContentAccordionStart and ContentAccordionStop?

@leofeyer
Copy link
Member Author

I have left all the if (TL_MODE == 'BE') { renderBackEndWildcardTemplate(); } snippets as is. Do you think it would be better to adjust them as well?

@ausi
Copy link
Member

ausi commented Aug 31, 2020

Do you think it would be better to adjust them as well?

I guess so, because in the RSS feed (and in newsletters) the backend wildcard output ist most probably not desired.

@leofeyer
Copy link
Member Author

leofeyer commented Sep 1, 2020

See 947d77a.

@leofeyer leofeyer merged commit 59d455b into contao:4.9 Sep 2, 2020
@leofeyer leofeyer deleted the fix/tl_mode branch September 2, 2020 06:30
@aschempp
Copy link
Member

aschempp commented Sep 7, 2020

I think instead of modifying the current request, we should have pushed a new request to the stack. Shall I prepare a PR for that?

@leofeyer
Copy link
Member Author

leofeyer commented Sep 7, 2020

No, I don't think that is necessary. Temporarily adjusting the current request works fine.

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

Successfully merging this pull request may close these issues.

HTML-Inhaltselemente im RSS-Feed
4 participants