Zeal Stringer

Developer

ZealousWeb

3rd Party (Free)

12 downloads (last 90 days)

Download v1.0.1

EE Version Support

  • ExpressionEngine 2
  • ExpressionEngine 3
  • ExpressionEngine 4

Compatibility

If an item is crossed out, it might be untested, not applicable or incompatible. Contact the developer to be sure.

Requirements

  • jQuery for the Control Panel

Add-On Type(s)

Plugin

Tags

Stringer is useful for manipulating text/strings in different ways and allows you to access and modify strings using PHP while not enabling PHP in templates.

1) Striptags - Remove all HTML tag from your content

There are several parameters you can use to control how the content is truncated.

These options are:

chars_start = “”    // Start char to limit number of character
chars           = “”    // Limit by number of characters
words         = “”      // Limit by number of words
cutoff         = “”    // Limit by a specific cutoff string
append       = “”    // String to append to the end of the excerpt
allow_tags   = “”    // HTML tags you want to allow

{exp:stringer:striptags allow_tags="<p>|<em>|<strong>"}
    {your_content}
{/exp:stringer:striptags}
{exp:stringer:striptags allow_tags="<a>|<blockquote>|<p>" append="..." words="50"}
    {your_content}
{/exp:stringer:striptags}
{exp:stringer:striptags allow_tags="<a>" cutoff="<!-- More -->"  append="..."}
    {your_content}
{/exp:stringer:striptags}
{exp:stringer:striptags allow_tags="<p>" chars_start="10" chars="50" append="..."}
    {your_content}
{/exp:stringer:striptags}

2) Tags - Allow All HTML tag but Remove particular HTML tags from your content.

There is one parameters for remove particular tags.

remove_tags   = “”  // HTML tag you want to remove

{exp:stringer:tags remove_tags="<a>|<blockquote>|<p>"}
    {your_content}
{/exp:stringer:tags}

3) Stringer provides the following useful text manipulations as well

{exp:stringer:uppercase}this string is uppercase.{/exp:stringer:uppercase}

{exp:stringer:lowercase}THIS STRING IS LOWERCASE{/exp:stringer:lowercase}

{exp:stringer:uppercasefirst}this string first character upppercase{/exp:stringer:uppercasefirst}

{exp:stringer:charlength}number of characters in a string.{/exp:stringer:charlength}

{exp:stringer:wordlength}string total words length{/exp:stringer:wordlength}

{exp:stringer:find_replace find="text|and" replace="string|or"}Multiple text find and replace{/exp:stringer:find_replace}

{exp:stringer:find_replace find="|" replace="/"}slash|replace|{/exp:stringer:find_replace}

{exp:stringer:numberformat decimals="2" dec_point="." thousands_sep=","}1234567890{/exp:stringer:numberformat}

{exp:stringer:trim side="left"} string trimming! {/exp:stringer:trim} 
- side[left,right,both]

{exp:stringer:slug separator="-" case="lower"}Generate Slug{/exp:stringer:slug}
- case [=lower, upper, nochange]

{exp:stringer:wordwrap width="5" break="<br>" cut="true"}This is wordwarp string{/exp:stringer:wordwrap}

{exp:stringer:hash algo="md5"}password{/exp:stringer:hash}
- algo [="md2", "md4", "md5", "sha1", "sha224", "sha256", "sha384",
"sha512", "ripemd128", "ripemd160", "ripemd256", "ripemd320", "whirlpool",
"tiger128,3", "tiger160,3", "tiger192,3", "tiger128,4", "tiger160,4", "tiger192,4",
"snefru", "snefru256", "gost", "gost-crypto", "adler32", "crc32", "crc32b",
"fnv132", "fnv1a32", "fnv164", "fnv1a64", "joaat", "haval128,3", "haval160,3",
"haval192,3", "haval224,3", "haval256,3", "haval128,4", "haval160,4", "haval192,4", "
haval224,4", "haval256,4", "haval128,5", "haval160,5", "haval192,5", "haval224,5", "haval256,5"]

Download Zeal Stringer

EE Support Downloads Add-On Version Release Date
2.7.0+ Download 1.0.1 Apr 24, 2018

This entry was created April 24, 2018, 7:26 am.
This entry was last updated May 7, 2018, 4:14 am.

Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!

Returns: devot:ee has a 30-day return policy on all commercial add-ons sold through devot-ee.com. If you need to return an add-on, do not go to the developer or the developer's site, but rather visit our returns page at https://devot-ee.com/returns to initiate your return. If you have questions, email support@devot-ee.com.

1 Review:

stefanos 04.25.18

Rating - {addon_rating_average}

Very useful add-on for manipulate easily text and / or strings.

As always ZealousWeb provides great add-ons !