How to setup? Print E-mail
(2 votes)

Pre-Requirements


Joomla! 2.5
  1. Install and enable Core Design Scriptegrator plugin.

 

Setup

  1. Install the plugin.
  2. Don't forget to publish the plugin.


Usage

Notation is easy and similar to each well known forum. Open article to editation and write the following mark:

[spoiler]Some spoiler information![/spoiler]


Inline overrides

You can use the following inline overrides to change plugin behaviour.

  • action
    Values: click | hover
    Default action for showing the spoiler.
  • element
    Values: link | button
    HTML element to present as [spoiler] tag.
  • title
    Values: string
    Custom title to displaying instead of default "Spoiler"

Examples

[spoiler title="Huddy - Exclusive interview"]
What are we in for this season?

They’re really exploring this relationship between House and Cuddy.
What’s great about what [creator David Shore] has done is he’s really incorporated all the things one would
worry about in terms of two main characters getting together on a show, into what it means for two people who
work together in this hospital to get together. So he gets to confront it head on all of those issues.
[/spoiler]


[spoiler action="hover" element="button"]
Some spoiler info!
[/spoiler]