I want to show k2 category list in back-end and front-end item editting like this:
select main category : category1 - category2 and... and if user select category1 then appear another dropdown that shows subcategories of category1
I found the files :
I believe this is the code that is producing the category drop down: .../components/com_k2/views/item/tmpl/form.php
<tr>
<td align="right" class="key"><?php echo JText::_('Category'); ?></td>
<td><?php echo $this->lists; ?></td>
</tr>
select main category : category1 - category2 and... and if user select category1 then appear another dropdown that shows subcategories of category1
I found the files :
I believe this is the code that is producing the category drop down: .../components/com_k2/views/item/tmpl/form.php
<tr>
<td align="right" class="key"><?php echo JText::_('Category'); ?></td>
<td><?php echo $this->lists; ?></td>
</tr>