Hi ALL
I can guide you. However, you will need to know PHP / HTML code in order to do this modification. Here are the steps :
1. Open the file modules/mod_eb_events/mod_eb_events.php
2. Find the code below :
Code:
$sql = 'SELECT a.id, a.title, a.location_id, a.event_date, c.name AS location_name FROM #__eb_events AS a '
. ' LEFT JOIN #__eb_locations AS c '
. ' ON a.location_id = c.id '
. ' WHERE '.implode(' AND ', $where)
. ' ORDER BY a.event_date '
. ' LIMIT '.$numberEvents
;
3. Change it to :
Code:
$sql = 'SELECT a.id, a.title, a.location_id, a.event_date, a.individual_price, c.name AS location_name FROM #__eb_events AS a '
. ' LEFT JOIN #__eb_locations AS c '
. ' ON a.location_id = c.id '
. ' WHERE '.implode(' AND ', $where)
. ' ORDER BY a.event_date '
. ' LIMIT '.$numberEvents
;
4. Open the file modules/mod_eb_events/tmpl/default.php, you can then find the code to display event information (in the loop command) and use the code below to display event price in the position you want :
Code:
<?php echo $row->individual_price ; ?>
Hope this help .
Tuan