Using extensions

Using extensions

vldPersonals is designed so that features can be added through the use of extensions.

Basic Usage

Within your templates you'll typically include an extension like this.

{randomize:min=1,max=4}

In the above example, a random number from between 1 and 4 will be generated and displayed.

Examples

Here are some more examples.

{new_members:}

With the above, a list of new members will be displayed. Since no parameters are passed, we put the closing bracket right after the column and extension will use its default parameters.

{new_members:limit=4,pictures=1}

In this we're passing 2 parameters to our extension telling it to display only 4 members with pictures.