Bulk Redirect Magento Urls

A client needed to enter a bunch of urls to redirect today on a site. This can be easily done one at a time through the Magento admin at Admin > Catalog > Url Rewrites. That's a bit of a slow process. So to that end, we've got a DB direct method to compliment:

Setting Product Attributes From Text Descriptions in Magento

A client of mine recently started wanting to improve her shopping experience with Magento. Her site was initially imported 100% description based, with attributes barely used at all. After walking her through layered navigation's filters, she immediately understood the value. It can help with SEO as well, as you can noindex the extra urls produced by filters more easily than discounting loads of categories. She's off happily categorizing her product data into attributes and options below them. It'll be my job to search the text of all her products and set the product's attributes based on them. Here's the start of that work.


Automatically Saving Form Values In localStorage Cache

As part of the rewrite of a major application process for a client, they have requested the ability to navigate away from the form and come back to finish later. We suggested using database storage at the server, but it was declined as they did not want to use logins, and IP based retrieval could be less secure than desired. They did however, jump at the ability to save data permanently in the user's browser allowing them to come back at need, potentially even year over year. Thus began a small foray into auto persisting forms using localStorage. There's way more to the application than is represented here, but I've pulled the auto-saving piece out as I find it extremely useful in a generic sense.

Using PHP to SSH

I needed the ability to fire off some ssh commands today testing out how to do sftp through php for a client. Turns out there's a bit of a layering process here. This should get you started, and going on from here will require a bit more customization. It's important to note that many sftp services do not allow you shell access. Just because you have an ssh connection, does not mean you can issue commands. And just because you can not issue commands, does not mean you can't do scp or use regular sftp commands. It's a bit of a bother.



Subscribe to Fragmented Thought RSS