• Sign In
    • Forgot your password?
    • Forgot your username?

K2 | The powerful content extension for Joomla! developed by JoomlaWorks

  • home
  • about
  • blog
  • documentation
  • extend K2
  • showcase
  • community
  • demo
K2 brings the good parts from WordPress & Drupal into Joomla
Code Snipper

Code Snipper

https://www.facebook.com/wiejskiorganista

Social Profiles

Twitter

DISQUS for K2

26 June 2012
in Extensions
It is very simple plugin. Comments and comment form is triggered in K2 comments place. There is also comments counter on category page under each item and counter with link to comments in item's toolbar. More

Tags:

  • disqus,
  • comment,
  • comments,
  • plugin

Hack: Checkboxlist as a new ExtraField type

21 March 2012
in For Developers
How to make checkboxlist - inspired by Jordan Ivanov:

It's a hack because need to modify K2 and Joomla! core files. All files are attached to this post, all changes are commented in files.

  1. In  /libraries/joomla/html/html/select.php after line 125
  2. In  /administrator/components/com_k2/models/extrafield.php  in lines: 60, 298, 224
  3. In  /administrator/components/com_k2/views/extrafield/view.html.php in line 47
  4. In  /administrator/components/com_k2/views/extrafields/view.html.php in line 72
  5. In  /media/k2/assets/js/k2.js in line 523
  6. In  /components/com_k2/models/item.php in line 1035
  7. In  /administratorllanguage/en-GB/en-BG.com_k2.ini in line 445
Unpack in some safe place and check all changes after that upload all files into your server.

(K2 team note: we highly discourage hacking K2 or Joomla! core - use at your own risk) More

Tags:

  • checkbox,
  • checkboxlist
  • Contact us
  • Privacy Policy
  • License
  • K2 Downloads
  • K2 Metrics
  • K2 on GitHub
back to top
Copyright © 2006 - 2025 JoomlaWorks Ltd. All rights reserved. K2 is a joint project by JoomlaWorks & Nuevvo, released under the GNU/GPL license.
Joomla is a registered trademark of Open Source Matters, Inc. K2 is not affiliated with or endorsed by Open Source Matters or the Joomla Project.
designed by Nuevvo