2016-01-06, 02:37 AM
Why is the CSS for select2 not built into the themes? It's a pain having to edit the CSS file when the rest are in the ACP...
jscripts/select2/select2.css
For those of you who would like to include a modified select2 with your themes so users don't have to replace their factory jscripts you can do it like this...
private_send_autocomplete
Apply same idea to the following templates:
Move the files within jscripts/select2 to images/YOURFOLDER/select2 but leave the folder and the js file.
jscripts/select2/select2.css
For those of you who would like to include a modified select2 with your themes so users don't have to replace their factory jscripts you can do it like this...
private_send_autocomplete
<link rel="stylesheet" href="{$mybb->settings['bburl']}/images/YOURFOLDER/select2/select2.css?ver=1806" />
Apply same idea to the following templates:
- managegroup_adduser
- managegroup_inviteuser
- memberlist
- memberlist_search
- member_register_referrer
- modcp_banuser
- modcp_finduser
- modcp_warninglogs
- private_advanced_search
- private_send_autocompletesearch
- search
- usercp_editlists
<link rel="stylesheet" href="{$mybb->asset_url}/jscripts/select2/select2.css?ver=1806" />
Move the files within jscripts/select2 to images/YOURFOLDER/select2 but leave the folder and the js file.