2 Aug 2020 |
| josef | 17:10:06 |
3 Aug 2020 |
| evo joined the room. | 09:36:18 |
| jutta | 10:49:46 |
5 Aug 2020 |
| @alex:aceno.de left the room. | 11:29:08 |
8 Aug 2020 |
| karl joined the room. | 09:11:28 |
10 Aug 2020 |
| @kimshiland:utwente.io joined the room. | 21:01:19 |
15 Aug 2020 |
| @leandro:halogen.city joined the room. | 20:39:51 |
17 Aug 2020 |
| vladimir | 21:18:57 |
22 Aug 2020 |
| camila | 21:54:07 |
23 Aug 2020 |
| marian | 18:51:47 |
16 Sep 2020 |
| @theresa:synod.im left the room. | 22:43:54 |
19 Sep 2020 |
| juan | 23:58:23 |
30 Sep 2020 |
| @trevdev:matrix.org joined the room. | 02:47:22 |
| karl | 20:11:34 |
@trevdev:matrix.org | I'm having trouble finding information in the official documentation. I tend to chase my tail often. Any tips on finding information? | 02:50:48 |
@trevdev:matrix.org | I'm trying to find a reference for the icons available in the wagtail.core.blocks Meta properties for making streamfields. | 02:51:53 |
@trevdev:matrix.org | Found my way to this: https://docs.wagtail.io/en/v2.8.1/topics/streamfield.html | 02:54:20 |
@trevdev:matrix.org | Just had to talk it out, I guess. Enabled the style guide and fumbled to it in my learning project. | 03:05:10 |
| @scott:perthchat.org joined the room. | 21:48:03 |
2 Oct 2020 |
| enginhu joined the room. | 07:43:57 |
| @matthew:nltrix.net joined the room. | 23:20:59 |
3 Oct 2020 |
| @matthew:nltrix.net | 07:44:45 |
14 Oct 2020 |
@trevdev:matrix.org | I've successfully added a BooleanField to a Page's promote_panels and saved the data. My SQL explorer shows me the data's stored the way I saved it. However when I try to access the value of that Boolean Field in a template (or in a custom query) it shows up as a None type. | 00:46:21 |
@trevdev:matrix.org | Any idea where I might be going wrong? | 00:46:31 |
@trevdev:matrix.org | special_menu_item = models.BooleanField(
default=False,
verbose_name="Special Menu Item",
help_text="Emphasizes this page as a bold looking button in the menu"
)
| 00:46:42 |
@trevdev:matrix.org | promote_panels = AbstractEmailForm.promote_panels + [
MultiFieldPanel([
FieldPanel('special_menu_item')
], heading="Other Settings")
]
| 00:46:53 |
@trevdev:matrix.org | {% with "f6-ns f7 b ttu link bg-near-black ba br-1 bw1 yellow pv1 ph2" as emphasized %}
{% for page in navitems %}
<div class="{% if page.special_menu_item %}grow{% endif %}">
<a
class="{% if page.special_menu_item %}{{ emphasized }}{% endif %}"
href="{{ page.url }}">
{{ page.title }}
</a>
</div>
{% endfor %}
{% endwith %}
| 00:47:47 |
@trevdev:matrix.org | I can access other things from the promote tab, for instance, the {{ page.slug }} works. | 01:07:36 |
| @josefa:bau-ha.us left the room. | 18:50:14 |
12 Nov 2020 |
| peeterss joined the room. | 18:16:13 |