Skip to content
This repository has been archived by the owner on Oct 18, 2022. It is now read-only.

mmikkel/Stringy-Craft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stringy v. 1.0.0 for Craft CMS Craft 2.5

Craft/Twig wrapper for Stringy – a string manipulation library with multibyte support, by danielstjules

Installation

  • Download and unzip
  • Move the /stringy folder to your /craft/plugins folder
  • Install from the Control Panel (/admin/settings/plugins)

Usage

{{ entry.title|stringy('shuffle') }}
{{ entry.body|stringy('safeTruncate', 50, '...') }}
{{ tagline|stringy('lines')|first }}
{{ someVar|stringy('isJson') ? 'I can haz JSON!' }}

Please see the docs for Stringy for all available methods and parameters.

Disclaimer, bugs, feature request, support etc.

This plugin is provided free of charge and you can do whatever you want with it. Stringy is unlikely to mess up your stuff, but just to be clear: the author is not responsible for data loss or any other problems resulting from the use of this plugin.

Please report any bugs, feature requests or other issues here. Note that this is a hobby project and no promises are made regarding response time, feature implementations or bug fixes.

Pull requests are extremely welcome

Changelog

1.0.0 (03.07.2016)

  • Initial public release

About

Craft wrapper for Stringy – a string manipulation library with multibyte support

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages