2017 © Pedro PelĆ”ez
 

contao-module contao-hyphenator

Word-Hyphenation for Contao Front end pages.

image

heimrichhannot/contao-hyphenator

Word-Hyphenation for Contao Front end pages.

  • Tuesday, June 12, 2018
  • by digitales@heimrich-hannot.de
  • Repository
  • 5 Watchers
  • 1 Stars
  • 261 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 10 Versions
  • 6 % Grown

The README.md

Contao Hyphenator

A contao module that grants server-side hyphenation (thanks to org_heigl/hyphenator). It does support headlines and paragraphs by default., (*1)

Options

To extend the functionality, all options can be adjusted within your localconfig., (*2)

Option Type Default Description
hyphenator_tags string h1,h2,h3,h4,h5,h6,p What type of tags the hyphenator should look at.
hyphenator_wordMin int 10 Words under the given length will not be hyphenated altogether. It makes sense to set option to a higher value than the sum of rightMin and leftMin.
hyphenator_leftMin int 5 How many characters have to be left unhyphenated to the left of the word.
hyphenator_rightMin int 5 How many characters have to be left unhyphenated to the right of the word.
hyphenator_quality int 9 How good shal the hyphenation be. The higher the number the better. THis can be any integer from 0 (no Hyphenation at all) through 9 (best hyphernation).
hyphenator_hyphen string Ā­ This character shall be used as Hyphen-Character.
hyphenator_filter string Simple A comma-separated list of filters to use for postprocessing the hyphenated text The filters have to extend the Org\Heigl\Filter\Filter-class. The filters can be given by using the Part of the Classname before the ā€œFilterā€. So for the SimpleFilter it would suffice to use ā€œSimpleā€ as name of the filter.
hyphenator_tokenizers array array('Whitespace', 'Punctuation') A list of tokenizers to use for splitting the text to be hyphenated into hypheable chunks. The tokenizers have to implement the Org\Heigl\Tokenizer\Tokenizer-interface. The tokenizers can be given by using the Part of the Classname before the ā€œTokenizerā€. So for the WhitespaceTokeinzer it would suffice to use ā€œWhitespaceā€ as name of the tokenizer.
hyphenator_skipPages array empty Array of Contao Page Ids, the Hyphenator should skip from hyphenation.

Requirements

The Versions

12/06 2018

dev-master

9999999-dev https://github.com/heimrichhannot/contao-hyphenator

Word-Hyphenation for Contao Front end pages.

  Sources   Download

LGPL-3.0+ LGPL-3.0-or-later

The Requires

 

contao hyphenator hyphen

31/03 2016

1.0.2

1.0.2.0 https://github.com/heimrichhannot/contao-hyphenator

Word-Hyphenation for Contao Front end pages.

  Sources   Download

LGPL-3.0+

The Requires

 

contao hyphenator hyphen

03/03 2016

1.0.1

1.0.1.0 https://github.com/heimrichhannot/contao-hyphenator

Word-Hyphenation for Contao Front end pages.

  Sources   Download

LGPL-3.0+

The Requires

 

contao hyphenator hyphen

17/12 2015

1.0.0

1.0.0.0 https://github.com/heimrichhannot/contao-hyphenator

Word-Hyphenation for Contao Front end pages.

  Sources   Download

LGPL-3.0+

The Requires

 

contao hyphenator hyphen