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
Python 3.10.12 Wagtail 5.2 Django 4.2.7 wagtail-localize 1.7
Here is no arrow for selecting child pages of localized home page
class MenuItem(Orderable): link_title = models.CharField( blank=True, null=True, max_length=50 ) link_url = models.CharField( max_length=500, blank=True ) link_page = models.ForeignKey( "wagtailcore.Page", null=True, blank=True, on_delete=models.CASCADE ) open_in_new_tab = models.BooleanField( default=False, blank=True ) page = ParentalKey('Menu', related_name='menu_items') panels = [ FieldPanel('link_title'), FieldPanel('link_url'), PageChooserPanel('link_page'), FieldPanel('open_in_new_tab'), ] @property def link(self): if self.link_page: return self.link_page.url elif self.link_url: return self.link_url return '#' @property def title(self): if self.link_page and not self.link_title: return self.link_page.title elif self.link_title: return self.link_title return "Missing title" @register_snippet class Menu(ClusterableModel): title = models.CharField(max_length=100) slug = AutoSlugField(populate_from="title", editable=True) panels = [ MultiFieldPanel([ FieldPanel('title'), FieldPanel('slug') ], heading='Menu'), InlinePanel('menu_items', label='Menu Item') ] def __str__(self): return self.title
This is menu snippet for navbar This is my first time doing localization Any ideas?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Python 3.10.12
Wagtail 5.2
Django 4.2.7
wagtail-localize 1.7
Here is no arrow for selecting child pages of localized home page
This is menu snippet for navbar
This is my first time doing localization
Any ideas?
The text was updated successfully, but these errors were encountered: