We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Sorry for posting this here in the issue tracker, but I haven't found a link to a discussion board or similar...
I'm setting up a "news preview" in my app using collection_item in my app and it works like a charm 🪄
collection_item
BUT: I can't figure out how to show them in an admin preview using the sample block. Here's what I've got:
sample
name: "three columns with images" category: blog settings: - label: "Title" id: title type: text default: Headline - label: "Overview link" id: overview_link type: link with_text: true default: { text: "Link", href: "#" } blocks: - name: "Item" type: item limit: 3 settings: - label: "News Item" id: news_item type: collection_item collection_id: news_items blocks_label: "Top 3 News Items" sample: settings: title: Aktuelle News overview_link: { text: "Link", href: "#" } blocks: - type: item settings: ???
This is probably hard to generalize, if it works at all, but one could potentially link to a test fixture or something?
The text was updated successfully, but these errors were encountered:
👋 @julianrubisch, the documentation is incomplete indeed and I've to update it.
In the meantime, you could use any as the id of the collection item. Something like this?
any
sample: settings: title: Aktuelle News overview_link: { text: "Link", href: "#" } blocks: - type: item settings: news_item: id: any
Sorry, something went wrong.
No branches or pull requests
Sorry for posting this here in the issue tracker, but I haven't found a link to a discussion board or similar...
I'm setting up a "news preview" in my app using
collection_item
in my app and it works like a charm 🪄BUT: I can't figure out how to show them in an admin preview using the
sample
block. Here's what I've got:This is probably hard to generalize, if it works at all, but one could potentially link to a test fixture or something?
The text was updated successfully, but these errors were encountered: