Every now and again you stumble on a blog post that you want to shout about....in fact if you could, you might run up to the author and hug them. Today was one of those days.
If you've done a bit of work using PHP you'll be familiar with the ever useful print_r function to output to screen complex datatypes like arrays or classes. If like me you're also still working on some legacy sites with classic ASP you'll regularly wish such a function exists in vbscript.
Sadly it doesn't.....but I wrote one which you're welcome to......
If you're reading this post then you're probably already using the great free service provided by ISSUU called "smartlook" which enables people using your website to read your PDF's online like a book (have a look at this example from a Drupal website we built)....and if you're not a) how did you get here and b) you should be using it!
Smartlook is funny little tool which ISSUU themselves really don't seem to make much noise about and if you've had a look in forums will have discovered aren't super quick at responding to "issues" (excuse the pun) about either. So one wonders if one day it will cease to exist, but never the less right now its still here and is pretty good.
A problem I came up against was that I needed 2 links on my page. One for reading online with smartlook and one so that users download the pdf, and issue kept hi-jacking both links so even the download one opened in issuu. A bit of searching soon made me realise this was a common frustration.....
As you may have heard twitter have final fully deprecated version 1 of their API. One of the most annoying things about this is that it takes away all the open feeds and search functionality.....In fact it's particularly annoying for me because only recently I wrote a little article on how to selectively post to Facebook from twitter and suddenly my cunning solution doesn't work anymore.
If you're making any vague attempt to keep up with the monster that is social networking then you'll no doubt be on twitter and Facebook, however you may well also have realised after your initial burst of enthusiastic activity that actually trying to come up with unique stuff both twitter and Facebook is pretty time consuming and kinda you requires you to be in creative mode all the time - that or have a particular bee in your bonnet, and I don't know about you but I struggle with that......fear not I have a plan!
I came across a little problem this week when trying to create a nice user journey using the Drupal Subscriptions module. Basically I wanted to allow a user to subscribe to various taxonomy terms in one go rather than one at a time. This meant I need to take them to this element of user account page directly rather than using the term subscribe links that the module provides.