2017 © Pedro Peláez
 

contao-module contao-linkchecker

Simple link checker tool, that comes with an back end widget and LinkChecker class.

image

heimrichhannot/contao-linkchecker

Simple link checker tool, that comes with an back end widget and LinkChecker class.

  • Monday, September 25, 2017
  • by digitales@heimrich-hannot.de
  • Repository
  • 5 Watchers
  • 0 Stars
  • 127 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 8 Versions
  • 2 % Grown

The README.md

Contao link checker

Simple link checker tool, that comes with an back end widget and LinkChecker class. Using php get_headers() function. Link test within widget is done via xhr call., (*1)

alt fieldpalette wizard LinkChecker back end widget, (*2)

Technical instructions

If you want to test a single link, or multiple links, simply call:, (*3)

HeimrichHannot\LinkChecker\LinkChecker::test('http://www.google.de');
HeimrichHannot\LinkChecker\LinkChecker::test(array('http://www.google.de', 'http://www.twitter.com'));

Back end widget / field

In back end mode there is a widget available called linkChecker; Provide a valid load_callback within you DataContainer field configuration., (*4)

//tl_sample.php 

'linkChecker'       => array(
    'label'         => &$GLOBALS['TL_LANG']['tl_sample']['linkChecker'],
    'inputType'     => 'linkChecker',
    'load_callback' => array(
        array('MyClass', 'getLinkCheckerHtml'),
    ),
),

You can return html-code with anchor tags, a single link or an array of links within your load_callback., (*5)

// MyClass

public function getLinkCheckerHtml($varValue, \DataContainer $dc)
{
    return '<a href="http://google.de">Google</a>'
}

The Versions

25/09 2017

dev-master

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

Simple link checker tool, that comes with an back end widget and LinkChecker class.

  Sources   Download

LGPL-3.0+

The Requires

 

html contao links linkchecker

25/09 2017
27/06 2017
09/03 2017

1.0.4

1.0.4.0 https://github.com/heimrichhannot/contao-linkchecker

Simple link checker tool, that comes with an back end widget and LinkChecker class.

  Sources   Download

LGPL-3.0+

The Requires

 

html contao links linkchecker

07/03 2017

1.0.3

1.0.3.0 https://github.com/heimrichhannot/contao-linkchecker

Simple link checker tool, that comes with an back end widget and LinkChecker class.

  Sources   Download

LGPL-3.0+

The Requires

 

html contao links linkchecker

20/12 2016

1.0.2

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

Simple link checker tool, that comes with an back end widget and LinkChecker class.

  Sources   Download

LGPL-3.0+

The Requires

 

html contao links linkchecker

20/12 2016

1.0.1

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

Simple link checker tool, that comes with an back end widget and LinkChecker class.

  Sources   Download

LGPL-3.0+

The Requires

 

html contao links linkchecker

19/12 2016

1.0.0

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

Simple link checker tool, that comes with an back end widget and LinkChecker class.

  Sources   Download

LGPL-3.0+

The Requires

 

html contao links linkchecker