-
Notifications
You must be signed in to change notification settings - Fork 2
Usage
Access index and form for creation of rules with
{key_of_module_you_use_in_web.php}/page-guide/index
Insert url on your yii web page into first input
Press button go to page that opens url in new window
From this window drag and drop elements you want to use into previous window
You can also set it by hand, just add step number, element id and text
check image of page guide form
When you are in creator mode, every draggable element is highlighted with blue dashed border
By default, in creator mode all visible input elements on page are set as draggable, and if form is detected on page
also, all elements with form-group class are set.
With widget option 'selectors' (array), you can set multiple class names or ids or other valid css selectors
for picking draggable elements in creator mode.
<?= \matejch\pageGuide\widget\PageAssist::widget(['selectors' => ['.guide','#selectable_id']]) ?>
Here is example how it looks, when rules are set and user can display guide/assistant