cotonti.com : possible bug ??? https://www.cotonti.com Останні повідомлення в темі Cotonti en Sat, 14 Mar 2026 03:55:02 -0000 Trustmaster A fix is highly appreciated :)

]]>
Thu, 07 Лют 2013 08:14:05 -0000
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)))

 

]]>
Ср, 06 Лют 2013 22:40:33 -0000