Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Return joined data from two tables

Go to End

10 Posts   4871 Views

iON creative

Community Member, 42 Posts

4 June 2010 at 10:28pm

Thanks so much Mark - that is perfect - it returns the required data and I'm nearly there.

This is most likely an unrelated issue - formatting the dates returned using $date.Format(...) within the control structure is throwing up an error in the template: Call to a member function XML_val() on a non-object...

Have you heard of this before?


Community Member, 78 Posts

9 June 2010 at 10:45pm

Did you resolve this last error? Sounds like something in the template which is not null, but contains something invalid. Perhaps try removing the reference to the constructed data object set from the template, to see if that's what's causing the problem. Otherwise, trying removing other things until it doesn't fail any more.


Go to Top