How to call Phtml file from Controller of Magento
Page 1 of 1 • Share •
How to call Phtml file from Controller of Magento
Hi,
Please Write this code in Any Controller Action:
Mage::register('testing', $variable);
Where
testing: phtml file name
$variable : Pass any data through this variables.
Note: Controller and phtml file should be in same folder structure...
Please Write this code in Any Controller Action:
Mage::register('testing', $variable);
Where
testing: phtml file name
$variable : Pass any data through this variables.
Note: Controller and phtml file should be in same folder structure...
Admin- Admin
- Posts: 42
Join date: 2011-10-22
Age: 28
Location: New Delhi

Similar topics» Fact File Template
» all samsung flass file free
» all latest bb5 flash file 2010
» Samsung s3850 flash file needed.......Help me.......
» Using CAINE and Scalpel to restore .doc's from an image file
» all samsung flass file free
» all latest bb5 flash file 2010
» Samsung s3850 flash file needed.......Help me.......
» Using CAINE and Scalpel to restore .doc's from an image file
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum