• MODX.com

    1,272 downloads

strWordCount

strWordCount is an extra by valikras, first released on 2011-10-24.

Package Description

Filter strWordCount is intended for wrapping in a span tag words in the pagetitle

Usage/Installation Instructions

For example: pagetitle = Offering Comprehensive ProjectsA simple by default call filterĀ [[+pagetitle:strWordCount]]At the output we get Offering Comprehensive Projects

The available options[[+pagetitle:strWordCount=`2,1`]] 2 - Serial number of words and 1 - The number of spaces after a span tag.At the output we get Offering Comprehensive Projects

[[+pagetitle:strWordCount=`1`]] If you omit the second parameter is equal to 0At the output we get OfferingComprehensive Projects

Details

Developer(s)
valikras
Released
2011-10-25
First seen
2011-10-24
License
GPLv2
Supported databases
MySQL
Minimum MODX Requirement
2.1

strWordCount Releases

Vendor Signature Released on
MODX.com 1.0-beta1 2011-10-25 (12 years ago)