I’m new in Magento. I’m using version 1.6. I have question:
I created new my theme and new module Customer.
In customer.xml, I have the block code below:
<block type="customer/form_login" name="customer_form_login" template="customer/form/login.phtml"/>
It doesn’t show my page login.phtml :(
I must to create the Login.php ( at code\local\<myCompany>\Customer\Block\Form\Login.php ) as below:
class MyCompany_Customer_Block_Form_Login extends Mage_Customer_Block_Form_Login
It’s just an empty class.
The question is: I don’t want to re-create the Login.php file. I want to use the file Login.php at “code\core\Mage\Customer\Block\Form\Login.php” because I don’t change anything in PHP file, I only change the GUI of login.phtml.
How do I do it ? Can anyone help me ?