2017 © Pedro Peláez
 

yii2-extension text

Text engine for location-sensitive help

image

attek/text

Text engine for location-sensitive help

  • Tuesday, July 24, 2018
  • by attek
  • Repository
  • 1 Watchers
  • 0 Stars
  • 16 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Contextual Text manager for Yii2


Installation

Install With Composer

The preferred way to install this extension is through composer., (*1)

Either run, (*2)

php composer.phar require attek/pte-text "*"

Database table

yii migrate --migrationPath=@attek/text/migrations, (*3)

Usage

Set in config file (web.php), (*4)

'modules' => [
    ...
    'text' => [
            'class' => 'attek\text\Module',            
    ]
    ...
]

Popover for field contextual help

attek\text\assets\HelpAsset::register($this);

...
$form = ActiveForm::begin( 
    [ 'fieldConfig' => [ 'class' => 'attek\text\components\ActiveField' ]
...
 $form->field( $model, 'name' )->textInput()->hint('Text for popup', ['slug' => 'slug-name'])     
...

Popover for contextual help

attek\text\assets\HelpAsset::register($this);

echo Html::a(Html::tag('i', '', ['class' => 'fa fa-question-circle']), null,
                                ['data-slug' => 'slug-name',  'data-toggle'=> 'popover', 'title' => 'Title for help'])

The Versions

24/07 2018

dev-master

9999999-dev

Text engine for location-sensitive help

  Sources   Download

MIT

The Requires

 

by Avatar attek

24/07 2018

0.1.2

0.1.2.0

Text engine for location-sensitive help

  Sources   Download

MIT

The Requires

 

by Avatar attek

19/07 2018

0.1.1

0.1.1.0

Text engine for location-sensitive help

  Sources   Download

MIT

The Requires

 

by Avatar attek

19/07 2018

0.1.0

0.1.0.0

Text engine for location-sensitive help

  Sources   Download

MIT

The Requires

 

by Avatar attek