- Issue created by @glynster
- ðºðžUnited States glynster
Thanks to @fargo Drupal demo video I managed to get the views working:
https://www.youtube.com/watch?v=KKTl4z_MGSg
The step I was missing was to create a new view display with "Custom Elements Display" and then set to content instead of fields:
- ðžð®Slovenia useernamee Ljubljana
Thank you @glynster to finding that out.
We have a new todo:
Create documentation on lupus_decoupled_views (add README.md to the lupus_decoupled_views module and/or provide it here https://lupus-decoupled.org/advanced-topics/views) - ðŠð¹Austria fago Vienna
Thanks! Let's use this issue for the missing documentation. I'd recommend adding it to the linked page on lupus-decoupled.org, then maybe have a point to the page in the README. You could help with that simply by filing a PR against https://github.com/drunomics/lupus-decoupled-website to add it!
For the mentioned problem, it might be a compatibility issue on Drupal 10.1 - let's reproduce it with a gitpod. Could you open a dedicated ticket for the bug? Then let's solve it there. Then we need to work on test-coverage fro this (follow-up)
- ðŠð¹Austria fago Vienna
I tested it on gitpod and was able to reproduce the error. So filing a bug-ticket as sub-task here.
- Assigned to useernamee
- ðŠð¹Austria fago Vienna
@lio - coudl you help with that? I think you already started here.
- Status changed to Needs review
8 months ago 5:54pm 22 August 2024 - ðžð®Slovenia useernamee Ljubljana
Ok, I'm not sure how good this solution is, but the errors are gone and there is a simple preview of what custom element view will show.
Other option would be, to disable it.
- Status changed to Needs work
7 months ago 6:30am 26 August 2024 - ðŠð¹Austria fago Vienna
Not sure about the error, but yes we should fix it. But this issue is about documentation - which i don't see anywhere, so it'S not ready for review -> setting this back to needs work.
Let's open a dedicated issue for the bug please + move the MR over. Making the preview work would be nice, but we should avoid a second code-path. If not easy, anything which avoids the error would be good enough as quick-fix.
- ðžð®Slovenia useernamee Ljubljana
@fago, I started on it here because of #3 ð Documentation for default view or setup steps Needs work .
I'll move it into ð When editing a custom elements page view php errors are produced by renderer Needs work .
- Merge request !96#3380863: Add readme file that describes how to set up custom elements view display. â (Merged) created by useernamee
- Assigned to fago
- Status changed to Needs review
7 months ago 10:36am 20 September 2024 - ðžð®Slovenia useernamee Ljubljana
Created MR96 and subpage on lupus-decoupled.org https://github.com/drunomics/lupus-decoupled-website/pull/74
-
fago â
committed 69551f25 on 1.x authored by
useernamee â
Issue #3380863 by useernamee, fago: add documentation for Views setup
-
fago â
committed 69551f25 on 1.x authored by
useernamee â
Automatically closed - issue fixed for 2 weeks with no activity.