How to insert Slider Revolution programmatically

Slider Revolution magento extension FAQ

You can insert Slider Revolution to Magento store programmatically by adding it to layout or generating and outputting its code in controller action or block. For example in controller action you can use following code: $this->loadLayout(); $myBlock = $this->getLayout() ->createBlock(‘revslider/revslider’) ->setAlias(‘homepage’); This will create Slider Revolution block, now you can render it to html string to […]

read more

How to fix Database tables not found error in Slider Revolution extension

Slider Revolution magento extension FAQ

Problem: Got error “Database tables not found…” after installing Slider Revolution extension. Reason: Cache was not disabled during installation process. Solution: Go to System > Cache Management of Magento Admin panel Disable All Cache Log out from Magento Admin panel Remove nwdthemes_revslider_setup  row from core_resource  table using PhpMyAdmin or by running this MySQL query: DELETE FROM `core_resource` […]

read more

Slider Revolution Responsive Magento Extension Release

Slider Revolution Responsive Magento Extension

Good news everyone! Most popular slider plugin Slider Revolution Responsive WordPress Plugin now available for Magento platform as Slider Revolution Responsive Magento Extension. Slider Revolution plugin is slides display solution that works with all possible types of content with easy to customize styles, transitions, effects and animations. With this extension you can build responsible or […]

read more

Generate Magento translation CSV file

Generate magento translation file

We know that Magento provides great feature for translation of text strings in code. Such content that needs to be localized for different store views is outputted through __()  helper function. It will search for data loaded from locale translation .csv  file and if found match for current store view it will be replaced with it…

read more

Comment php code with one keypress

Php tips & tricks

Debugging takes 90% of php developement time. You often need to comment out a piece code. In case of single line it is pretty simple. But if you need to comment large block it could take time. Do you want to comment php code with one keypress ? There is pretty simple method to achieve […]

read more

Getting products by attribute or category in Magento

Ho to get product by attribute or category in magento

Like all other items in Magento store products have its own model and collection that can be used for getting list of products. So basic thing we do is getting instance of products collection: … At the same time we can specify which product attributes we want to get. For this we can use addAttributeToSelect method. You can specify them separately in each method or pass array as argument

read more

Custom module development: basic errors

Custom module development: basic errors

Magento custom module development has tricky parts that are not obvious for inexperienced developer. For example: you have created a router, but get 404 page you have created a layout, but page content is empty you have added new block to layout, but page is still empty There are no errors on frontend and logs […]

read more