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 answers only not deleted user 3535

Magento Community version 1.8

8 votes
Accepted

Can I make a core module depend on a custom module?

I think you can use dependancy concept for this . Suppose your module be Yoursite_Yourmodule. Then use the following code in the location app/etc/Yoursite_Yourmodule.xml <config> <modules> …
Rajeev K Tomy's user avatar
7 votes

Magento Fatal Error - setSaveParametersInSession() on a non-object

Have a look on the error to which Magento refers. protected function _prepareLayout() { $this->setChild( 'grid', $this->getLayout()->createBlock( $this->_blockGroup.'/' . $this->_controll …
Rajeev K Tomy's user avatar
5 votes
Accepted

How to print blocks without a template?

edit You can achieve this using page/html_wrapper default block. This block will render >all its child blocks without using a template and without using the call >getChildHtml(). if you are using co …
Rajeev K Tomy's user avatar
4 votes

Magento: How can I add two or more static Blocks on category page

You can add any number of static blocks in any page in anywhere as you desire. Since you need to add two static blocks.. create two static blocks through admin.(CMS -> Static Blocks). Let the identif …
Rajeev K Tomy's user avatar
4 votes
Accepted

How to implement magento's store select field?

The code snippet you are provided is from the file app/code/core/Mage/Adminhtml/Block/Cms/Block/Grid.php. This code comes inside a protected method _prepareColumns() and which is used to define each c …
Rajeev K Tomy's user avatar
4 votes
Accepted

how to use '$this' outside of magento directory scope

Use Mage::helper('catalog/image') instead of $this->helper('catalog/image') Additional points In order to work this, you need to make sure app/Mage.php is included in your custom php file. You …
Rajeev K Tomy's user avatar
4 votes
Accepted

Get Base Url in JS Magento

This is not possible. Because.. child blocks which are included inside head block will get only rendered after rendering/including js and css which are added in head block, irrespective of the poi …
Rajeev K Tomy's user avatar
3 votes

Is there any way to add JS/CSS to footer page?

Header and footer part is rendering by Page module in magento. In order to see header and footer templates, go to app / design / frontend/ <your_package> /<your_theme> /template / page / html / foote …
Rajeev K Tomy's user avatar
3 votes
Accepted

How does a package is appeared in `firegento` without a `composer.json` in its github reposi...

I have used following code in my composer.json and it worked for me { "require": { "magento-hackathon/magento-composer-installer": "dev-master", "magento/debug":"dev-master" } …
Rajeev K Tomy's user avatar
3 votes

How can I stop customers from writing reviews on products?

If you don't want that feature, the fastest way to remove this feature would be disable that module. You can disable a module in mainly two ways. 1) Through admin side For this go to System > Conf …
Rajeev K Tomy's user avatar
3 votes
Accepted

undo layout update in local.xml

As far as I know, this facility is not available with magento by default. You cannot remove a layout handle which has added to the layout via another layout update file. When we perform an update h …
Rajeev K Tomy's user avatar
3 votes

How can I create custom store url in Magento

This option is already available in Magento. You can add store codes in url by turn on System > Config > Web > Add Store Code to URLs to Yes from backend.
Rajeev K Tomy's user avatar
3 votes
Accepted

Saving a product

Later is just a wrapper. Magento uses a resource to do database operation. so when you perform $product->save(), it will call $product->getResource()->save($product) to perform save action. But my r …
Rajeev K Tomy's user avatar
2 votes
Accepted

Magento Multi-Store - What to be aware of?

Sure. Magento provides multi-store options and it is really simple to use. If you know how to make a store in magento through admin side, then it will be very easy to maintain multiple stores in magen …
Rajeev K Tomy's user avatar
2 votes
Accepted

Add template block into another template

So your template file holds <html /> <head /> <body /> tags in it. It will be a bad design, because magento loads all these things through page.xml layout file. If you want to see those codes. For s …
Rajeev K Tomy's user avatar

15 30 50 per page