https://github.com/jbroadway/lorem
Lorem ipsum generator for the Elefant CMS.
https://github.com/jbroadway/lorem
Last synced: about 2 months ago
JSON representation
Lorem ipsum generator for the Elefant CMS.
- Host: GitHub
- URL: https://github.com/jbroadway/lorem
- Owner: jbroadway
- Created: 2013-08-29T18:37:30.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-08-29T18:39:16.000Z (over 11 years ago)
- Last Synced: 2025-01-13T12:26:32.103Z (3 months ago)
- Language: PHP
- Size: 109 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Lorem Ipsum generator
App to generate lorem ipsum text for testing and prototyping in the
[Elefant CMS](http://www.elefantcms.com/).## Installation
Unzip into your Elefant `apps` folder.
## Usage
In a view template:
{! lorem/h1 !}
{! lorem/p/2 !}Generates:
Lorem ipsum dolor sit amet
Lorem ipsum...
Integer sed...
From PHP:
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`