Questions tagged [wagtail-streamfield]

Wagtail-streamfield is the feature of Wagtail which let you create a sequence of blocks of different types to be rearranged as desired. Build and arrange your content blocks in any order: headings, paragraphs, images, video, and custom content types specific to your site.

Wagtail is a CMS for Django. Wagtail comes up with lots of features and wagtail-streamfield is one of it. It allows a user to build and arranges content blocks in any order: headings, paragraphs, images, video, and custom content types specific to a site. enter image description here

The outstanding characteristic of it is "Better Rich Text", "Classy Implementation","Simple Editing","Content economy".

170 questions
0
votes
1 answer

StreamField : Add Map block

I'm working on a leaflet wagtail block integration. https://github.com/frague59/wagtail-leaflet I've difficulties with the widget rendering when I add the new block into the stream : nothing displays. The widget, from django-leaflet /…
frague
  • 189
  • 1
  • 10
0
votes
1 answer

Using StreamField contents programmatically from withing the Page get_context function

I have been trying to learn Wagtail and the intricacies of using StreamFields and blocks are giving me a headache. I had no problems following the Wagtail docs and the demo app, but going beyond that seems to be insurmountable without external…
Todor Todorov
  • 109
  • 1
  • 9
0
votes
1 answer

Do DocumentChooserBlocks have to have foreign key?

I am using a Wagtail streamfield to allow users to upload and link to documents in the editor interface. Originally, I tried to use a foreign key as referenced in the documentation and as all other examples I have seen. I kept getting an error when…
0
votes
2 answers

Looping through Wagtail Streamfield Items

I'm trying to create an index page containing links to multiple photo galleries in Wagtail. The GalleryIndexPage model looks like this: class GalleryIndexPage(Page): subpage_types = ['home.GalleryPage'] gallery_thumb = StreamField ([ …
kbdev
  • 1,225
  • 1
  • 13
  • 33
-1
votes
2 answers

image in block of StreamField is not recognized

This error is shown: 'image' tag should be of the form {% image self.photo max-320x200 [ custom-attr="value" ... ] %} or {% image self.photo max-320x200 as img %} with line 19 {% image block.value as mein_bild %} My template: {% extends…
1 2 3
11
12