- Posts: 2
COMMUNITY FORUM
frontend select category with checkboxes
- geroy
- Topic Author
- Offline
- New Member
Less
More
12 years 3 months ago - 12 years 3 months ago #67473
by geroy
frontend select category with checkboxes was created 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
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.
- Lefteris
- Offline
- Moderator
Less
More
- Posts: 8743
12 years 3 months ago #67474
by Lefteris
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
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.
- geroy
- Topic Author
- Offline
- New Member
Less
More
- Posts: 2
12 years 3 months ago #67475
by geroy
Replied by geroy on topic Re: frontend select category with checkboxes
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.
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.
- Lefteris
- Offline
- Moderator
Less
More
- Posts: 8743
12 years 3 months ago #67476
by Lefteris
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
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.