EE 1
EE 2
Custom Typography
Developer
3rd Party (Commercial)
Current Version: 1.0
Buy Now!
Compatibility
- Multi Site Manager
- Stand Alone Entry Form
- Low Variables
- Better Workflow
- Matrix
Requirements
- jQuery for the Control Panel
Categories
Plugin
Tags
This plugin invokes ExpressionEngine's typography (see http://expressionengine.com/user_guide/development/usage/typography.html) parsing on the content. Might be useful when you retrieve some data using Query module and need to display that data formatted.
PARAMETERS
1) text_format - Optional. Allows you to specify how field data should be
formatted. Possible values: “xhtml”, “br”, “none”, “lite”. Default value is “xhtml”.
2) allow_img_url - Optional. Allow inline images? Possible values: “yes” and “no”.
Default value is “no”.
3) auto_links - Optional. Auto-link URLs and email addresses? Possible values: “yes” and “no”.
(Note that auto-linking does not ever occur if parameter “html_format” is set to “none”.)
Default value is “yes”.
4) encode_email - Optional. Whether or not email addresses are encoded. Possible values: “yes” and “no”. Default is “yes”.
5) encode_type - Optional. Type of encoding applied to email addresses
if email address encoding is enabled. Possible values: “javascript” and “noscript”.
Default value is “javascript”. “noscript” renders in a human readable format (e.g. “name at example dot com)”,
suitable for use where JavaScript is inappropriate, such as in a feed.
6) html_format - Optional. Controls how HTML is handled in text. Possible values: “safe”, “all”, “none”.
Default value is “safe”.
7) parse_smileys - Optional. Replace text smileys with smiley images? Possible values: “yes” and “no”. Default is “yes”.
USAGE EXAMPLE SIMPLE
{exp:custom_typography}
text you want processed
{/exp:custom_typography}
USAGE EXAMPLE COMPLEX
{exp:query sql="SELECT certain_field FROM certain_table WHERE some_field = 'some_value' " parse="inward"}
{exp:custom_typography text_format="br"}
{certain_field}
{/exp:custom_typography}
{/exp:query}
This entry was created October 17, 2011, 10:05 am.
This entry was last updated October 17, 2011, 8:35 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!
There are no reviews for this add-on yet.
What are you waiting for? Rate it and review it!