2009
You are browsing the archive for 2009.
Magento Batch Adding Attributes to Attribute Sets
I have a Magento installation, with around 60 attribute sets. I needed to add a new attribute, and then add it to all the attribute sets. Doing this manually would take ages, and there didn’t seem to be a way of doing it through the API. I therefore created a PHP script to [...]
Styling Abbr Tag in IE – JavaScript Fix
Internet Explorer for Windows does not support the <abbr> tag. This makes it hard to style in CSS.
Marek Prokop posted a fix for this in the post Styling <abbr> in IE which has been very helpful. However, it seems to prevent JavaScript functioning properly.
Changing Drupal Theme on the Fly
I encountered an issue within Drupal with regards to admin and frontend themes. Specifically I needed to ensure that when a user creates or edits a particular type of content, it would remain in the frontend theme, and if they created or edited a different type, it would show in the admin theme.
Drupal 6 – Views, programmatically set arguments
It is sometimes useful to programmatically load a view in Drupal, to execute it and then utilise the results. This is all straightforward and well documented. A little less documented is how to set the view arguements.
Agile Development
Think this is only really funny to people that follow an agile agenda…
Web customers in everyday life
This is so true…
Magento FCKEditor Product Validation
Implementing WYSIWYG editing is fairly straightforward in Magento using either TinyMCE or FCKEditor. However, a known issue means that TinyMCE doesn’t work within the CMS section. So FCKEditor is the only real option at the moment.
There is however one issue to sort out. The product description field is mandatory; when you enter text into this [...]
Magento Migration
As with most things Magento, it isn’t too straightforward moving an installation from one domain to another.
I have provided this post as an outline on how to approach migrating your Magento installation.
Selenium & TinyMCE
Selenium’s ‘type’ command will not work with forms using TinyMCE for WYSIWYG markup. To test TinyMCE forms, you need to use ‘runScript’ to fire off some JavaScript to set the value.