Hi!
I have a function inside a Widget that should return all the members of a given group. However, it seems to be impossible to loop through this function inside the widget. Once I put my function inside Page.php and loop through it in Page.ss I get the expected results. Putting it back in the Widget and nothing happens. How to get the widget to show the output aswell?
The code I am currently using (function getMembers):
http://www.sspaste.com/paste/show/51260ea014393
The widget-template:
http://www.sspaste.com/paste/show/5126141bccdd4
I also tried $getMembers, but it was also useless. Any help is appreciated!
Cheers!