Select2 on RTE link button

With CKEditer, the link button opens a dialog from ./modules/fuel/controller/Pages.php->select().

It would be nice if the "OR select" dropdown was a select2 so users could search for their page (or at least filter it).

What would be needed to make select2 work here? (I tried changing the $fields['url_select'] stanza to select2 but it didn't work).


  • When you said tried changing it did you mean to the following:

    $fields['url_select'] = array('type' => 'select2', 'value' => $this->input->get_post('url_select', TRUE), 'label' => $select_label, 'type' => 'select', 'options' => $options, 'first_option' => lang('label_select_one'), 'display_label' => $display_label_select);
Sign In or Register to comment.