Life Stories:
- "My Ever Present Friend" Even through my life has had it's share of strugg...
- "A Life Long Friend" Through divorce, and the deaths of his father and gr...
- "It's all about Jesus" One thing that describes my life with Christ is an...
- "A Second Chance" Raised in church and making a profession of faith at age...
- "He Fixed My Broken Heart " Living a lie ultimately cost me a marriage and...
- "He Cares For Even Me!" My childhood was filled with upheavals and uncerta...
- "God Gave My Life Back" With my family ripped apart, I became involved in ...
- "An Inner Victory" If there is one characteristic more than any other that...
- "Saved Cousin Used By God" It doesn't matter how many people around yo...
- "I Lost Everything" Ruth went from having it all; to losing everything...
- "A Home Invasion Leaves Several Dead" I was born to a simple country home ...
- "What Would He Do?" A Mysterious visitor approaches Daniel at work, leavin...
Features
Color Chooser
Color Chooser
RokCandy Component
For example, [example title={title}]{text}[/example] can be set to output the following:-
<div class="example"> <h3>Title</h3> <p>Some content</p> </div>
How do I configure RokCandy, the Syntax?
RokCandy is outfitted with prebuilt statements, however, with the overriding ability of Joomla 1.5, you can create new ones and override them in the template files, and not have to concern yourself with editing core files. The file is called default.ini and is located in the /templates/rt_refraction_j15/html/com_rokcandy directory. Similarly, you can also add and control your own in the Administrator (Admin > Components > RokCandy). They will appear in the following format:-
[tag]{text}[/tag]=<tag>{text}</tag>
Such as
[alert]{text}[/alert]=<span class="alert">{text}</span>
As is apparent, each line is separated into distinctive sections. There are two parts, the RokCandy syntax (left of =) and the outputted HTML (right of =). You would create your own tag name and insert them between square brackets, [], followed by {text} and the closing tag with [] brackets again. This segment is followed by the = symbol and following on from that is the HTML output. Note, the {text} is required in both parts to denote what element is to be carried forward. You can use any value between the {} brackets, such as {title} or {link} as long as they are cross referenced in the HTML output as shown in the example below:-
[box title={title} link={link}]{text}[/box]=<div class="box"><h3><a href="{link}">{title}</a></h3><p>{text}</p></div>
Note, the best way to understand the syntax rules is to look at the default.ini file and see what syntax we use.
RokCandy Examples