We were very pleased to hear the thecorknews.ie won the ‘Best Online Publication’ award at the 2014 Irish Web Awards yesterday. Congratulations to The Cork News team!
The register reported today about a nasty SQl injection vulnerability in Drupal 7 (in the Database abstraction API):
Better upgrade to 7.32!
If you want a particular role to see another’s unpublished posts in drupal, then the quickest (and possibility most dangerous) way of achieving this is to grant the role in question this permission:
bypass content access control
It sure aint pretty but it works, use at your own risk!
Drupa 7 Views renders exposed taxonomy term filters as either a select box / drop-down or an auto-complete. This may not be the best option especially if you allow the user to select multiple terms to filter with. So is there any way to render these filters as check-boxes instead? Well the bad news that you can’t by default, but the good news is that there is a module called Better Exposed Filters which allows you to do it easily!
To switch the filter to checkboxes, first install the module. Then make sure that your filters are exposed in block form – to do this open the ‘Advanced’ section in views and under ‘EXPOSED FORM’ set ‘Exposed form in block:’ to yes. Now change the ‘Exposed form style:’ setting to ‘Better Exposed Filters’ and then edit its settings by clicking on the ‘BEF Settings’ link.
In this screen find you taxonomy filter and in a select box like this ‘Display “tid” exposed filter as’ change the value to ‘Checkboxes/Radio Buttons’.
Now once you save your view the term filters should be rendered as check boxes!
If you are using the easy social module in drupal 6 with a quirky (read rubbish) theme (or sometimes ubercart) then you may notice that the social media buttons don’t get displayed on some node types.
To get around this problem you may have to alter the node’s template to manually insert the Easy Social module’s output – and hence the social media buttons. Add the following to the relevant node template which can be found in your theme folder:
More information can be found here.
PS It’s high time you were using drupal 7! ;-)
If you have a view that exports a filter form, you may find that the form is not displayed when the view is rendered in a block as a ‘block display’, even though it may display perfectly in a ‘page display’ as part of the same view.
This problem had me rather worried until I came across this post, simply changing the ‘Use AJAX’ view setting to ‘Yes’ seems to solve the problem (at least it did for me! ;-))
To change this setting, click on the ‘Advanced’ area in the view’s settings, and in the section called ‘OTHER’ you will see a setting called ‘Use AJAX’, change this to ‘Yes’ and hopefully your filter form will now display as part of your block view!
Class, just found this post that makes mention of Drupal 7 successfully hosted on a Raspberry PI!
Brilliant, it’s like chocolate and mint, my two favourite things brought together, I have have just found myself a new hobby!
Recently we came across this red/pink error message on an old(ish) Drupal 6 site that is running on shared hosting:
strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() ... blah blah blah ...
It seems that this PHP warning is new to PHP 5.3 so we reckoned that the shared hosting must have upgraded their PHP to 5.3, anyway it turned out that adding the following line to the site’s php.ini file got rid of the red error message:
date.timezone = 'Europe/Dublin'
This explicitly sets the time zone to ‘Europe/Dublin’
Here is an interesting article about Dries’ vision for Drupal 8:
I like the focus on the editorial experience to help people mange content on-line, drupal is great CMS but it can sometimes be quite difficult for non webbies & techies to effectively manage the content on their drupal websites – in fact this really could have been given more attention in d7 (oh well)!
What is also interesting is the recognition that drupal has become more of a web platform than just a CMS alone – that’s how we use it!
The Cork Opera House has recently launched its brand-spanking-new website – www.corkoperahouse.ie
It was designed and developed by our web design partners at Pride Design in Cork, we had a great time helping them to build this website which contains loads of multi-media content with facebook and twitter integration. Once again we worked closely with pride on the development of this fully content managed website which was (as always) site built with drupal.
So if you are in Cork for the weekend and fancy a good show, why not have a browse over the site and see if anything catches your eye!
Address: 43 Churchgate, Wicklow, Co. Wicklow, Ireland.
Telephone: +353 87 2236429
- Flutter App no longer building after upgrading to Android Studio Electric Eel (Java errors)
- Flutter on Web does not support HTTP streaming (e.g. no support for MJPEG streaming)
- C++ toolkit for analyzing GPS path data – distance, speed, heading etc.
- Pylon EnumerateDevices() not finding Basler GigE cameras
- Code to calculate heading / bearing from two GPS latitude and longitude Points
- Code Example: Convert Decimal Degrees and Minutes (DDM) to Decimal Degrees (DD)
- Simple Wrapper of boost::asio for receiving UDP datagrams
- mktime() always uses local time zone and converts from UTC