added site-view switch to allow default public access if access is set on the site view as explained in gh-113
This commit is contained in:
@ -149,7 +149,12 @@ class ComponentbuilderViewSite_views extends JViewLegacy
|
||||
{
|
||||
JToolBarHelper::custom('site_views.exportData', 'download', '', 'COM_COMPONENTBUILDER_EXPORT_DATA', true);
|
||||
}
|
||||
}
|
||||
}
|
||||
if ($this->user->authorise('joomla_component.import_components'))
|
||||
{
|
||||
// add Import Components button.
|
||||
JToolBarHelper::custom('joomla_components.smartImport', 'upload', '', 'COM_COMPONENTBUILDER_IMPORT_COMPONENTS', false);
|
||||
}
|
||||
|
||||
if ($this->canDo->get('core.import') && $this->canDo->get('site_view.import'))
|
||||
{
|
||||
|
Reference in New Issue
Block a user