3433 Posts in 1058 Topics by 734 members
|Go to End|
29 March 2009 at 9:51am
I am not quite sure how to describe what I am trying to do (which doesn't help), but I will try my best.
My first level page has two sets of available navigation, generated from two TreeMultiselectFields in the CMS. I need a way of dynamically discovering if the current sub page is in one list of the other, and then generate the required list as navigation ont hat page too.
I was thinking I need to use Dataobject::get() and then run a comparison in the Controller class, but I am not really sure the best way to do this??
Any help is greatly appreciated!!
29 March 2009 at 3:31pm
Right, maybe I can refine this a bit:
How can I retrieve the results of a TreeMultiselectField from a parent?
The TreeMultiselectField is Called 'Box1Options'.
I have tried:
- $Results = $this->Parent()->Box1Options;
- $Results = Dataobject::get($this->Parent())
And a couple of other things too. I cant seem to get the results.
|Go to Top|