Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
39 views

Error registering a module to create two field in the registration page

I tried to create a module to add two fields to the registration page, namely 'nickname' and 'recomendation' and it gives me an error. Vendor/Module/registration.php <?php \Magento\Framework\...
Nuno Sousa's user avatar
1 vote
1 answer
977 views

Filter collection with attribute from custom module

I have a custom module which I load data with following code inside list.phtml: foreach ($_productCollection as $_product){ $_id = $_product->getId(); $event = Mage::getModel('aw_eventbooking/...
Gabriel G's user avatar
0 votes
1 answer
139 views

Adding Custom Attribute to Admin Users - Magento 1.7

Currently in creating Admin Users we collect: Username, First Name, Last Name, Email, Password, Password Confirmation I would also be interested in adding Address as a field but am not sure how to ...
CodingMageSheen's user avatar
1 vote
3 answers
314 views

Where do I specify the file path for phtml? (Clarification please)

Where do I put the phtml file that all of this works with? Current Files and their folder structure: app/code/local/Sean/Customform/controllers/IndexController.php <?php class ...
CodingMageSheen's user avatar
11 votes
3 answers
10k views

Magento 2 How to uninstall attributes added by custom module?

So far I know that when uninstalling a custom module, it is possible to remove custom tables or columns added by custom module by using uninstall.php which extends \Magento\Framework\Setup\...
Ricky.C's user avatar
  • 2,182