Posted on

Masking Password fields in Magento Extensions

Wow, long time, no post – no excuses really*, just been really busy. This post will give you a quick tip for masking password fields in your Magento extensions. I wanted to mask the password in my Google Apps and Gmail Magento Extension and despite a few Google searches, I couldn’t find a simple answer. There’s also not really any good documentation on the various configuration xml files in Magento, it seems.

Thankfully i960 over at the Magento forums gave me this simple tip, which I think should be shared. Here’s how to mask or hide your admin passwords in the backend of Magento. This is particularly useful when creating your own Magento extensions.

In etc/system.xml add xml like this:

 <password translate="label">

The key being the frontend_type of password in case you hadn’t noticed that.

Anyway expect me to be a bit more active with some Magento tips over the next few weeks.

*In a lot of ways you can blame Amazon for creating some of the worst financial reports I have ever had to work with! Parsing those to pull meaningful information has been like pulling teeth. Anyway I’ll add some feedback on those in an upcomming post.

Posted on

Funniest Magento keyword search

I wanted to share this, it made me laugh when I noticed it. Every now and then I take a look through Google analytics at the Magento keyword searches that get people to my site but cause bounces, in case there is some useful content I could add. I spotted this little gem of a keyword search amongst the far more boring Magento searches and I though it was pretty funny.

For those of you that develop/design with Magento, the first few weeks of frustration when you’re first learning can be tough, I bet this is a common feeling!

A frustrated Magento developer looking for answers?! I know the feeling!
A frustrated Magento developer looking for answers?! I know the feeling!

Ironically if it hadn’t been for this really rude commenter then this search would have never found me, so in a way it’s a good thing!

It got me thinking, it’d be a kind of fun trick/game to play to find the most obscure search that would still actually find someone’s site and then visit them using it – just in case they’re looking through their keyword lists.

So if I spot any more funny ones, I’ll post them up – if it’s yours, feel free to claim responsibility in the comments. You can’t do “fuck aschroder” though, because I just tried that already (and it works), be creative!