Keyword

frontend select category with checkboxes

More
12 years 3 months ago - 12 years 3 months ago #67473 by geroy
Hi all,
I need to select a category or subcategory when posting an item from public frontend. The problem is that i have more than 30 category and is very difficult to select category from dropdown. I found that this dropdown is made by "lists" option in itemform.php. The main question is how to change dropdown menu to multiple checkboxes.
Thanks in advance

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago #67474 by Lefteris
Replied by Lefteris on topic Re: frontend select category with checkboxes
Hi. You can override the itemform.php in your template. You can also create menu links to item edit form and have mulitple overrides.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago #67475 by geroy
Hi,
I found this code:
<tr>
<td class="adminK2LeftCol">
<label><?php echo JText::_('K2_CATEGORY'); ?></label>
</td>
<td class="adminK2RightCol">
<?php echo $this->lists; ?>
</td>
</tr>
I thing that "lists" make dropdown menu marked on the attachment. So, i want to make this dropdown to multiple checkboxes.
Sorry for missunderstanding "You can also create menu links to item edit form and have mulitple overrides. ". How to do that.
Thank you for you advice.

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago #67476 by Lefteris
Replied by Lefteris on topic Re: frontend select category with checkboxes
Hi. By making a menu link to K2 item edit form you can select a K2 template in menu link options. Then in the K2 template you selected you can place your own code. However you will need to write code to achive what you want.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum