developer.jelix.org is not used any more and exists only for history. Post new tickets on the Github account.
developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.

Opened 10 years ago

Closed 10 years ago

#1221 closed bug (wontfix)

plugin meta_html jQuery UI theme path hardcoded

Reported by: foxmask Owned by:
Priority: normal Milestone: Jelix 1.2RC2
Component: jelix:plugins:tpl Version: 1.2RC1
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Documentation needed: no
Hosting Provider: Php version:

Description

Since last jQueryUI update, the path to the theme is hardcoded in the meta_html plugin.

when we use theme or our jelix application, it's impossible to customise anything relating to jQueryUI, for example tabs.

Something like this should be better, shouldn't it ?

case 'theme':
   $gJCoord->response->addCSSLink($base.'themes/'.$gJConfig->theme.'/jquery.ui.all.css');
break;

Change History (2)

comment:1 Changed 10 years ago by foxmask

le path est aussi "hardcoded" dans le fichier jelix/js/jforms/datepickers/default/init.js :/

comment:2 Changed 10 years ago by laurentj

  • Component changed from jelix to jelix:plugins:tpl
  • Resolution set to wontfix
  • Status changed from new to closed

$gJCoord->response->addCSSLink($base.'themes/'.$gJConfig->theme.'/jquery.ui.all.css');

no, because unfortunately, themes names in a jelix application could not correspond to jquery UI theme names.

So i you don't like the default theme of jquery, don't use the jquery_ui option of meta_html, and indicate yourself the css file to load as usual with the keyword css or csstheme.

Note: See TracTickets for help on using tickets.