Pagina 1 van 1

Bijschrift in fotoboek

Geplaatst: 28 mar 2005, 21:24
door arthurkr
Ik wil in smartor's fotoboek de onderschriften bij de thumbnails weghalen, dwz er staan er mij te veel.
Alleen de titel en datum is genoeg, kan ik in "album_cat.php" ongestraft de regels weghalen die niet nodig zijn of moet er ergens anders ook nog iets weg (zie Code)

Of zit ik hier helemaal fout, wie wijst me in dat geval even de weg.
vast bedankt, Arthur

Code: Selecteer alles

if( isset($HTTP_GET_VARS['sort_method']) )
{
	switch ($HTTP_GET_VARS['sort_method'])
	{
		case 'pic_time':
			$sort_method = 'pic_time';
			break;
		case 'pic_title':
			$sort_method = 'pic_title';
			break;
		case 'username':
			$sort_method = 'username';
			break;
		case 'pic_view_count':
			$sort_method = 'pic_view_count';
			break;
		case 'rating':
			$sort_method = 'rating';
			break;
		case 'comments':
			$sort_method = 'comments';
			break;
		case 'new_comment':
			$sort_method = 'new_comment';
			break;
		default:
			$sort_method = $album_config['sort_method'];
	}
}
else if( isset($HTTP_POST_VARS['sort_method']) )
{
	switch ($HTTP_POST_VARS['sort_method'])
	{
		case 'pic_time':
			$sort_method = 'pic_time';
			break;
		case 'pic_title':
			$sort_method = 'pic_title';
			break;
		case 'username':
			$sort_method = 'username';
			break;
		case 'pic_view_count':
			$sort_method = 'pic_view_count';
			break;
		case 'rating':
			$sort_method = 'rating';
			break;
		case 'comments':
			$sort_method = 'comments';
			break;
		case 'new_comment':
			$sort_method = 'new_comment';
			break;
		default:
			$sort_method = $album_config['sort_method'];
	}

Geplaatst: 28 mar 2005, 21:26
door Luuk
Dit is alleen om de plaatjes te sorteren. Ik denk dat je in het .tpl bestand moet kijken :wink:

yes

Geplaatst: 28 mar 2005, 21:58
door arthurkr
zo te zien wel, bedankt voor de hint