Friday, 08 April 2011 14:58

How to add a "Show-Hide" script anywhere in K2 & Joomla 1.5

Written by 

Attached are a few files needed to create a "show-hide" action in Joomla's popular CCK extension, K2.


  1. Install "MooAccordion" plugin via standard Joomla Extension Installer
  2. Enable the Plugin via Extensions -> Plugin Manager
  3. Add the needed code to your template's index.php file (see code snippets file)
  4. Add the needed code to your template's CSS file (see code snippets file)
  5. Copy the needed images into your templates /images/ folder
  6. Now, you're ready to use the needed "Show-Hide" script to create the collapsing containers (see code snippets file)
Read 118792 times
Add comment