LoremIpsum Macro

Jason Delaplain asked on June 1, 2016 17:45

I'm trying to locate the LoremIpsum macro syntax, and the reference doc doesn't mention what class it's part of, so I can use it? I apologize, but can't find info on it...

Is there a way to search a macro by term and find it in the macro tree? I'm not seeing a way to at the moment.

Correct Answer

Laura Frese answered on June 1, 2016 18:04

https://docs.kentico.com/display/K9/Reference+-+Macro+methods

{% LoremIpsum(500) %}

Generates lorem Ipsum text. You can specify the number of generated characters (1000 by default).

2 votesVote for this answer Unmark Correct answer

Recent Answers


Bryan Soltis answered on June 1, 2016 18:10

Additionally, I recently published a blog about creating a Lorem Ipsum generating, just in case you feel like doing a little programming:

http://devnet.kentico.com/articles/creating-a-lorem-ipsum-generator-macro-in-kentico

0 votesVote for this answer Mark as a Correct answer

Jason Delaplain answered on June 1, 2016 18:19

Thanks Laura! I was missing the parameter "500" that I guess it required. Thanks Bryan, I think the macro works for me at the moment, as I'm in an early prototyping stage (PS - are you the one that partnered in that Kentico Rocks podcast? I just finished the 16 episodes).

0 votesVote for this answer Mark as a Correct answer

Bryan Soltis answered on June 1, 2016 19:05

Awesome! Glad you got it figured out. Yes, Brian McKeiver and I have recorded a number of podcasts. We are woefully overdue for another one though...

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.