getting topmost mmtid in current sub-section?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

getting topmost mmtid in current sub-section?

grahamtk
This post has NOT been accepted by the mailing list yet.
How would you do this?
finding the first ancestor that has placement new sub-section?
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: getting topmost mmtid in current sub-section?

Dan Wilga-2
I believe what you want is this:

  $parents = mm_content_get_parents($child_mmtid);
  $top_mmtid = mm_content_get_blocks_at_mmtid ($parents, MM_MENU_BID );


On 9/3/14 6:25 AM, grahamtk wrote:
How would you do this? 
finding the first ancestor that has placement new sub-section?



--
View this message in context: http://monster-menus.2910260.n2.nabble.com/getting-topmost-mmtid-in-current-sub-section-tp7572952.html
Sent from the Monster Menus mailing list archive at Nabble.com.

---
You are currently subscribed to monster_menus as: [hidden email].
To unsubscribe click here: http://lists.middlebury.edu/u?id=685500.19fa7de7038497527f6a88cf1629251d&n=T&l=monster_menus&o=705621
or send a blank email to [hidden email]

---

You are currently subscribed to monster_menus as: [hidden email].

To unsubscribe click here: http://lists.middlebury.edu/u?id=685503.6b071f880fe6a965a128164e6d09ea81&n=T&l=monster_menus&o=705622

(It may be necessary to cut and paste the above URL if the line is broken)

or send a blank email to [hidden email]

Loading...