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
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
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 answers only user 5

Event/observer is used to work dynamically with Magento without altering the core code.

3
votes
It is possible to modify block output via transported string by observing the core_block_abstract_to_html_after event (link). In this event, the rendered content is transported from the block instance …
answered Feb 10 '13 by benmarks
2
votes
As noted by programmer_rkt, dependencies are one way to handle observer processing order by affecting the order in which the configuration files are merged. Another strategy would be to take the load …
answered Mar 19 '14 by benmarks
3
votes
If this were a standard ORM model these events would likely exist. Because the Mage_Checkout_Model_Cart model extends Varien_Object instead of Mage_Core_Model_Abstract, these events are dispatched by …
answered Jun 27 '13 by benmarks
4
votes
Again, what are you trying to do? Redirecting someone from sysconfig to your controller is odd UX at best, even if you redirect back to sysconfig after your code executes. If that's all you're doing, …
answered Apr 16 '13 by benmarks
4
votes
Based on the class group you are using (CompanyName_ModuleName) you should use: <global> <models> <CompanyName_ModuleName>CompanyName_ModuleName_Model</CompanyName_ModuleName> </model …
answered Aug 14 '13 by benmarks
2
votes
It's quite similar to the answer for the same question applied to Magento 1: you need to call the Customer session model's logout method. Just create a resultRedirect and force headers after. For an …
answered Jan 15 '16 by benmarks
4
votes
You'll need to re-run the compiler via System > Tools > Compilation.
answered Jun 25 '13 by benmarks
2
votes
Whereas your logic can be achieved via layout XML, there are two clear options: implement a responsive design (may not work based on your needs), or use a separate subdomain with its own theme setting …
answered May 9 '13 by benmarks
4
votes
And awesome-but-non-obvious events strike again! Both of your use cases involve user requests. There are always two unique events for actions. The sequence of method calls in a typical dispatch is as …
answered Dec 25 '13 by benmarks
2
votes
After setting the redirect you need to call the response object's sendResponse() method and terminate execution. Note that your observer needs to be configured under the frontend event area, as it wo …
answered Jul 12 '13 by benmarks
3
votes
Mage::getModel('sales/quote')->load(1); Resolve the sales/quote argument to a class (Mage_Sales_Model_Quote by default) Have the model invoke its resource model (Mage_Sales_Model_Resource_Quote by …
answered Dec 11 '14 by benmarks
2
votes
Ugh, the core_block_abstract_to_html_before event. It's intentionally non-specific to prevent improper view hacks via the event system, but your use case seems acceptable. Given that it's fired for ev …
answered Aug 11 '15 by benmarks
2
votes
Something is wrong or customized in your install; I've tested your approach and it should work fine. You could test for sure using the scoped postdispatch event. However, depending on configuration, …
answered Feb 25 '14 by benmarks
11
votes
If you are simply organizing new attribute groups, create a setup script: $installer = Mage::getResourceModel('catalog/setup','catalog_setup'); $installer->startSetup(); //Categories typically only …
answered Jan 16 '14 by benmarks