3093 Posts in 875 Topics by 654 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 959 Views |
-
Current page Treemultiselectfield?

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!!
Mo
-
Re: Current page Treemultiselectfield?

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())
$Results->Box1OptionsAnd a couple of other things too. I cant seem to get the results.
Mo
| 959 Views | ||
|
Page:
1
|
Go to Top |

