Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
joomla:prep50 [2026/03/29 13:50] – [Joomla 5 changes] Bernard Condraujoomla:prep50 [2026/05/28 15:17] (current) – [Database changes] Bernard Condrau
Line 25: Line 25:
  
 ==== Todo Admin ==== ==== Todo Admin ====
-  * check and set options if empty in Plugin Bethico or BethicoAdmin:<code>use Joomla\CMS\Plugin\CMSPlugin;+  * FIXME check and set options if empty in Plugin Bethico or BethicoAdmin:<code>use Joomla\CMS\Plugin\CMSPlugin;
 use Joomla\Event\Event; use Joomla\Event\Event;
  
Line 48: Line 48:
     }     }
 }</code> }</code>
 +  * FIXME Change //Special games// selection and logic in //Admin: Tournament view//
 ==== Todo Site ==== ==== Todo Site ====
 +==== Todo Wiki ====
 +  * Change favicon for help screens
 +  * Change option names in //Admin: Tournament View//
 ===== Get model ===== ===== Get model =====
 <code>public function getOtherModelData() <code>public function getOtherModelData()
Line 76: Line 80:
 | ''admin.js: confirm'' | | ''import('joomla.dialog').then(m => m.default.confirm(Joomla.JText._('COM_BETHICOLEAGUE_JS_YES_NO'), Joomla.Text._('WARNING', 'Warning'))).then(confirmed => {if (confirmed) {}});'' | | ''admin.js: confirm'' | | ''import('joomla.dialog').then(m => m.default.confirm(Joomla.JText._('COM_BETHICOLEAGUE_JS_YES_NO'), Joomla.Text._('WARNING', 'Warning'))).then(confirmed => {if (confirmed) {}});'' |
  
 +===== Joomla 5 views =====
 +  * ''match: schedule'' -> ''league:schedule''
 ===== Bootstrap ===== ===== Bootstrap =====
 Joomla 3.10: version 2.3.2 Joomla 3.10: version 2.3.2
Line 83: Line 89:
 | Column Classes | ''row-fluid''\\ ''span7''\\ ''span5'' | ''container''\\ ''row''\\ ''col col-12 col-lg-7''\\ ''col-12 col-lg-5'' | | Column Classes | ''row-fluid''\\ ''span7''\\ ''span5'' | ''container''\\ ''row''\\ ''col col-12 col-lg-7''\\ ''col-12 col-lg-5'' |
  
-===== Joomla 5 changes =====+===== Joomla 5 incompatibilities =====
   * WebAssetManager paths   * WebAssetManager paths
   * Language strings: no multiline   * Language strings: no multiline
 +
 +===== Database changes =====
 +==== Table #__bethico_venue ====
 +  * Table ''#<nowiki>__</nowiki>bethico_bar'' renamed to ''#<nowiki>__</nowiki>bethico_venue'' and fields starting with ''b_'' renamed to starting with ''v_''
 +  * Change field ''bar_id'' to ''venue_id'' in table ''<nowiki>#__bethico_team_season</nowiki>''
 +  * fields ''league, league_code, time_string, start_year, frames_term, bye_term'' from ''#<nowiki>__</nowiki>bethico_config'' moved to //component options//
 +  * Table ''#<nowiki>__</nowiki>bethico_olddb_team'' field ''b_name'' renamed to ''v_name''
  
 ===== Links ===== ===== Links =====
   * [[https://manual.joomla.org/docs/building-extensions/modules/module-development-tutorial/|Module Development Tutorial]]   * [[https://manual.joomla.org/docs/building-extensions/modules/module-development-tutorial/|Module Development Tutorial]]
   * [[https://docs.joomla.org/how_do_you_put_a_module_inside_an_article%3F|How do you put a module inside an article?]]   * [[https://docs.joomla.org/how_do_you_put_a_module_inside_an_article%3F|How do you put a module inside an article?]]