Aw: Categorize File Uploads ?
so far, i´ve put:
Copy to clipboard
$cat_type ='file'; $cat_objid = 0; $cat_desc = 'my_description'; $cat_name = 'Files'; $cat_href= 'tiki-download_file.php?fileId='.$cat_objid; include_once("categorize.php");
into tiki-upload_file.php.
and
Copy to clipboard
{include file=categorize.tpl}
into tiki-upload_file.tpl.
This gives me the "categorizer" in the file upload screen - but with no categories listed.
If I incl. "categorize_list.php" the list of categories shows in the file upload screen, but the uploaded file doesnt get categorized.
On #tikiwiki i was told a "$categlib->add_categorized_object(..... )" is whats missing.
But where to call this ? And how ? No clue....