Forum Discussion
Hi,
I've tried inserting the menu bar component in the Recent Posts Page's XML and it gives me an error. Any idea why?
Hi Ania,
I think it would be best to raise a support ticket so that our engineers can look into the logs and confirm exactly what the issue is, or maybe provide more details about the error message you are getting.
I believe in this case it could be that the Recent Post page already includes the the menu bar component within the post list by default, and therefore adding it again is creating an error.
Hope that helps,
- Ania_Ciuba12 years agoGenius
Hi Paolo,
This is the XML I have before I add the menu bar component:
<quilt layout="one-column" nestable="false">
<add to="common-header">
<component id="quilt:Header"/>
</add>
<add to="main-content">
<component id="post-list"/>
</add>
<add to="common-footer">
<component id="quilt:Footer"/>
</add>
</quilt>And here's the XML that's causing the problem:
<quilt layout="one-column" nestable="false">
<add to="common-header">
<component id="quilt:Header"/>
</add>
<add to="main-content">
<component id="menu-bar"/>
<component id="post-list"/>
</add>
<add to="common-footer">
<component id="quilt:Footer"/>
</add>
</quilt>so as it seems to me, there's no menu bar there yet.
- Ania_Ciuba12 years agoGeniusI submitted a ticket as well. Let's see what it was :)
- PaoloT12 years agoLithium Alumni (Retired)
Hi Ania,
thanks for your clarification. What I meant is that the menu bar functionality could be embedded already within the "post-list" component (you wouldn't see that from the XML definition of the page) - let's see what support says here.
Regards,