Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 12293

Questions about developing custom modules

0 votes

How do I rewrite a single element in a .phtml file?

You can use event core_block_abstract_to_html_after, get the block HTML and modify it with regular expression or as XML via DOM / simplexml. No rewrites.
Amasty's user avatar
  • 6,518
0 votes
Accepted

HTTP POST and RESPONSE Action from Admin Dashboard

Example using CURL: $url = 'https://example.org/connector.php'; $postData = array(); $postData['var2'] = join(',', $emails); $postData['var3'] = 'amasty'; $ch = curl_init(); curl_setopt($ch, CURLOPT …
Amasty's user avatar
  • 6,518
1 vote

Emails from my custom enquiry form are marked as spam

Send email to any of the spam detecting service like http://www.emailspamtest.com to check it spam rate and possible issues. It can be wrong headers and encoding, stop words in the subject and the b …
Amasty's user avatar
  • 6,518
1 vote

Set page title after loadLayout and renderLayout

You can assign a new block without template in the content, that is loaded after the collection. In this block get all necessary information by getting data from main block (like product) or registry …
Amasty's user avatar
  • 6,518
0 votes

Inserting Open Graph tags via custom module and block

There are several block types in Magento. See app\code\core\Mage\Core\Block\ One of them is "list". It gets all children and just output them one by one. The content block works like this. But most …
Amasty's user avatar
  • 6,518
2 votes

Extending another modules form fields using addfield but values will not saving

Yes, if you are going to modify Improved Layered Navigation module by Amasty, you need to 1. Increment the module version 2. … Put the update SQL script in the folder `app\code\local\Amasty\Shopby\sql\amshopby_setup\mysql4-upgrade-2.8.0-2.8.1.php` where 2.8.0 is your current module version and 2.8.1 is your new version. …
Amasty's user avatar
  • 6,518
2 votes

how to use tinymce to admin custom module in magento2?

It is better not to insert that block of code directly into HTML template file, but to use Magento native way to embed field: $fieldset->addField( 'full_content', 'editor', array( 'label' …
Amasty's user avatar
  • 6,518
2 votes

Mandatory Helper class for module admin panel settings

Magento uses the helper to translate strings inside the module configuration. The file does not empty, it inherits all parent methods. …
Amasty's user avatar
  • 6,518
0 votes

Multiple product model rewrites

Open the moduleB class. Change class AD_ModuleB_Catalog_Model_Product extends Mage_Catalog_Model_Product with class AD_ModuleB_Catalog_Model_Product extends AD_ModuleA_Catalog_Model_Product that …
Amasty's user avatar
  • 6,518