Skip to content

why i can’t display the new column in the admin panel? I can not display a new column in Configuration panel

my adminhtmlsystem.xml

     <?xml version="1.0"?>
    <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
   
   
 xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_file.xsd">
   <system>
     <tab id="General" translate="label" sortOrder="10">
         <label>Mageplaza</label>
     </tab>
     <section id="meetanshi" translate="label" sortOrder="130" showInDefault="1" 
  showInWebsite="1" showInStore="1">
        <class>separator-top</class>
        <label>Hello World</label>
        <tab>meetanshi</tab>
        <resource>Meetanshi_Extension::config</resource>
        <label>General Configuration</label>
        <group id="system" translate="label" type="text" sortOrder="1" showInDefault="1" 
    showInWebsite="1" showInStore="1">
            <field id="config1" translate="label" type="text" sortOrder="1" 
      showInDefault="1" showInWebsite="1" showInStore="1">
                  <label>Module Enable</label>
                <source_model>MagentoConfigModelConfigSourceYesno</source_model>
            </field>
            <field id="display_text" translate="label" type="text" sortOrder="1"  
            showInDefault="1" showInWebsite="0" showInStore="0">
                <label>Display Text</label>
                <comment>This text will display on the frontend.</comment>
            </field>
        </group>
    </section>
</system>

my etcacl.xml

         <?xml version="1.0"?>
     <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
   xsi:noNamespaceSchemaLocation="urn:magento:framework:Acl/etc/acl.xsd">
     <acl>
        <resources>
          <resource id="Magento_Backend::admin">
            <resource id="Meetanshi_Extension::extension" title="Hello World" 
         sortOrder="51">
                <resource id="Meetanshi_Extension::post" title="Posts" sortOrder="10"/>
                <resource id="Meetanshi_Extension::configuration" title="Configuration" 
       sortOrder="99" />
            </resource>
            <resource id="Magento_Backend::stores">
                <resource id="Magento_Backend::stores_settings">
                    <resource id="Magento_Config::config">
                        <resource id="Meetanshi_Extension::config" title="System 
              Configuration"/>
                     </resource>
                 </resource>
                    </resource>
                 </resource>
            </resources>
         </acl>
       </config> 

adminhtmlmenu.xml

 <?xml version="1.0"?>
  <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
 xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Backend:etc/menu.xsd">
<menu>
    <add id="Meetanshi_Extension::extension"
         title="admin panel"
         module="Meetanshi_Extension"
         sortOrder="51"
         resource="Meetanshi_Extension::extension"
    />
    <add id="Meetanshi_Extension::post"
         title="Manage Posts"
         module="Meetanshi_Extension"
         sortOrder="10"
         action="extension/post"
         resource="Meetanshi_Extension::extension"
         parent="Meetanshi_Extension::extension"
    />
    <add id="Meetanshi_Extension::extension_configuration"
         title="Configuration"
         module="Meetanshi_Extension"
         sortOrder="99"
         parent="Meetanshi_Extension::extension"
         action="adminhtml/system_config/edit/section/extension"
         resource="Meetanshi_Extension::extension_configuration"
    />
   </menu>
  </config>

etcconfig.xml

    <?xml version="1.0"?>
 <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"   
    xsi:noNamespaceSchemaLocation
   ="urn:magento:module:Magento_Store:etc/con 
fig.xsd">
    <default>
         <helloworld>
          <general>
            <enable>1</enable>
              <display_text>Hello World</display_text>
           </general>
            </helloworld>
      </default>
    </config>