Disinformation, in order to be effective, must be 90% accurate.
I don't use the built in update functionality provided by the Update module for updating code. I like to use it for reminders and push back statistics of modules used for Drupal.org. However, someone people do use it. Sometimes this piece of functionality can fail and throw an interesting message which doesn't seem to have many answers despite the best Google-fu.UpdaterException: Unable to determine the type of the source directory. in Updater::factory() (line 99 of ../www/includes/updater.inc).
An exception because a source directory can't be determined. Turns out that the logic before the exception throw is checking if the temporary directory containing update downloads is an actual directory.
It is looking for the following:$directory = 'temporary://update-extraction-' . _update_manager_unique_identifier();
If you encounter this error, check your file system settings (/admin/config/media/file-system) and make sure the temporary directory is configured properly. If you're not sure what it should be, remove the entry and resave the form, populating your web server's default. Then make sure Drupal (or, rather, your webserver) has permissions to write to that temporary directory.
ChainedFastBackend is a new cache backend in Drupal 8 that allows you to chain 2 cache backends.More articles...
- Deploying changing module dependencies with Drupal
- Distinct options in a views exposed filter: The Views Selective Filters Module
- Drupal Session Handler: everything you need to know
- Setting up Code Syntax Higlighting with Drupal
- Hiding the fact that your site runs Drupal
- Calling .Net Framework and .Net Assemblies from PHP
- How to use NetPhp
- PHP 7 nightlies for Windows
- Bypassing Form Validations and Required Fields in Drupal: the BFV module.
- Using Heatmaps to boost conversions: Heatmap.me Drupal integration
Integrates http://mjolnic.com/fontawesome-iconpicker/ with drupal. Exposing a new element and widget like text field.
VBO Validation is a module that provides hooks to add validation between the execution of a VBO and its form or
Adding validation to prevent a VBO from executing is easy when you have a form step. But without a custom form, adding a
validate function is a delicate exercise of making your module invoke last, form altering, checking for the existence of
certain form elements and actions, and then adding your validation hook.
Here is a shortcut to that process!
This module will provide you with two hooks:
The Field tokens module add two additional types of field tokens; Formatted fields and field properties.
Formatted field tokens
Formatted Field tokens are tokens allowing one or many field values to be rendered via the default or specified field formatter.
The format is:
Field property tokens
Field property tokens are tokens allowing access to field properties on one or many fields.
Properties are dependent on the field type.
The format is:
For a new twist on our keynotes, we are excited that our Thursday mainstage will highlight two community speakers that both have important and intersting topics that all Drupalers can benefit from hearing.
This month Pune Drupal group had more than 75 active attendees participating in Drupal Monthly Meetup. We are thankful to Cybage Software Pvt Ltd for hosting the event on 26th June 2015 at their premises.
The basic agenda of the meetup was to launch the Pune Drupal Camp 2015 website and present the camp highlights.
Relying on proprietary CMS solutions in the government space would inevitably lead to disgruntled users who consistently remark on the clunky workflows, heavy reliance on technical staff to make changes and diminishing value as the platforms age and require more and more maintenance.
By default Search API (Drupal 7) reindexes a node when the node gets updated. But what if you want to reindex a node / an entity on demand or via some other hook i.e. outside of update cycle? Turned out it is a quite simple exercise. You just need to ...
I had a case recently, where I needed to add custom data to the node display and wanted this data to behave like a field, however the data itself didn't belong to a field. By "behaving like a field" I mean you can that field at node display settings and ...
I'm a big fan of fighting with Drupal's inefficiencies and bottlenecks. Most of these come from contrib modules. Everytime we install a contrib module we should be ready for surprises which come on board with the module.
One of the latest examples is Menu item visibility (https://drupal.org/project ...
Drupal Views offers us a cool feature: ajaxified pagers. When you click on a pager, it changes the page without reloading the main page itself and then scrolls to the top of the view. It works great, but sometimes you may encounter a problem: if you have a fixed header ...
A simple task: list all the users on a site, optionally filtering by role or by status. Difficulty: using drush.
I had searched around a bit for this functionality and my Google-fu had failed me, so I decided to build off of work that already had been done and write a drush user-list command. (The internal monologue went something like this: "Is this a thing? It doesn't look like this is a thing. This should be a thing. Why is this not a thing? Let's make this a thing.")
Ani Gupta, Drupal Mumbai community lead, StartupNext lead, formerly at Axelerant in India, and I got the chance to continue the conversation I began with Piyush Poddar at Drupal Camp London about the changing face of IT and open source in India. Under the heading "from consumption to contribution" we talk about India's move from being perceived as being good for cheap, outsourced code to being a place rich with brands and startups in their own right and the home to much open source contribution. We also talk about old versions of Drupal, the Drupal community and its mentoring culture, open source acceptance in business and government, and more!
Is it because I’m not capable of being bullet-proof? Nope. Over the centuries I’ve written countless programs in 370 Assembler, 1130 Assembler, Mnemonic Assembler, APL, PL/1, Fortran, COBOL, Basic, SPL (the HP one), and on and on. Even Xerox 9700 form language. I was one of those people in the university comp-sci department that people hate; someone who never had to study. Don’t misunderstand. It wasn’t a matter of being better, necessarily, but that my thought process is the jelly to programming logic’s peanut butter. I have known many developers who could code circles around me, but I also have a wealth of experience combining the ability to internalize a client’s business issue and visualizing a solution for crafting it. So, if I think that it’s not simply a matter of aptitude, then what is it?
I have a bit in common with Steve Jobs. Huh? Yeah, really. We both grew up about the same time, were exposed to early computing at a young age, had our first programming experiences via timeshare teletype terminals and early CPU’s with toggle switches, were completely seduced by how software improved and fulfilled our thought process, and we both had part of our foundation poured at Hewlett-Packard.