Wednesday, Nov 12, 2014
For a recent project, we’ve been trying to find an easy way of allowing our client’s staff members to create and edit content using a WYSIWYG editor. However, they also wanted a fair degree of control over the layout of the content, without using any html editing. To achieve this, we decided to create a solution inside the WYSIWYG editor in order to keep the user interface as simple as possible. The editor we were using for this project was ckeditor 4.4.3.
...
Wednesday, Sep 3, 2014
Just a quick code snippet here. I had been looking for a reasonable way to sort an array by the values that are inside it. For example if your array is:
$array = array( 'id' => 1, 'name' => 'Graham', 'id' => 2, 'name' => 'Will', 'id' => 3, 'name' => 'Ryan', ); But you want your array to be order by name; in this order:
$array = array( 'id' => 1, 'name' => 'Graham', 'id' => 3, 'name' => 'Ryan', 'id' => 2, 'name' => 'Will', ); Here is a quick function to help you out. It will also sort in reverse order if you like.
...
Thursday, Feb 27, 2014
Will Hall Online are excited to announce that we will now be offering both development AND design in house from March 2014.
Why now? Regularly our services are employed by Web Design agencies offering web development but not being able to deliver the functionality required by their clients. Having worked with a vast number of designers we feel that it is in the best interest of our clients that we offer the both design and development as part of our service. An opportunity has arisen which has made it the perfect time to bring a designer onto the team.
...
Monday, Feb 24, 2014
We are pleased to welcome two fantastic additions to the team at Will Hall Online.
Stephanie has been working for us behind the scenes for some time and has now joined us in an official capacity as Marketing Director. She will be responsible for much of our client liason and her role shall encompass new leads, public relations, marketing and social media. So you are very likely to come across her in your journey with us. With a diverse business background, knowledge of the industry and superb organisational skills she is sure to be an invaluable part of our machine.
...
Tuesday, Aug 13, 2013
As a follow up to my previous post on Drupal 6 Post Migration Data Clean Up, I thought that a follow up for Drupal 7 would be useful. In this one I have also included the block_custom table for custom blocks, which seems to be a place I have overlooked before.
Update links inside node body and custom blocks: UPDATE `field_data_body` SET `body_value` = REPLACE(`body_value`, "http://[temporary site]", "http://[new URL]"); UPDATE `field_revision_body` SET `body_value` = REPLACE(`body_value`, "http://[temporary site]", "http://[new URL]"); UPDATE `block_custom` SET `body` = REPLACE(`body`, "http://[temporary site]", "http://[new URL]"); Update links to files/images within nodes and custom blocks: UPDATE `field_data_body` SET `body_value` = REPLACE(`body_value`, "sites/[temporary site]", "sites/[new URL]"); UPDATE `field_revision_body` SET `body_value` = REPLACE(`body_value`, "sites/[temporary site]", "sites/[new URL]"); UPDATE `block_custom` SET `body` = REPLACE(`body`, "sites/[temporary site]", "sites/[new URL]"); Another useful place if you are looking for post migration is to rebuild your sitemap (using xml_sitemap) and clear all the caches.
...
Tuesday, Jul 30, 2013
As I am sure most of you are aware, spam, in the case of unsolicited advertising or off-topic posting as opposed to the processed meat, and bots, the ones that remotely attempt to do stuff on your site, are two of the largest problems for any website that allows comments, signups, creation of content or such like. I have recently been looking into ways to prevent spam and bot-based site registrations in Drupal 7, as on several sites we were experiencing that Captcha’s were simply not preventing enough. Using a various combination of the below modules, we were able to prevent up to 90% of the previous spam and bot-based registration with little effect to regular users.
...
Thursday, Jun 13, 2013
Getting accurate details from users about the setup of their system can be difficult. Often the quizzical user may suggest “it doesn’t look like that on my computer” or “can you make it bigger on the screen”, however, when you ask what browser, screen size, operating system they are using it can be possible to get a blank look. In fact I am sure we can all appreciate that some people think of Internet Explorer as the internet.
...
Friday, Mar 15, 2013
Recently I have been building a ticketing system in Drupal, which allows logged in users to create support tickets and administrators to comment on them, change them between statuses and close them. All this is mainly done by controlling a content type, called tickets, which only administrators and the creators can see alongside enabling comments and firing a few Rules off to control notifying people of changes and changing between statuses.
...
Sunday, Jan 27, 2013
I thought that a retrospective at DrupalCamps (not sure whether those words should be joined or not?) over 2012 would be an interesting thing to look at. Both to see the enthusiasm and passion that is behind the Drupal community in the UK & Ireland but also to contrast with other development and tech conferences. My initial inspiration was receiving a mailshot from an unnamed conference offering conference tickets at the early bird price of £999.99 (+VAT). Personally I found this price rather expensive (although I am sure that there could be claims that they have to pay for venue, food, security, presenters and such like), however, it made me wonder about the great disparity in cost from different conferences.
...
Wednesday, Dec 5, 2012
There are lots of details online about how to create and edit web pages/sites and how to make things look pretty, however, there is a lot less about how to get things working nicely on servers be them development or live servers. Of course, hosting websites is maybe not something for everyone and certainly at Will Hall Online, my usual response may well be to get a server to run your website but if you are running a small website, with limited resource requirements, shared hosting can do a fantastic job. However, in an effort to let you know more about configuring your server (be it a development, staging or production server) I am sharing a few resources I found to be illuminating when looking at tuning your server.
...
Connect on LinkedIn. Follow me on Twitter. Grab the RSS Feed