== Disabling the Download Zip feature in Swarm
To disable the feature so that it cannot be used, add the content below to your Swarm config file:
'router' => array(
'routes' => array(
'archive' => array(
'options' => array(
'defaults' => array(
'controller' => 'Api\Controller\V1\Index',
'action' => 'notFound',
),
)
)
)
)
To hide the button itself, place the following in a file called public/custom/custom.css:
.btn-group-archive,
a[href^="/archives/"] {
display: none !important;
}
== Disabling the Download Zip feature in Swarm To disable the feature so that it cannot be used, add the content below to your Swarm config file: 'router' => array( 'routes' => array( 'archive' => array( 'options' => array( 'defaults' => array( 'controller' => 'Api\Controller\V1\Index', 'action' => 'notFound', ), ) ) ) ) To hide the button itself, place the following in a file called public/custom/custom.css: .btn-group-archive, a[href^="/archives/"] { display: none !important; }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 16441 | Matt Attaway | An example of disabling the download zip button in Swarm |