JTOOLBAR-SLIDER-001
JToolbarButtonSlider
JToolbarButtonSlider
The slider toolbar button was removed from the Joomla 4 toolbar.
JToolbarButtonSlider → Standard / popup toolbar buttons
What you will see
- Class "JToolbarButtonSlider" not found
Symptoms people search
admin toolbar slider missing
Replace this code
Swap JToolbarButtonSlider for Standard / popup toolbar buttons.
Joomla 3
Remove or stop calling this
JToolbarHelper::slider('help');Joomla 4 / 6
Use this instead
// Slider toolbar buttons are obsolete. Use a standard button, popup, or a layout.How to fix it
- 1Replace slider buttons with a normal toolbar button or a Bootstrap offcanvas.
Also known as
JToolbarButtonSlider · ToolbarHelper::slider
Related issues
- Joomla 3 → 4Joomla API
JRequest::getVar() and the whole JRequest API
JRequest::getVar() → $app->getInput()->get('id')
- Joomla 3 → 4Joomla API
JError / JException
JError::raiseError() → throw new RuntimeException() / try-catch
- Joomla 3 → 4Joomla API
isAdmin() / isSite()
$app->isAdmin() → $app->isClient('administrator') / isClient('site')
- Joomla 3 → 4Joomla API
Factory::getUri()
JFactory::getUri() → Uri::getInstance()
- Joomla 3 → 4Joomla API
Factory::getXml() / JXMLElement
JFactory::getXML() → SimpleXMLElement
- Joomla 3 → 4Joomla API
Factory::getEditor()
JFactory::getEditor() → Editor::getInstance()