MenuCoranto Docs
Coranto LinksPmWiki Home |
Addons /
SnipperOn this page... (hide) Note: The list of Snipper tag options was adapted from the Snipper documentation and the Snipper tag examples were copied from that documentation. OverviewAddon Author: Parahead Snipper is a tool used to truncate the data contained in a field before Coranto displays it. It does not alter the contents of the news database. Snipper works by extending Coranto with two new tags that can used in your Coranto styles. Using these tags in your style will cause the field specified in the tag to be truncated according to the Snipper settings. Installing and enabling Snipper will cause a settings page to be accessible in the Coranto interface. You can change the default settings for Snipper by navigating to: Main Page=>Administration=>Snipper in your Coranto installation. Snipping a field is useful for creating a teaser or excerpt of an item. Author's DescriptionThis addon allows you to snip a field in a more advanced way than the basic snip method provided with Coranto. With this addon you have two ways of snipping a field, either by counting characters and snip after the desired number of characters has been reached. Or snip a field based on the amount of words, so that after the desired number of words and when your other desired criteria (like respecting HTML) are fulfilled, the text is snipped. Description by Parahead - from his website Snip by CharactersSnipping by characters has the following options:
Snip by Words
Snipper Style TagsAll of the options listed above can be set on the Snipper addons settings page and will be used if you use a simple snipper tag: <CharSnip: Field: Text> Snipper allows to to change these settings by specifying them in the tag: <CharSnip Field: Text Length: 20 StripHTML: yes ExactLength: yes Dots: no> By specifying parameters in the tag you can use different settings when you need to without changing the defaults. Further ReadingYou can leave comments using this form. |