Drupal tips |
Maintaining a Drupal site, or a collection of sites is much easier if everything is kept completely separate--Drupal core, contributed modules, and the site itself. |
|||
These notes are my personal online notebook of useful commands and "how-to's". You are welcome to make use of them if you find them helpful. They obviously don't come with any warranty! Click on one of the category tags above for the notes in any category. |
|||
If you are getting the error message: The following module is missing from the file system: <em class="placeholder"> <<module name>> </em>. In order to fix this, put the module back in its original location. |
|||
Note that it is the .conf file that controls which version of php is used. For some reason this does not seem to be available for php55. |
|||
This method will allow mobile users to be redirected to another url which shows a site based on the same database but with a different theme.
|
|||
Purpose of tools and their dependencies
|
|||
apt -y install openssh-server apt -y install tasksel tasksel install lamp-server
|
|||
As I wrote here:www.drupal.org/…omment-9134347 Webform descriptions can be made to take any tags using: php -r "print json_encode(array('a', 'em', 'strong', 'code', 'img', 'ul', 'ol', 'li'));" | drush vset --format=json webform_allowed_tags -
["a","em","strong","code","img","ul","ol","li"]
drush vset --format=json webform_allowed_tags '["a","em","strong","code","img","ul","ol","li"]' drush vget webform_allowed_tags # check value is set |
|||
So far CloudFlare has proved to be an excellent service. It is very useful for providing extra safety for old Drupal 5 sites that have not yet been upgraded.
|
|||
A new way of creating a website is using what is sometimes called a “headless” site, with the front end being served by an MVC framework (Model View Controller). Headless Drupal means using Drupal purely for content creation and management and feeding all the data in JSON format to a JavaScript front end. |
|||
