Articles tagged with text
TranslationHelper
This uses the HTTP_ACCEPT_LANGUAGE to determine the current users most accepted language. It takes the the first one of all accepted, then looks up the available translations and delivers. If all fails, or no good translation was found, it returns the default string.
[Read more] Showing a text excerpt around multiple keywords
On a typical search results page, you want to display an excerpt of each matching item, showing the keywords. TextHelper::excerpt() works, but only for a single word/phrase. This helper finds the chunk of text containing as many keywords as possible.
[Read more] SMS Text Component
Simple component for sending SMS text messages to mobile devices using the Clickatell API (They provide free test accounts).
[Read more]
Latest Comments