example
photos page albums block view all doesn't work it takes you to
m/photos/albums/browse
it should be
m/photos/albums/browse/all
/inc/classes/BxDolFilesPageHome.php
function getBlockCode_Albums ()
{
$this->oSearch->clearFilters(array('activeStatus', 'allow_view', 'album_status', 'albumType', 'ownerStatus'), array('albumsObjects', 'albums'));
$aAlbumParams = array(
'allow_view' => $this->aVisible,
'obj_count' => array('min' => (int)$this->oConfig->getGlParam('number_albums_public_objects') - 1)
);
$aCustom = array(
'paginate_url' => BX_DOL_URL_ROOT . $this->oConfig->getBaseUri() . 'home',
'simple_paginate_url' => BX_DOL_URL_ROOT . $this->oConfig->getBaseUri() . 'albums/browse/all',
);
$aCode = $this->oSearch->getAlbumsBlock(array(), $aAlbumParams, $aCustom);
if ($this->oSearch->aCurrent['paginate']['totalAlbumNum'] > 0)
return $aCode;
else
return MsgBox(_t('_Empty'));
}