Documentation · ViewHelper reference

XSD schema file | vhs master

Format / Placeholder / LipsumViewHelper

Lipsum ViewHelper

Renders Lorem Ipsum text according to provided arguments. /

  • Tag usage example

    <v:format.placeholder.lipsum lipsum="NULL" paragraphs="123" wordsPerParagraph="123" skew="123" html="1" parseFuncTSPath="NULL">
    	<!-- tag content - may be ignored! -->
    </v:format.placeholder.lipsum>
  • Inline usage example

    {v:format.placeholder.lipsum(lipsum: 'NULL', paragraphs: 123, wordsPerParagraph: 123, skew: 123, html: 1, parseFuncTSPath: 'NULL')}

Arguments

Argument Description Type
html

If TRUE, renders output as HTML paragraph tags in the same way an RTE would

boolean
lipsum

Optional, custom lipsum source

string
paragraphs

Number of paragraphs to output

integer
parseFuncTSPath

If you want another parseFunc for HTML processing, enter the TS path here

string
skew

Amount in number of words to vary the number of words per paragraph

integer
wordsPerParagraph

Number of words per paragraph

integer
Required attribute

Revision history

commit 649c6bdd09e86d39f21a26e48a677b02af210c77
Author: Claus Due <*****@wildside.dk>
Date:   Sun Nov 4 20:33:26 2012 +0100

    [FEATURE] Formatting Lipsum, Plaintext, Tidy and Trim ViewHelpers

commit 3ecd9141cd89eefc9c66144c0645c6ad34bc0365
Author: Claus Due <*****@wildside.dk>
Date:   Mon Nov 5 01:12:07 2012 +0100

    [DOC] Corrected doc comment, Lipsum ViewHelper

commit da4aaee5f20ce8bd6b093672c483a930596f673d
Author: Beda Steinacher <*****@bluewin.ch>
Date:   Wed Jan 16 12:58:34 2013 +0100

    [BUGFIX] Fix LipsumViewHelper

commit db3cd7ddbffc430b6a108159cfc70dbe141e5410
Author: Claus Due <*****@namelesscoder.net>
Date:   Fri Sep 13 03:08:34 2013 +0200

    [TASK] Improve test suite

commit da31bad1d9bb058c072ddb5591e8ed907a1ae8e1
Author: Claus Due <*****@namelesscoder.net>
Date:   Tue Dec 31 23:08:37 2013 +0100

    [TASK] Happy new year!

commit e3a8c6869cfebb58dc92aaa9a0f72dd0ab147806
Author: Claus Due <*****@namelesscoder.net>
Date:   Sun Feb 2 02:47:57 2014 +0100

    [BUGFIX] Do not pass empty parseFuncTSPath - if empty use core's default

commit d2e531da034976e6db1478eef5a8478595fd16fe
Author: Claus Due <*****@namelesscoder.net>
Date:   Sun Jan 5 00:45:10 2014 +0100

    [TASK] Migrate to using namespace core class names

commit 52bd6e41ccfef3d8193b350153912a9716e6a087
Author: Benjamin Rau <*****@codearts.at>
Date:   Tue Apr 1 21:09:00 2014 +0200

    [TASK] CGL compliance

commit da7677bc74f14e9a9300e4ba4487e52c3cb97642
Author: Claus Due <*****@namelesscoder.net>
Date:   Sun Apr 20 01:13:33 2014 +0200

    [TASK] Switch to namespaces

commit 8bb2fc5ee124ba19b0a0ab8e061c9a153fc4651f
Author: Xaver Maierhofer <*****@xwissen.info>
Date:   Sun Jan 18 17:56:13 2015 +0100

    [TASK] Reference Copyright to license.md file