Magento Show Poll Results

Add this code in order to show the poll results in de poll block (using this article): In addition for the result add in poll.phtml: if ($poll->isVoted($poll->getId()) == TRUE) { //Template Block echo $this->getLayout()->createBlock(‘core/template’)->setTemplate(‘poll/result.phtml’)->setAttribute(‘my_poll_id’, $poll->getId())->toHtml(); } else { // add the rest of the poll script here } Further open results.phtml and add on top:

Magento Show Poll Results Read More »

Magento Account Session Problems Google Chrome + Safari

This is the probable solution: Having session/cookie problems with webkit browsers (e.g. Chrome) in Magento? Go to System -> Configuration -> Web -> Session Cookie Management and set “Use HTTP Only” to no. Have fun. (Thanks to Howlingwolf.de). Setting your cookies to ‘36000’ instead of 3600 could be a solution as well.

Magento Account Session Problems Google Chrome + Safari Read More »

jQuery Address and History Forms – Remembering form choices in hash / browserstate (updated version)

For jQuery hash support I like the jQuery Address plugin: http://www.asual.com/jquery/address/ . Especially, if you want to make a form or product filter, you can use this variant: http://www.asual.com/jquery/address/samples/form/ . Though, it doesn’t support checkboxes in the form of arrays like check[]=1&check[]=2 , etc. I updated the plugin with some other libraries and code and

jQuery Address and History Forms – Remembering form choices in hash / browserstate (updated version) Read More »

Module error message: MediabrowserUtility is not defined

If you install a custom module in Magento it could lack the TinyMce Mediabrowser. You get the following message then: error: error in [unknown object].fireEvent(): event name: open_browser_callback error message: MediabrowserUtility is not defined How to fix this? Quick fix In /app/design/adminhtml/default/default/layout/YOURMODULE.xml add: 1 js_cssprototype/windows/themes/default.css js_cssprototype/windows/themes/magento.css lib/prototype/windows/themes/magento.css Or change to Long solution (may not work)

Module error message: MediabrowserUtility is not defined Read More »

IWD Checkout refresh review after payment selection

With the IWD onestep checkout plugin, there’s a free method for one step checkouts. Though it still has a problem when you want to select a payment method, because it doesn’t refresh the review summary. This is feature is vital for payment methods that add service fee. Thanks to this plugin I found a code

IWD Checkout refresh review after payment selection Read More »

en_USEnglish
Scroll to Top