WHERE TO FIND ADD COURSE PAGE

davemanuel
Forums
Hi! I like to have a modification in ADD NEW COURSE PAGE , and I am having a hardtime to find the source code where can I find it.
davemanuel

anyone

any one can help me ? I found this <?php if ($action_links&&!isset($node)): ?>
    <?php print render($action_links); ?>
<?php endif; ?> <?php print render($page['content']); ?> <?php print render($page['content_bottom']); ?> when I look for add new course page. how can I edit the html of it.
James Aparicio

Hi davemanuel,

Hi davemanuel,

Take a look at the function opigno_simple_ui_menu_local_tasks_alter in profiles/opigno_lms/modules/opigno/opigno/modules/simple.ui/opigno_simple_ui.module.

 

Best regards

davemanuel

Hi James!

Thank you so much for your reply! I will let you know if it is work.
davemanuel

hello!

I find this function opigno_simple_ui_menu_local_tasks_alter(&$data, $router_item, $root_path) { if ($root_path == 'admin/opigno/content/course-administration' || $root_path == 'my-trainings' || $root_path == 'training-catalogue') { $item = menu_get_item('node/add/' . OPIGNO_COURSE_BUNDLE); if ($item['access']) { $item['title'] = t("Add a new course"); $item['options']['attributes']['class'][] = $item['localized_options']['attributes']['class'][] = 'add-course'; $item['options']['attributes']['class'][] = $item['localized_options']['attributes']['class'][] = 'opigno-simple-ui-add-course'; $item['options']['attributes']['class'][] = $item['localized_options']['attributes']['class'][] = 'opigno-simple-ui-course-administration-add-course-link'; $data['actions']['output'][] = array( '#theme' => 'menu_local_action', '#link' => $item, ); } } module_load_include('inc', 'opigno_simple_ui', 'includes/opigno_simple_ui.quiz'); opigno_simple_ui_quiz_menu_local_tasks_alter($data, $router_item, $root_path); } But how could I find the html that builds the FORM in adding a course.
davemanuel

any solutions?

Any detailed solution for this will be appreaiated.
davemanuel

Up

UP