View more context

 

dorsetdigital

You mean, just when we all get the hang of it... it'll change 😉

Conan

@kinglozzer If I do $Up.Up I get [User Error] Up called when we're already at the top of the scope.

kinglozzer

Inside <% loop $Top.getCustomItems($ID) %>?

Conan

and $Top is in this case a BaseElement DataObject not a controller. (creating a custom silverstripe elemental block)

kinglozzer

Gah, probably yet another edge case with the current behaviour then 😧

Conan

Allright 😞 well I should be able to solve it using a custom controller, working on another task atm, but I will get back to this soon and see 🙂

Anish Joshi

Is there an if statement for looping children if only more than 3 children?