Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Static_placeholder in a main menu dropdown #6574
Am trying to display a
Is this even doable? If not, is there another way to add an editable area within a main menu?
When I click the icon to show the different placeholders I would expect the "Personal Menu Content" and the other two static placeholders seen above to appear.
I do not see any of the above placeholders in the edit area. I see regular placeholders and even a static placeholder I put in the footer, but none of the ones I have in the main menu are showing
@leslieewing I would create a template for each menu title/static placeholder. Use template inheritance to avoid code duplication. In my projects, my base template specifies
and inheriting templates then, for instance would use
Create a such a template for each page requiring a special static placeholder.
@jrief - thanks - I actually got the static placeholder to appear in the edit view; however, the plugin I put in it does not appear in the menu. I have a drop down menu that needs to have a replaceable plugin for specific menus. For example, the Personal parent menu item has an image and description that appears when you are viewing the dropdown.
The image shows that you are hovering over Personal and the dropdown appears below it. To the far right you'll see "Personal" - that needs to be where the plugin from the static placeholder needs to appear. The Business and Who We Are menu items also have a separate dropdown and need separate plugins from a static placeholder to appear in that area.
I did update the code in the
And in my template I have
So, the static placeholder area appears in the Edit view; however, the plugin I put into that placeholder does not show up in the dropdown where I would expect it to appear.