Page 1 of 1

Generating Lorum Text

Posted: Wed May 08, 2013 10:30 am
by erpee
I Use Lorum text to fill websites in production.

I've created a UDT, so it works easier...

1) Make u UDT named "lorum"
2) enter this code

Code: Select all

$par = isset($params['par']) ? $params['par'] : '1';
for ($i=1; $i<=$par; $i++)
  {
  echo "<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p><br />";
  }
3) Call the UDT by {lorum par="x"} where x is the numer of paragraphs you want.

Re: Generating Lorum Text

Posted: Wed May 08, 2013 6:09 pm
by Dr.CSS
I put Lorem in site admin > default page content box, that way I can fill a site with pages so I can work on the menu style etc. w/o having to make content for each page...

Re: Generating Lorum Text

Posted: Mon May 20, 2013 1:46 pm
by psy
There is a 'lorem ipsum' plugin in the forge that I use. It's old but was working fine for me today on cmsms v1.11.6

http://dev.cmsmadesimple.org/projects/lipsum