PHP Text Format

Developer

w3care

3rd Party (Commercial)

Creative Commons Attribution

EE Version Support

  • ExpressionEngine 2
  • ExpressionEngine 3

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

The PHP Text Format Plugin takes whatever text is between the appropriate tags and formats it according to the formating type you chose. This is obviously an unnecessary plugin most of the time since HTML and CSS can be used for this same thing. However, it is useful for formating text in places that HTML or CSS will not work. On a side note the PHP "ucwords" command seems to work much more reliably than the CSS for making the first letter of each word capital. For example CSS would take "jamie's" and create this "Jamie'S." Not exactly what you would want.

This Plugin allows you to use simple PHP formatting options with the static or dynamic text. The text within the tags will be displayed as per the specified format.
The format of any entryâ��s â��titleâ�� or any other custom fields can easily be specified at a page from this plugin.  This plugin usage PHP functions for updating the format of the text not the CSS classes.
On a side note - the PHP “ucwords” command seems to work more reliably than the CSS for making the first letter of each word capital.  For example CSS would take “jamie’s” and create this “Jamie’S.”  Not exactly what you would want.  However, this plugin goes with the expectations.
Sample usage:
{exp:php_text_format type=“uppercase”}
this text will be all uppercase
{/exp:p
hp_text_format}

Would create all uppercase text like this:
THIS TEXT WILL BE ALL UPPERCASE
The required �type� parameter can have one of the following options -
“uppercase” - Makes all alphabetic text uppercase.
“lowercase” - Makes all alphabetic text lowercase.
“ucfirst”  - Makes the first letter in the enclosed text uppercase.
“ucwords”  - Makes the first letter of each word in the enclosed text uppercase.
This plugin has been upgraded for EE 3.0 version now.

This entry was created November 29, 2010, 12:46 pm.
This entry was last updated June 17, 2016, 9:36 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.

There are no reviews for this add-on yet.

What are you waiting for? Rate it and review it!