I just searched for "devel Module und"
It got me thinking and I done a search myself earlier
We just needed to remove ['#markup']
I can't believe how long I've been working on this, though got there in the end Mittineague, feels great
But already, a few other problems have become exposed. If you get chance, might start another thread if needed.
Ok, I've cloned the location snippet above and will be using the date of the event to do further querying.
As you can see below, the date condition is set between two dates.
How do I replace the first date 2014-03-12 with NOW() so I don't have to keep editing the file?
->fieldCondition('field_event_date_and_time', 'value', array('2014-03-12', '2014-03-31'), 'BETWEEN')
I thought something like this though gives errors.
->fieldCondition('field_event_date_and_time', 'value', array(NOW(), '2014-03-31'), 'BETWEEN')
Thanks again, Barry