A lorem ipsum generator for the Elefant CMS

Installs: 1

Dependents: 0

Suggesters: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

Type: elefant-app

1.0.0 2013-08-29 18:38 UTC


App to generate lorem ipsum text for testing and prototyping in the Elefant CMS.


Unzip into your Elefant apps folder.


In a view template:

{! lorem/h1 !}
{! lorem/p/2 !}


<h1>Lorem ipsum dolor sit amet</h1>
<p>Lorem ipsum...</p>
<p>Integer sed...</p>

From PHP:


echo Lorem::h1 ();
echo Lorem::p (2);


A number can be passed to each method or appended to each handler call to specify the number of words or paragraphs or list items to include.

Supported methods:

* `Lorem::p()` aka `lorem/p`
* `Lorem::ul()` aka `lorem/ul`
* `Lorem::ol()` aka `lorem/ol`
* `Lorem::h1()-h6()` aka `lorem/h1-h6`