Magento
Magento 2: Custom Form Send Email
Techievolve/Greenenquire/Block/Enquire.php Techievolve/Greenenquire/Controller/Index/Enquire.php app/code/Techievolve/Greenenquire/etc/adminhtml/menu.xml app/code/Techievolve/Greenenquire/etc/adminhtml/system.xml app/code/Techievolve/Greenenquire/etc/frontend/routes.xml app/code/Techievolve/Greenenquire/etc/email_templates.xml app/code/Techievolve/Greenenquire/etc/module.xml app/code/Techievolve/Greenenquire/Helper/Email.php app/code/Techievolve/Greenenquire/view/frontend/email/green_enquire_admin.html app/code/Techievolve/Greenenquire/view/frontend/templates/form/enquire.phtml
Magento
Ubuntu : send email from local server
Install SSMTP packet: open the configuration file: Add new content as below (don’t forget change your_email and your_email_password, your_email_username): At last, do a test:
Magento
Magento: All Events Listing
Here is the list of magento events: File Name Event Mage/Admin/Model/Session.php admin_session_user_login_success Mage/Admin/Model/Session.php admin_session_user_login_failed Mage/Admin/Model/User.php admin_user_authenticate_before Mage/Admin/Model/User.php admin_user_authenticate_after Mage/Adminhtml/Block/Api/User.php api_user_html_before Mage/Adminhtml/Block/Catalog/Category/Tab/Attributes.php adminhtml_catalog_category_edit_prepare_form Mage/Adminhtml/Block/Catalog/Category/Tabs.php adminhtml_catalog_category_tabs Mage/Adminhtml/Block/Catalog/Category/Tree.php adminhtml_catalog_category_tree_is_moveable Mage/Adminhtml/Block/Catalog/Category/Tree.php adminhtml_catalog_category_tree_can_add_root_category Mage/Adminhtml/Block/Catalog/Category/Tree.php adminhtml_catalog_category_tree_can_add_sub_category Mage/Adminhtml/Block/Catalog/Product/Attribute/Edit/Tab/Main.php adminhtml_product_attribute_types Mage/Adminhtml/Block/Catalog/Product/Attribute/Edit/Tab/Main.php adminhtml_catalog_product_attribute_edit_prepare_form Mage/Adminhtml/Block/Catalog/Product/Attribute/New/Product/Attributes.php adminhtml_catalog_product_edit_prepare_form Mage/Adminhtml/Block/Catalog/Product/Attribute/New/Product/Attributes.php adminhtml_catalog_product_edit_element_types Mage/Adminhtml/Block/Catalog/Product/Attribute/Set/Main.php adminhtml_catalog_product_attribute_set_main_html_before Mage/Adminhtml/Block/Catalog/Product/Attribute/Set/Toolbar/Main.php adminhtml_catalog_product_attribute_set_toolbar_main_html_before Mage/Adminhtml/Block/Catalog/Product/Edit/Action/Attribute/Tab/Attributes.php adminhtml_catalog_product_form_prepare_excluded_field_list Mage/Adminhtml/Block/Catalog/Product/Edit/Tab/Attributes/Create.php adminhtml_catalog_product_edit_tab_attributes_create_html_before Mage/Adminhtml/Block/Catalog/Product/Edit/Tab/Attributes.php adminhtml_catalog_product_edit_prepare_form Mage/Adminhtml/Block/Catalog/Product/Edit/Tab/Attributes.php adminhtml_catalog_product_edit_element_types Read more…
Magento
Magento: Custom Module Set Meta Data Using Config Data
Using Helper Function: 1. Create functions in your module helper file app/code/local/Namespace/Module/Helper/Data.php 2. Get Data from Config in your layout file app/design/frontend/default/default/layout/namespace_module.xml Or You can also set meta information using block file: app/code/local/Namespace/Module/Block/BlockFile.php In your block _prepareLayout fubction add the following code:
Magento
Magento: Admin Module Field Type
Text Type Field Time Type Field TextArea Type Submit Button DropDown Here is another version of the drop down Radio Butto Password Field Note Multiselect Multiline Link Label Image Upload File Upload Date Checkbox
Magento
Magento :: Shopping Cart Rule Causing Internal Sever Error 500
Copy Subselect.php:. From: app/code/core/Mage/SalesRule/Model/Rule/Condition/Product/Subselect.php To: app/code/local/Mage/SalesRule/Model/Rule/Condition/Product/Subselect.php Based on comments on @kalpesh link this also solved the problem for me. (adding the fix here for future reference) There is a patch for this https://gist.github.com/piotrekkaminski/54529dadb0bc01a62a2d It is marked for EE but the fix worked for us.
Magento
Magento: pagination with custom collection
1.In the main block that calls your collection to render, add the following: 2.Then, from your template phtml associated to your collection, add the pager controls by echoing the output of our other method, getPagerHtml: