# pdoMenu different chunks for partitions

**URL:** <https://community.modx.com/t/pdomenu-different-chunks-for-partitions/6702>\
**Category:** Random\
**Created:** [May 10, 2023, 9:18pm UTC](https://community.modx.com/t/pdomenu-different-chunks-for-partitions/6702 "2023-05-10T21:18:59Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![halftrainedharry](https://community.modx.com/user_avatar/community.modx.com/halftrainedharry/32/1063_2.png) [@halftrainedharry](https://community.modx.com/u/halftrainedharry)\
**Post date:** [May 11, 2023, 11:14am UTC](https://community.modx.com/t/pdomenu-different-chunks-for-partitions/6702/4 "2023-05-11T11:14:39Z")

</div>

Did you take a look at the topics I linked above?

I believe this one is very similar to your case:

> [@pdoMenu - Using different](https://community.modx.com/t/pdomenu-using-different/5528/36):
>
> I forgot to reply earlier saying that this works an absolute treat now. Thanks a million for all your help guys. I really appreciate it. I’ll add the code that works for me. Here’s the pdoMenu call \<nav class="primary-menu"\> \<ul class="menu-container"\> [[pdoMenu? &parents=`0` &level=`0` &tplOuter=`@INLINE {{+wrapper}}` &tpl=`navTpl`]] \</ul\> \</nav\> Here’s the navTpl call {set $parent\_ids = $\_modx-\>getParentIds($id)} {if 8 in $parent\_ids} {if $level == …

---

_[View the full topic](https://community.modx.com/t/pdomenu-different-chunks-for-partitions/6702)._
