use "catch (Exception $e) {" instead of "Exception {"
Please check
Для просмотра ссылки Войди или Зарегистрируйся
and let me know the result.
Edit: changes in save and delete action
check now
Для просмотра ссылки Войди или Зарегистрируйся
I dont know anything about nulling the modules.
find in whole module
and replace it with
replace line #15 with
PHP:
public function render(Varien_Object $row) {
and remove line #13 in above mentioned file.
attach your updated file..
doing night duty.
Edit: Did you removed echo ''; from file.
replace line #14 with
PHP:
public function render(Varien_Object $row) {
missing {
clear the cache... bcoz without { script will not parse successfully.
code is coming from cache.
while developing, please disable the cache.
please check again.. flush cache.. logout-login...code is ok..
it worked on my system, very first time even without doing above things.
PHP:
* @ Website : http://EasyToYou.eu
*
**/
class Websoft_Dpd_Block_Adminhtml_Pricelist_RenderCountry extends Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Abstract {
public function render(Varien_Object $row) {
$countryCode = trim( $row->getCountry( ) );
$countryName = '';
$countryNameShort = '';
$i = 11;
if ($countryCode != '') {