PHPackages                             weboftalent/portlets - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. weboftalent/portlets

ActiveSilverstripe-vendormodule[Templating &amp; Views](/categories/templating)

weboftalent/portlets
====================

Module to quickly render portlets of data from a simple template call

4.0.3(8y ago)12621[1 issues](https://github.com/gordonbanderson/weboftalent-portlets/issues)[1 PRs](https://github.com/gordonbanderson/weboftalent-portlets/pulls)2BSD-3-ClausePHPPHP ~5.6|~7.0

Since Jan 23Pushed 8y ago1 watchersCompare

[ Source](https://github.com/gordonbanderson/weboftalent-portlets)[ Packagist](https://packagist.org/packages/weboftalent/portlets)[ RSS](/packages/weboftalent-portlets/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (3)Versions (14)Used By (2)

Functionality
=============

[](#functionality)

[![Build Status](https://camo.githubusercontent.com/9de69e4949f368456eef736e418865668ca154a6140d21e68d8c3861bb9ba93e/68747470733a2f2f7472617669732d63692e6f72672f676f72646f6e62616e646572736f6e2f7765626f6674616c656e742d706f72746c6574732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/gordonbanderson/weboftalent-portlets)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/99c03afdc73d8daa33591a5318cfeb5f594fa50388596a79ca167e40e79cfc2f/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f676f72646f6e62616e646572736f6e2f7765626f6674616c656e742d706f72746c6574732f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/gordonbanderson/weboftalent-portlets/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/2a7713808cf5c607f12bdbb7529c2683630395b5fd5a06de1edaaefae762a76a/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f676f72646f6e62616e646572736f6e2f7765626f6674616c656e742d706f72746c6574732f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/gordonbanderson/weboftalent-portlets/?branch=master)[![Build Status](https://camo.githubusercontent.com/198eb1cbc2c9a235482b7041b751a884ee5ccf00b18b716305550990ec62bc88/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f676f72646f6e62616e646572736f6e2f7765626f6674616c656e742d706f72746c6574732f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/gordonbanderson/weboftalent-portlets/build-status/master)[![codecov.io](https://camo.githubusercontent.com/c8c0239ebfc757dbb758152312aaaf432d8db8d17da4d7ec94d9a6602b492c36/68747470733a2f2f636f6465636f762e696f2f6769746875622f676f72646f6e62616e646572736f6e2f7765626f6674616c656e742d706f72746c6574732f636f7665726167652e7376673f6272616e63683d6d6173746572)](https://codecov.io/github/gordonbanderson/weboftalent-portlets?branch=master)

[![Latest Stable Version](https://camo.githubusercontent.com/4fb81539030f85359d3951f4973d71eb2e7c78efa8ef44e54d81af97ef5d3f2f/68747470733a2f2f706f7365722e707567782e6f72672f7765626f6674616c656e742f706f72746c6574732f76657273696f6e)](https://packagist.org/packages/weboftalent/portlets)[![Latest Unstable Version](https://camo.githubusercontent.com/512a3e12af339074216d0a7c9478eaa7c20dcbe5edec4311547adcb9cce9a203/68747470733a2f2f706f7365722e707567782e6f72672f7765626f6674616c656e742f706f72746c6574732f762f756e737461626c65)](//packagist.org/packages/weboftalent/portlets)[![Total Downloads](https://camo.githubusercontent.com/5766dfc38043e30472a506268186133d2e0851c16466c5ce3eb1fa6505e1a8fe/68747470733a2f2f706f7365722e707567782e6f72672f7765626f6674616c656e742f706f72746c6574732f646f776e6c6f616473)](https://packagist.org/packages/weboftalent/portlets)[![License](https://camo.githubusercontent.com/f08ea589e2f4fbe2dd7d0acb4295b29f960a080b27528fd4279e0fa969f8e0d0/68747470733a2f2f706f7365722e707567782e6f72672f7765626f6674616c656e742f706f72746c6574732f6c6963656e7365)](https://packagist.org/packages/weboftalent/portlets)[![Monthly Downloads](https://camo.githubusercontent.com/27d9a665da92058e8ac7de5d2df77eb244ec74eb7b3c4db3d2dd3ef8f34c799d/68747470733a2f2f706f7365722e707567782e6f72672f7765626f6674616c656e742f706f72746c6574732f642f6d6f6e74686c79)](https://packagist.org/packages/weboftalent/portlets)[![Daily Downloads](https://camo.githubusercontent.com/f8a1dccf8ba76fce78ddad52ea467bd9374f1a12a38c349ec4fa1c43a7eb895d/68747470733a2f2f706f7365722e707567782e6f72672f7765626f6674616c656e742f706f72746c6574732f642f6461696c79)](https://packagist.org/packages/weboftalent/portlets)

[![Dependency Status](https://camo.githubusercontent.com/f447c2bf5cc813635404fe8c558d410fa83cc0204f20f1af89eb81458e6072d9/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f7068702f7765626f6674616c656e743a706f72746c6574732f62616467652e737667)](https://www.versioneye.com/php/weboftalent:portlets)[![Reference Status](https://camo.githubusercontent.com/a2dff6adeec7f90a5c4e08852c1b427bc6ce6586702204dac890dead62c17ed9/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f7068702f7765626f6674616c656e743a706f72746c6574732f7265666572656e63655f62616467652e7376673f7374796c653d666c6174)](https://www.versioneye.com/php/weboftalent:portlets/references)

[![codecov.io](https://camo.githubusercontent.com/294475b6bed5f972ee03e1eb587c43120446034489acb0fb9c00a75035fdb656/68747470733a2f2f636f6465636f762e696f2f6769746875622f676f72646f6e62616e646572736f6e2f7765626f6674616c656e742d706f72746c6574732f6272616e63682e7376673f6272616e63683d6d6173746572)](https://camo.githubusercontent.com/294475b6bed5f972ee03e1eb587c43120446034489acb0fb9c00a75035fdb656/68747470733a2f2f636f6465636f762e696f2f6769746875622f676f72646f6e62616e646572736f6e2f7765626f6674616c656e742d706f72746c6574732f6272616e63682e7376673f6272616e63683d6d6173746572)

- Adds a convenience template call that allows one to search for N of a certain type of DataObject and then render them with a given template.
- Forces interfaced access to information about the data object such as title and image.

Installation
============

[](#installation)

```
composer require "weboftalent/portlets:^4"

```

Usage
=====

[](#usage)

Interface for Models
--------------------

[](#interface-for-models)

For a model to be rendered as a portlet, it must provide the 3 following methods and implement the RenderableAsPortlet interface

```
public function getPortletTitle();
public function getPortletImage();
public function getPortletCaption();

```

Templates
---------

[](#templates)

The model being rendered must implement the RenderableAsPortlet interface mentioned previously. An example call to render portlets is as follows:

```
$RenderPortlet('Activity','','Title',2,'SmallTitleAndImage')

```

The parameters are as follows:

- The class name, in this case we are looking objects of class Activity
- Filter, i.e. the WHERE clause of the search. In this case no filter has been applied
- The sort field, in this case title.
- The number of items to return, in this case 2
- The name of the template used to render the portlets, here *SmallTitleAndImage*

In the template used to render the portlet, the records can be accessed using &lt;control Records&gt; - an example is below.

```

$PortletTitle

```

Silverstripe Version Compatibility
----------------------------------

[](#silverstripe-version-compatibility)

2.4 (tested with 2.4.5+) - stable24 branch 3.0 - stable30 branch

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~240 days

Recently: every ~205 days

Total

9

Last Release

2934d ago

Major Versions

1.0.0 → 3.1.02013-01-23

3.1.2 → 4.0.02018-04-28

### Community

Maintainers

![](https://www.gravatar.com/avatar/9af58f7ff675f65dbd2f20d39d8b80ed671eb0fe376eb978e497934c175196fe?d=identicon)[weboftalent](/maintainers/weboftalent)

---

Top Contributors

[![gordonbanderson](https://avatars.githubusercontent.com/u/7060?v=4)](https://github.com/gordonbanderson "gordonbanderson (53 commits)")

---

Tags

silverstripetemplatesweboftalentportlets

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/weboftalent-portlets/health.svg)

```
[![Health](https://phpackages.com/badges/weboftalent-portlets/health.svg)](https://phpackages.com/packages/weboftalent-portlets)
```

###  Alternatives

[silverstripe-themes/simple

The SilverStripe simple theme (default SilverStripe 3 theme)

411.3M8](/packages/silverstripe-themes-simple)[silverstripe/login-forms

A collection of templates for the CMS login screens

191.3M26](/packages/silverstripe-login-forms)[stevie-mayhew/silverstripe-svg

Basic SVG support for SilverStripe

23326.5k4](/packages/stevie-mayhew-silverstripe-svg)[symbiote/silverstripe-usertemplates

Provides user-definable templates within the CMS that can be applied to content trees. Allows specification of Layout and main templates, as well as associating css + js files

1414.5k1](/packages/symbiote-silverstripe-usertemplates)[symbiote/silverstripe-listingpage

A module that allows CMS users to create templated listing pages.

1012.7k2](/packages/symbiote-silverstripe-listingpage)[rywa/silverstripe-foundation-forms

Add ZURB Foundation framework forms compatibility to SilverStripe 3

126.4k](/packages/rywa-silverstripe-foundation-forms)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
