diablo |
|
---|---|
hi
i was working on a project and needed a structure dropdown for a custom search plugin.. Then i noticed a problem about the function cot_selectbox_structure its 4th variable is subcat and it doesnt seem to have any effect on the function. it says it will only show the subcategory in list but it does nothing.. i tried it on page_add.tpl aswell and its still the same
{PAGEADD_FORM_CAT_SHORT} and {PAGEADD_FORM_CAT} returns the same thing.
can anyone confirm this so we can put it on github ? Added 5 minutes later: ok i found the problem :D forms.php line 392 if ($display && !empty($subcat) && isset($structure[$extension][$subcat]) || !(empty($check)))
"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live."
|
|
Dieser Beitrag wurde von diablo (am 6. Februar 2013, 23:12, vor 12 Jahre) bearbeitet |
Trustmaster |
|
---|---|
A fix is highly appreciated :) May the Source be with you!
|