I was issued this problem to work on and got stuck trying to clear the page and load a blank screen with text, what step do I take?
the problem at hand:
-
Create a new Mage module with namespace “Bsi” and Module Name “Final”.
a. Measure of success: The homepage loads without error.
Note: All the following steps should be done inside the new module.
-
Create a controller TrainingController with action CustomerAction
a. The response payload should be plain text “Hello World”.
b. Measure of Success: You can stop the debugger in your controller action, and you see the text “Hello World” when accessing the URL.
MagentoSampleappcodelocalBsiFinaletcconfig.xml looks like this:
enter image description here<?xml version="1.0" encoding="UTF-8"?>
<!--
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
Click nbfs://nbhost/SystemFileSystem/Templates/XML/XMLDocument.xml to edit this template
-->
<config>
<modules>
<Bsi_Final>
<active>true</active>
<codePool>local</codePool>
</Bsi_Final>
</modules>
<global>
<helper>
<Bsi_Final>
<class>Bsi_Final_Helper</class>
</Bsi_Final>
</helper>
</global>
<global>
<blocks>
<Bsi_module><class>Bsi_Final_Block</class></Bsi_module>
</blocks>
<helpers>
<Bsi_module><class>Bsi_Final_Helper</class></Bsi_module>
</helpers>
<models>
<Bsi_Final>
<class>Bsi_Final_model</class>
<resourceModel>Bsi_Final_mysql4</resourceModel>
</Bsi_Final>
<Bsi_Final_mysql4>
<class>Bsi_Final_Model_Mysql4</class>
<entities>
<customer><table>Bsi_Final_customer</table></customer>
</entities>
</Bsi_Final_mysql4>
</models>
<resources>
<Bsi_Final_setup>
<setup>
<Final>Bsi_Final</Final>
<class>Bsi_Final_Model_Mysql4_Setup</class>
</setup>
</Bsi_Final_setup>
</resources>
</global>
</config>
Most of the results I have been able to find just seem to expect it to be common knowledge so any help would be really appreciated and there is nothing that i can be expected to know that wouldn’t be helpful to relay!
Asher Bautell is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.