2017-12-19 46 views
0

Ich bin neu bei Magento und ich habe einige Probleme. Ich versuche, einen neuen Abschnitt in der Backend hinzuzufügen, aber wenn ich system- gehen> Konfiguration erhalte ich die Fehlermeldung:Backend Magento System.xml

'This page is not working' 

system.xml

<config> 
<tabs> 
    <packt> 
     <label>Packt</label> 
     <sort_order>400</sort_order> 
    </packt> 
</tabs> 
<sections> 
    <helloworld translate="label" module="helloworld"> 
     <label>Helloworld</label> 
     <tab>packt</tab> 
     <sort_order>10</sort_order> 
     <show_in_default>1</show_in_default> 
     <show_in_website>1</show_in_website> 
     <show_in_store>1</show_in_store> 
     <groups> 
     </groups> 
    </helloworld> 
</sections> 

muss ich sagen, dass Wenn ich die system.xml lösche, funktioniert das System-> Konfiguration.

Der system.xml Weg ist:

app/code/local/Packt/Hello World/etc/system.xml

Auch die adminhtml.xml nicht funktioniert, weil es eine leere magento Admin-Seite zurück . Was mache ich falsch?

Antwort

0

Versuchen Sie diesen Code:

<?xml version="1.0" encoding="UTF-8"?> 
<config> 
     <tabs> 
      <packt translate="label"> 
       <label>Packt</label> 
       <sort_order>400</sort_order> 
      </packt> 
     </tabs> 
     <sections> 
      <helloworld translate="label" module="helloworld"> 
       <label>Helloworld</label> 
       <tab>packt</tab> 
       <sort_order>10</sort_order> 
       <show_in_default>1</show_in_default> 
       <show_in_website>1</show_in_website> 
       <show_in_store>1</show_in_store> 

       <groups> 
        <options translate="label" module="helloworld"> 
         <label>Configuration</label> 
         <frontend_type>text</frontend_type> 
         <sort_order>20</sort_order> 
         <show_in_default>1</show_in_default> 
         <show_in_website>1</show_in_website> 
         <show_in_store>1</show_in_store> 
         <fields> 
          <mytext translate="label"> 
           <label>My Text</label> 
           <frontend_type>text</frontend_type> 
           <sort_order>10</sort_order> 
           <show_in_default>1</show_in_default> 
           <show_in_website>1</show_in_website> 
           <show_in_store>1</show_in_store> 
          </mytext> 
         </fields> 
        </options> 
       </groups> 
      </helloworld> 
     <sections> 
    </config> 
+0

hm .. das gleiche Fehler – IleNea

+0

Aber wenn ich das Modul löschen = „Hello World“ Ding, es funktioniert .. – IleNea

+0

Sie wahrscheinlich nicht schaffen leer data.php Klasse in Helfer directory –

Verwandte Themen