• Snippets
    code enhancements
    and hacks
  • Extensions
    Joomla!
    plugins and modules
  • Code
    Snipper
    Free code enchancements
    for your html and Joomla! sites
  • Templates
    Joomla! templates
    grid&responsive
  • Layouts
    Web templates
    HTML & CSS
You are here:
  1. Home
  2. Snippets
  3. Multiple checkboxes
26 Apr 2012

Multiple checkboxes

Written by  Marek
  • font size decrease font size decrease font size increase font size increase font size
  • Print
  • Email
  • DISQUS_COMMENTS

Joomla! does not provide ability to create multiple select checkoxes in forms, there are only radio buttons. Inspired by Jordan Ivanov on official Joomla! forum I've made an hack of K2 and Joomla! core files.

Changes are in:

/libraries/joomla/html/html/select.php after line 125
/administrator/components/com_k2/models/extrafield.php  in lines: 60, 298, 224
/administrator/components/com_k2/views/extrafield/view.html.php in line 47
/administrator/components/com_k2/views/extrafields/view.html.php in line 72
/media/k2/assets/js/k2.js in line 523
/components/com_k2/models/item.php in line 1035
/administrator/language/en-GB/en-BG.com_k2.ini in line 445

Unzip all files into root of your Joomla! and have fun ;)

Read 8351 times Last modified on Wednesday, 20 June 2012 10:18
Rate this item
  • 1
  • 2
  • 3
  • 4
  • 5
(6 votes)
Tweet
Download attachments:
  • Download modified files (3944 Downloads)
Published in Snippets
Tagged under
  • checkbox
  • joomla
  • hack
  • snippet

All files are free but if you like my work you can donate. Thanks!

Amount: 
Marek

Marek

My name is Marek Wojtaszek.
I'm Joomla! and webdesign fan. You can call me internet geek also.

I've started my web adventure in 2000 with my first static website. After that was postnuke and some smaller CMS systems. Now, from few years I'm working on Joomla! CMS.

I'm not a "pro", I'm doing it for fun ;)

Email This email address is being protected from spambots. You need JavaScript enabled to view it.

Latest from Marek

  • Multi-lingual FB Likebox
  • Joomla template - Code Snipper
  • Joomla + correct.li = perfect typing
  • K2 meets DISQUS
More in this category: Multi-lingual FB Likebox »

Related items

  • Multi-lingual FB Likebox
    in Snippets
    By Marek
  • Joomla template - Code Snipper
    in Template
    By Marek
  • Joomla + correct.li = perfect typing
    in Extensions
    By Marek
  • K2 meets DISQUS
    in Extensions
    By Marek
back to top

About me...

  • Marek

    My name is Marek Wojtaszek.
    I'm Joomla! and webdesign fan. You can call me internet geek also.

    I've started my web adventure in 2000 with my first static website. After that was postnuke and some smaller CMS systems. Now, from few years I'm working on Joomla! CMS.

    I'm not a "pro", I'm doing it for fun ;)

    This email address is being protected from spambots. You need JavaScript enabled to view it.

About this site...

On this site you'll find small freebies for website coding. Those files are effect of my work from last few years. Site is starting, so there is only few files, but will be more with every week. All files on this site are under GNU GPL license, so feel free to modify and redistribute them.

All rights reserved &copy CodeSnipper.pl 2012