It means 'nothing'
Drupal
Leaving is Complicated
Mar 9th
The company website (www.cibus.co.th) has gone through a number of iterations as I tried to decide the best way to do it. The current iteration runs on Drupal (version 6) and I implemented a limited install of Ubercart in the hope that someday I would fully implement it as a customer portal for ordering products directly. Unfortunately I hit a wall when I discovered that Ubercart only supports integer quantities, a problem when your products are wholesale food, so I put that on hold in the hope that the next version might change that. Now with Drupal 7 drawing closer I’ve seen clearly the direction it will be heading, the team from Ubercart have moved to something else called Drupal Commerce for political reasons, reworking the entire suite from the ground up, so I am having to re-examine the website and plan for the future.
Thus the need to redesign the site from the ground up once more without the use of Ubercart but rather using the Content Construction Kit (CCK) and Views extensively. Though it will look mostly the same I am switching from using the Zen theme as a base to the Genesis theme. The redesign I am currently working on will enable a clean upgrade to Drupal 7 once it is released, unlike the existing implementation.
In retrospect it was wishful thinking that the company I work for would ever be ready or capable of implementing my plans. The Managing Director has a background in sales and managing restaurants/retail outlets and is a man I have a great deal of respect for, but his background causes him to focus solely on getting the product out to the detriment of everything else and in my whole time here I have never been able to get him to see the wisdom of organising the company operations in a more manageable fashion. If I’m ever asked in a job interview to recount a situation where I could have done better this will be it. I have no hard feelings towards him at all though because were it not for him the company would surely have failed by now, I have only regrets of what I had hoped to achieve.
Playing with Drupal 7
Mar 5th
I’ve been playing with Drupal 7, creating mock-ups, so that I might move the company website to it when it’s released and so far am impressed with the improvements made.
First and foremost is CCK integration. No longer do I need to install 4 or 5 additional modules just to be able to add images that are automatically adjusted to whatever size to content, it’s all built-in! Even better is that fields can now be added to taxonomy terms so I won’t need a hack to have a picture for taxonomy terms anymore.
The Drupal 7 version of Views is looking pretty good too, though it isn’t fully functional.
One area that is lacking is a guide to creating a Drupal 7 theme from scratch. This needs to be addressed desperately unless the powers that be plan on only making use of those of us who created themes for Druapl 6 and took the time to migrate them Drupal 7.
All up, a positive experience so far.
How to Make a Day Interesting
Feb 2nd
You’re working on the company website and suddenly everything is screwed up with the design. What do you do? WHAT – DO – YOU – DO?? If you’re like me you initially blame yourself and eventually discover that a particular directory on your webserver has inexplicably become in accessible via the web.
The problem was exacerbated by the fact that I had CSS and Javascript compression turned on in Drupal, which stores said compressed files in the offending folder, and all of my site images bar those relating to the overall theme were also stored there.
Turning off css and javascript compression made the design return to normal, but all non-theme images were still MIA as well as various other files.
I’ve so far found two other people who are experiencing the same problem and one of them is with the same webhost whil the other is still locally hosted. I conacted my webhost anyway and it seems that was where the problem lay as they have fixed it.
Phew!
Email Newsletters are FUN!
Jan 18th
Ever tried to set up an email subscription service in Drupal? Until recently I hadn’t and now that I’m in the midst of it I wish email newsletters would all rot in hell. The setup is the easy part. The newsletter is the hard part.
A little thing I never knew is that email clients don’t use the same regular html/css that modern or even semi-modern websites use, they are only barely compliant with ancient html specifications which I can barely recall the details of being all modernified as I am. Even worse is that different email clients render html differently!
Would you believe that the current release of Outlook 2007 has worse html support than its predecessor?
Why does the internet hate me?
Moments of Cleverness
Dec 5th
I’ve recently implemented a small change I’m rather proud of to our company website that will automatically display any recipes we have on file that make use of a product you’re viewing. At the moment I’ve only got Texturas recipes so that’s the only thing that will show them, but in time more recipes will mean it slowly spreads to all products.
While I’m on the topic of Texturas, they are an amazing product that I never knew about which allows you to some quite creative things with food that as a food consumer I always took for granted. No more though!
Anyway, the display of recipes is all done using the magic and power of the Views module for Drupal. Quite amazing really and perhaps I will come back to this post when my brother isn’t waiting for me in WoW to detail exactly how I did it.
IE7 Quirks
Oct 28th
I’ve overcome the majority of my problems with IE7 and the page layout is correct, but there is one minor issue remaining.
I have a div named main that contains two divs named content and sidebar. It has nothing else in it. The problem is that main has a background colour and borders that aren’t correctly displaying over the entire region because both content and sidebar are floated divs.
I can keep the layout I already have safe by removing the float from sidebar, but then the background and border extend only to the bottom of content in the sidebar, not to the bottom of main. I presume that reversing the float (so that it is on sidebar instead) would have the same issue, ie the background and borders will extend only to the bottom of content.
I could find a way to make it work but at this point I’ve achieved what I set out to do and I’m loathe to waste anymore time on it. The page layout is correct under IE7, so I’ve relegated the background/borders issue with main to the I-don’t-give-a-shit pile.
PS IE7 also has quirks with relative positioning that I didn’t mention here, but had to deal with.
To Fix Or Not To Fix
Oct 21st
In building the website for my work I’ve experienced a hiccup or two, but it is up and running (www.cibus.co.th). Since opening it up to customers I’ve disovered that the site doesn’t render correctly in any Internet Explorer below 8, and even that only works in compatability mode.
So the question I’ve been tossing around in my mind is should I bother fixing it or should I tell customers to either use a different browser or upgrade to IE8. The reality of the situation is that many of our customers are hotels which more than likely have a very strict IT policy that would not allow users to upgrade to the latest IE so I needed to consider the very real possibility of fixing it. But first, the stats.
How many people viewing our website run browsers that cannot render it correctly? According to the wonderful world of webstats that is Google Analytics a total of 27% of visitors to our website run either IE7 or IE6, far too high a percentage for me to simply ignore.
Next I was faced with a problem inherent to Internet Explorer. Unlike other browsers it’s only possible to have a single version of IE on any one machine so the development of sites that works on all can be quite involved. Enter Sun VirutalBox!
This handy FREE program can create a virtual machine that enables you to install an instance of an OS and whatever else you might desire in a sandbox environment, which is allowing me to test the site in IE7 (I’m considering ignoring the 9% of users on IE6).
Search Expectations
Oct 14th
In this day and age of Google and friends there are certain things you expect when software says it includes search functionality. At the most basic level you expect that if you type in ‘elephant’ it will find all instances of the word ‘elephant’. The next step is that typing ‘free’ would return all instances of ‘free’, ‘freedom’, ‘freely’, ‘freed’, or any other variation of the word. The final, most complex step is that search itself becomes a query language allowing infinitely complex searches to be performed.
Yesterday I discovered that the search functionality included with Drupal is capable of whole word searching only.
I really hate discovering huge failings like this myself and wish they’d be clear from the beginning on such limitations. As a result of this revelation I’ve been reading through discussions on drupal.org about how the search can be improved that have been going on for a disappointingly long time, which unfortunately is quite common with Drupal (a curse of being open source), mainly because certain decision-makers in the Drupal heirarchy feel that full-text search would incur too great a performance hit. This, rather than making it possible for people to find content on your site without explicity knowing what it is called.
This even affects site administrators because when sites get large enough that admins have to search to find a certain node (article/post in Drupal-talk) they must know exatly what they’re looking for to be able to find it.
Luckily there are modules available to replace the built-in search module, but now I am required to manually search through them to find the right solution.
IE Quirks
Sep 29th
Did you know that if you link more than 30 css stylesheets Internet Explorer won’t recognise anything past the 30th? Neither did I and what a waste of time disocvering that was.
Luckily Drupal has a feature where it can take all of your css files and make them into a single on to save file access time.
Drupal’s Steep Learning Curve
Aug 27th
While I don’t think I’ve mastered Drupal I’m past the worst of the learning curve, but there were a number of things that I never saw explained anywhere which caused me many a headache. Many a time I would update some css but after uploading and forcing a page refresh the changes wouldn’t appear and I’d spend the next 20-30 minutes trying to see if I’d mispelt something (which is often the case).
Occasionally it would happen that I didn’t make a mistake though leaving me extremely perplexed and thoroughly unconfident in my ability to learn the intricacies of Drupal, only to have my original changes suddenly appear on the site without me doing anything.
Recent Comments