Showing pieces in widgets - how? #3851
Replies: 3 comments
-
I get it now, and it's a great way of doing it, although I reckon it would be advisable to make a section in the docs covering this functionality, or if it's there already then make it easily findable. All I had to do was add a
|
Beta Was this translation helpful? Give feedback.
-
cc @BoDonkey, it would make sense to make sure our pieces docs talk about how to make a widget that displays pieces by using a relationship field, since we no longer provide one by default. (We stopped because the alternatives to a simple relationship field were hardly ever used.) |
Beta Was this translation helpful? Give feedback.
-
EDITED: |
Beta Was this translation helpful? Give feedback.
-
In Apostrophe 2 I would create a piece and then I could use either a show/index page or a widget or both to display those pieces.
There doesn't seem to be anything in the A3 docs to tell me how to implement a widget to show pieces, nor if/why the feature has been removed.
I've made a piece and a piece-widget, I've called them review and review-widget.
I added some review pieces. I then put the widget in my page. All seems well, but nothing shows up in the widget where I used to be able to select pieces individually, by tag, or show all.
The only things I can extend seem to be:
...and no pieces-widget-type for example.
Am I being blind, going mad, or missing something obvious?
Beta Was this translation helpful? Give feedback.
All reactions