Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin's admin page has no custom title #12

Closed
astleyclarke opened this issue Jun 8, 2020 · 2 comments
Closed

Plugin's admin page has no custom title #12

astleyclarke opened this issue Jun 8, 2020 · 2 comments

Comments

@astleyclarke
Copy link

The plugin doesn't set a custom page <title> in the admin section; it just appears as "Magento Admin" making it difficult to find amongst other open tabs or browser history entries.

@sd2894
Copy link

sd2894 commented Sep 23, 2020

#@astleyclarke just go to your module'** adminhtml index layout** and set your title inside head tag:

productvisibility_index_grid.xml

<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <head>
          <title>
                Your  custom title goes here...
           </title>
    </head>
    <body>
        <referenceContainer name="page.main.actions">
            <block class="Magento\Backend\Block\Store\Switcher" name="store_switcher" />
        </referenceContainer>
        <referenceContainer name="content">
            <block class="Itonomy\ProductVisibilityGrid\Block\Adminhtml\ProductVisibilityGrid\Grid" name="admin.productgrid.grid"/>
        </referenceContainer>
    </body>
</page>

Beagon added a commit that referenced this issue Sep 23, 2020
@Beagon
Copy link
Contributor

Beagon commented Sep 23, 2020

Thanks for using our module and thanks for your feedback. In the new 2.0.0 release we've included a title!

@Beagon Beagon closed this as completed Sep 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants