You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Wagtail support
I am creating a snippet in which I would like for users to relate multiple other snippets to. Similar to the InlinePanel, I would like users to add and order multiple pre-existing snippet objects. InlinePanel seems to be only for creating new objects inline. Is there such a way now to do inline chooser panels? Thanks.
Matthew Westcott
unread,
Aug 25, 2015, 12:22:46 PM8/25/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to wag...@googlegroups.com
Hi Marcus,
The conventional way to do this is to create an InlinePanel consisting of just a snippet chooser panel - see http://docs.wagtail.io/en/v1.0/topics/snippets.html#binding-pages-to-snippets . In this example, the 'Advert' snippets are defined outside of the page content, and the 'BookPageAdvertPlacement' model just acts as the link between the page and the snippets.
Cheers,
- Matt
Marcus Amargi
unread,
Aug 25, 2015, 1:01:26 PM8/25/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Wagtail support
Great! Thanks very much for the documentation link.