feat: Add functions to retrieve previous and upcoming events; update events template to display dynamic event data
This commit is contained in:
@@ -52,6 +52,8 @@ class WebsiteController extends Controller
|
||||
$data['successGalleries'] = getGalleriesByCategory(limit: 3, order: 'asc', category: 'voice-of-success');
|
||||
$data['destinations'] = getDestinations(limit: null, order: 'asc');
|
||||
$data['services'] = getServices(limit: null, order: 'asc');
|
||||
$data['previousEvents'] = previousEvents(limit: null, order: 'asc');
|
||||
$data['upcomingEvents'] = upcomingEvents(limit: null, order: 'asc');
|
||||
$data['classes'] = getClasses(limit: null, order: 'asc');
|
||||
$data['institutions'] = getInstitutions(limit: null, order: 'asc');
|
||||
$data['faqs'] = getFAQs(limit: null, order: 'desc');
|
||||
|
Reference in New Issue
Block a user