Magento Themes and Magento Extensions

How to Send Newsletter Subscription Alert Email to Admin in magento

Posted on February 2nd, 2012 | Posted by admin
Magento has a Newsletter Module that allows the storeowner/admin to send messages to the newsletter subscribers.
The customers/vistors can subscribe to the newsletter by filling the subscription form with their email id. However a small feature is missing in this module, Whenever a customer or visitor is subscribed to the newsletter the admin doesn’t get any notification/alert about the subscription. We can add this feature through our custom module. Our custom module will hook through the newsletter save event and triggers a function in our model class that will send the notification email to admin.Step 1: Create an email template in html and save it app/locale/en_US/template/email directory. Our email template looks as shown

How To Create An Admin Account From Magento Code

Posted on July 13th, 2011 | Posted by admin

Wondering how to restore your broken Magento admin access? If you have lost your magento admin credentials and you are stuck you should not loose heart. If accidentally you have deleted the admin access you can gain your access again with the help of slight magento code. In this article  i will tell you how you can create another temporary admin account and grant all necessary access to your new account.

Create User

Use a ftp program to edit: /app/code/core/Mage/Adminhtml/controllers/indexController.php

find the function loginAction and replace it by the following code (create a backup which you should restore later) :

Adding extra security to the Magento’s admin “Forgot your password?”

Posted on July 12th, 2011 | Posted by admin

For those of you interested in adding a little extra security to your Magento’s admin “Forgot your password?” feature, you might find this module useful. The thing about current Magento ( “Forgot your password?” feature is that it immediately resets your password and sends it to you in an email. Unlike many other systems, Magento won’t send you a “Password change confirmation” email first with some randomly generated key/url which you need to visit in order to actually change your password. It will reset you password immediately.

Although useful this can soon turn into stressful behaviour if you got someone trying to mess with you. Where that someone, just by knowing your email can initiate password reset each time he wishes just by visiting url and writing down your email address.

To pass by this, I wrote a little Magento extension that sends you a sort of “Forgotten password confirmation email” before changing the password.

CoffeeFreak – Blank Magento extension for building main admin menu with sidebar and tabs

Posted on May 24th, 2011 | Posted by admin

My previous article, CoolDash – Blank Magento extension for building admin system configuration area, was about blank start-up extension for building System > Configuration admin area. I used a lot of “funny” attribute names so that “get around” gets some speed. This extension is somewhat similar to previous one, except its meant to be a blank start-up extension for building items under main admin menu with sidebar and tabs.

Keep in mind that, once again, extension name is something I popped out of my head while I was making myself a coffee:).

CoolDash – Blank Magento extension for building admin system configuration area

Posted on May 12th, 2011 | Posted by admin

CoolDash – Blank Magento extension for building admin system configuration area

In order to speed things up with building admin sections under System > Configuration area in Magento I wrote a little blank extension. Hopefully its a step or two beyond “Hello world” level. I named the extension “CoolDash”, short from CoolDashboard. Name holds no special meaning, just something I popped out of my head. First thing you might notice when you open config.xmls and system.xml is the attribute naming. I intentionally used names like “somecooldashmodel2″. I found it extremely difficult, error prone and annoying to get around in scenarios where different areas of config files use same names for attributes with different meaning, like “customer”, “catalog” and so on.

Page 2 of 3«123»