OpenCraft as a company has ceased to exist yet OpenCraft as a living organism of people, networks, and cyberprints will continue to exist.Read more
OpenCraft as a company has ceased to exist yet OpenCraft as a living organism of people, networks, and cyberprints will continue to exist.Read more
Egypt’s leading bookstore, Diwan, launched its long awaited site featuring all of its products from books, music, DVDs, children’s section, and stationery through a searchable catalogue with online ordering and buying options.Read more
Nowadays everything under the sun has SMS notification... I wanted to have them for OpenCraft's Nagios events, to help me manage them.Read more
Recently, we have a need for optimizing the performance of our drupal deployments, beyond the conventional mysql and apache optimization.
The first and easiest thing is to install a PHP Opcode Cache, and after some investigation I decided to try APC. Installing the version in PECL worked well on the staging environment.Read more
While writing the security component for Views Bulk Operations, I needed to create a permission for the execution of each action declared in the system. This would allow the admin to decide which user groups would be able to execute which actions.Read more
Google Spreadsheets are cool, but their problem is that they are hosted at Google instead of in your intranet portal. That means that they don't integrate easily with your other Web documents, in terms of classification, indexing, permissions, etc. The API provided by Google does help there, it's true. But what about adding new features? Google Docs simply isn't open source, and therefore is not ideal.Read more
This is a bit late but I've been extremely busy the past couple of weeks. On the 20th of May 2009 ArabTechies organized a code sprint for 3 days to solve problems related to processing Arabic. I, among other software developers from Arabtechies, worked for 3 days on several projects. I mainly worked on integrating the features of the Ar-php library into Drupal 6. You can find the resulting module on this project page on drupal.org.Read more
In Drupal, can you modify the author of all nodes of type 'Story' whose title contains the word 'News:' to be user 'editor', without going through each node manually (or programmatically) ?
Before Views Bulk Operations (VBO for friends), you couldn't.
VBO builds upon existing modules and APIs to perform the useful function of mass-editing nodes, users, comments, or any other Drupal object. It reuses the incredibly powerful query builder [Views][] to list the nodes of interest, and it reuses the [Actions API][] to allow users to apply operations upon all selected nodes at once.Read more
What happens if you need to open a file with fopen, but find that your function can exit at multiple points? It is tedious and error-prone to call fclose at each exit point. Alternatively, you could re-structure your code to only exit at the bottom, thereby calling fclose only once, but you would end up with many nested blocks that hamper readibility and are generally considered bad programming style.Read more
We are excited to announce that our new website is launched (obviously) :). Visually speaking, we have a brand new design that is beautiful and usable. We focused on making it easy to find all needed information about our work and to get in touch with us.Read more