development

A very simple PHP link shortener / simplifier

There's lots of web sites that provide link shorteners (bit.ly, tinyurl.com, imc.li, tiny.booki.cc; to name but a few).  In the past I'd always used tinyurl.com, but then I started working on a project to provide a book of useful technical tips for political activists and grassroots campaigners and some people on the project were concerned about the security implications of third parties logging the redirects, having to have a named account in order to edit the links and the potential of the lin

Access Control module prevents View of user's own unpublished content

I was pulling my hair out about some Drupal 7 Views weirdness!  For some reason my normal users weren't able to view their own unpublished content even though they had the permission View own unpublished content permission set under the Node section.  Users could view and edit the node if they went to the node directly, but it wasn't possible to show the node in a view, unless the user was an Administrator that is.  I had got to the point of installing and using the Views Unpublished module, but this seemed like an imperfect solution.

Syndicate content