I want to add an admin menu item to my osCmax website just like articles and authors.
I have added the following code to the core.php file of the english folder.
// BOF: MOD - Booking Serice
define('BOX_MENU_BOOKING_SERVICE', 'Booking Service');
define('BOX_BOOKING_SERVICE_PERSONS', 'Persons');
define('BOX_BOOKING', 'Booking');
// EOF: MOD - Booking Service
I have created a persons.php
file in the admin boxes folder and add the following code.
$contents = '';
$contents = (
tep_admin_jqmenu(FILENAME_PERSONS, BOX_BOOKING_SERVICE_PERSONS, 'TOP') .
tep_admin_jqmenu(FILENAME_BOOKING, BOX_BOOKING, 'TOP'));
print_r($contents);
I have added the following code to the filenames.php
in the admin folder.
define('FILENAME_PERSONS', 'persons.php');
define('FILENAME_BOOKING', 'booking.php');
But only the BOOKING SERVICE
is displaying in the admin menu and the Persons
and Booking
is not displaying.