Adding Global Site Settings to Your Wagtail CMS Website

preview_player
Показать описание
Most websites have social media icons in their footer and often several other links and icons that are global across the entire website. In this video we explore how to enable that with Wagtails settings context processor.

Learn Wagtail from scratch with the official Wagtail for Beginners Course

Used in this video: Wagtail 2.4, Python 3.7, Django 2.1.5 #Wagtail #Django #Python
Рекомендации по теме
Комментарии
Автор

Thanks for your video and also introducing figlet. It was really cool.

Gandolfof
Автор

I was hoping to use this to keep my collapsible menu on the state the user left it before going to the next page, but it seems like it wasn't the right tool. How can I go through the pages and know that when the user left the last page he had the menu on expand instead of collapsed? Your content is the only one available around teaching this stuff, and Wagtail seems exactly what I need to create my system. Great Work!

pyrrhicbuddha
Автор

Thankyou for your wagtail course I am getting more knowledge from your course please make a video for how to render data by using orderables in the settings_register in wagtail for global settings

hariharans
Автор

I do not get the difference between using "{{ page.whatever}}" and "{{ self.whatever }}". Especially when using both in the same template. I do see that "self." is used for StreamField and Orderable. However - what is going on behind the scenes? Why can't I reference both of them using "page."? I would really appreciate some clarification :-) By the way: Great videos - thank so so much for the effort, I love it!

Kaffeslide
Автор

How expensive is implementing these social icons with context processors? I wonder in which case one should think about doing something using context processors or using a different way

royanezp
Автор

Hello, I've been watching your Wagtail series now in 2022. It is really a good reference.

By the way, I would like to ask if it is possible to use an Orderable model class in Settings?

Thanks.

davepascual
Автор

Your admin (Social Media Settings) shows "link" icons inside of the input box. (time 10:33 in the video) Mine is not. Is this a change in the version that I'm running or something else?

SuperSam
Автор

Hi! there is question regarding setting model
how can we access this setting value in page / models.py / custom_tags / views or in some function that we can call from anywhere with template or without template to get settings value.

ashishpitroda
Автор

Is there any recommended way to go about exposing global settings via the API for a headless wagtail set-up? For example if I'm looking to allow the user to edit the site title or tagline in settings, then grab it via an API call for a header?

samuelwagner
Автор

Why sometimes you use `content_panels` and now using `panels`? What are the difference and when use what?

networksocial
Автор

The css code for font awesome is not available. Only script code is there.

ArjitRaj
Автор

I have tried to add the Logo Setting to the global settings but the image is not showing <img class="logo-static" src="{{ alt="Logo">

rashidmigadde