a random text snippet generator
Adds a model admin area to administer random text objects(a title and text snippet) to any where you want.
Requires:
- silverstripe 3.*
Install:
-
Copy the silverstripe-random-text folder into the same level as CMS
-
rename it to random-text
-
make sure you have the sortable grid field module installed
-
add this code where ever you want the random text snippet to show up:
<% loop Randomtext %>
$description.LimitCharacters(200)
<% end_loop %>or use the include
<% include RandomText %>
-
Make sure you dev/build
-
make sure you ran ?flush=all