public function downloadLinkForPath($base = 'uploads', $path = '', $type = 'file')
	{
		// get base path
		$groupFolder = $this->getBasePath();

		// split segments by directory separator
		$segments = array_map('trim', explode(DS, $path));

		// prepend base segments to original segments
		if ($base != 'uploads')
		{
			$baseSegments = array_map('trim', explode(DS, $base));
			$segments = array_merge($baseSegments, $segments);
		}

		// build link
		$link  = \Route::url('index.php?option=com_groups&cn=' . $this->get('cn'));
		$link .= '/' . ucfirst($type) . ':' . implode('/', $segments);

		// return link
		return $link;
	}