ServerTune

Browse by category

Search    |    Advanced search

Reminder: Change Magento`s default phone numbers and callouts before site launch

Every time you login to Magento Admin Panel you get this alert message:

Reminder: Change Magento`s default phone numbers and callouts before site launch

Copy the file:
MAGENTO/app/code/core/Mage/AdminNotification/Model/Resource/Inbox.php
to
MAGENTO/app/code/local/Mage/AdminNotification/Model/Resource

If the directories do not exist, create them, manually.

Edit the file MAGENTO/app/code/local/Mage/AdminNotification/Model/Resource/Inbox.php

Line 102. Find:

$select = $adapter->select()
          ->from($this->getMainTable())
          ->where('url=?', $item['url']);

Replace with:

$select = $adapter->select()
          ->from($this->getMainTable())
          ->where('url=? OR url IS NULL', $item['url'])
          ->where('title=?', $item['title']);

Delete all Magento notifications and clear Magento cache and session files. Also, clear your browser's cache. DONE!

 
 
Add comment
 
Views: 4897
 
Votes: 0
 
Comments: 0
 

Other articles in this Category

RSS