Skip to content

Commit

Permalink
Update readme and admin panel ordering.
Browse files Browse the repository at this point in the history
  • Loading branch information
drew7721 committed Oct 6, 2019
1 parent 8b9ec89 commit 79af8f2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,10 @@ should probably run a `magento cache:flush` command if your caches are enabled.
![](https://i.imgur.com/C4l3SMf.png)

### Admin panel
Update the setting from the admin panel. `Advanced > Developer > JustinKase`
![](https://i.imgur.com/YGjZNPp.png)
Update the setting from the admin panel.

`Stores > Configuration > JustinKase > Layout Hints`
![](https://i.imgur.com/j4vgKKk.png)

## Author
[Alex Ghiban](mailto:drew7721@gmail.com)
12 changes: 8 additions & 4 deletions etc/adminhtml/system.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,19 @@
*/-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_file.xsd">
<system>
<tab id="justinkase" translate="label" sortOrder="900">
<tab id="justinkase" translate="label" sortOrder="555">
<label>JustinKase</label>
</tab>
<section id="justinkase_hints">

<section id="justinkase_hints" translate="label" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Layout Hints</label>
<tab>justinkase</tab>
<group id="global_setting" translate="label" type="text" sortOrder="8" showInDefault="1" showInWebsite="1" showInStore="1">
<resource>JustinKase_LayoutHints::config</resource>

<group id="global_setting" translate="label" type="text" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
<label>JustinKase - Better Template Hints</label>
<field id="status" sortOrder="10" translate="label comment" type="select" showInDefault="1" showInWebsite="1" showInStore="1">

<field id="status" translate="label comment" type="select" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Show Block and Template Hints</label>
<comment><![CDATA[Show hints on front end.]]></comment>
<source_model>Magento\Config\Model\Config\Source\Enabledisable</source_model>
Expand Down

0 comments on commit 79af8f2

Please sign in to comment.