1

Can anyone tell me whether it is possible to call action method within the

{{block type="multibanners/multibanners" category_id="9" name="multibanners" alias="multibanners" template="multibanners/multibanners.phtml"}}.

OR

alternate for action in the json type block ?

Thanks

Mahmood Rehman
  • 4,303
  • 7
  • 39
  • 76
  • I want to pass variable from the block so that i can get the value of variable in phtml or blocks in my custom module.I try $this->getData("category_id") method and $this->getCategoryId() for this , but nothing happen.Hope you got my point – Mahmood Rehman Nov 06 '12 at 07:38
  • What is the difference between this question and http://stackoverflow.com/questions/13245880/how-to-pass-parameter-with-block-form-contents-from-cms-pages-in-magento – MagePal Extensions Nov 06 '12 at 07:39
  • On that question i try how i can pass variable using block while here i want to know alternate for action method in json block type. – Mahmood Rehman Nov 06 '12 at 07:42
  • Are you sure you have setup your module code correctly? Is You block actually being loaded at all? – Andrew Nov 06 '12 at 11:01
  • yes my code is running perfect with xml block, but when i try to use static blocks {{block}} it will not work.Infact i have no idea how to set parameters with this block type ? – Mahmood Rehman Nov 06 '12 at 11:05

0 Answers0