surfjedi/random-text

There is no license information available for the latest version (dev-master) of this package.

Simple random text snippet module. Who doesn't need one

Installs: 8

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 1

Open Issues: 3

Type:silverstripe-module

dev-master 2013-10-10 03:04 UTC

This package is not auto-updated.

Last update: 2024-03-25 12:39:49 UTC


README

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:

  1. silverstripe 3.*

Install:

  1. Copy the silverstripe-random-text folder into the same level as CMS

  2. rename it to random-text

  3. make sure you have the sortable grid field module installed

  4. add this code where ever you want the random text snippet to show up:

    <% loop Randomtext %>

    $Title

    $description.LimitCharacters(200)

    <% end_loop %>

    or use the include

    <% include RandomText %>

  5. Make sure you dev/build

  6. make sure you ran ?flush=all