View Full Version : Category question
10-24-2005, 11:59 AM
as far as I understand I allways have a 'default'-Category which I may rename... So far so good.
But there is also a category called 'all'. How can I delete this category?
I made some new categories and later deleted all for testing reasons. But there is allways the 'all'-category and it doesn't show up in the admin - category panel?
It is hardcoded in PP code.
10-24-2005, 12:23 PM
...this means I can not remove it?!? Or..yes I can if I change the code?
Yes, You can if you make code change on own hand.
10-24-2005, 12:44 PM
this just offers the choice to list all thumbnails again, to call again the browse-page with "all" thumbs
10-24-2005, 01:16 PM
...therefore there is the 'default'-category!?
10-24-2005, 02:21 PM
no. default category is not necessarily for all images - it's more just a temporary category. i changed mine to 'portraits' and only assigned it to portraits. default is not a replacement for 'all'.
if you want to remove the all selection from the category select box on a browse page go to index.php and change the lines:
$browse_select = "<select name='browse' onchange='self.location.href=this.options[this.selectedIndex].value;'><option value=''>$lang_browse_select_category</option><option value='index.php?x=browse&category='>$lang_browse_all</option>";
$browse_select = "<select name='browse' onchange='self.location.href=this.options[this.selectedIndex].value;'><option value=''>$lang_browse_select_category</option>";
10-24-2005, 03:23 PM
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.