Drupal7: VBO clone taxonomy fields FEB 2016

David G - DrupalOn a live website for a departmental unit at my work, we’ve undergone some changes to the website wherein the major options a Course can be associated need to be changed. Typically the Majors on the site were a single Taxonomy Tree in Drupal and it was available as a field between Courses and Alunni and Faculty. But, once I altered the values of the Majors to the current offerings this quarter — we collectively noticed that Alumni wanted to be referenced by any valid major ever used in the system, not simply the newest majors.

So I wanted to make this available to Alumni by copying all the current values of Majors to a new field for Alumni and a special Vocabulary, which will then be expanded to include all possible majors ever. To do this I used Views Bulk Operations and Rules as detailed below. Learn More

Tags: , , , , | Posted under Drupal | Leave a comment

Fatal Error Cannot Redeclare Function II

In the previous article, we saw how to prevent an error like this one by wrapping the function in an if (! function_exists() statement.MODX logo

[code language=”html”]
Fatal error: Cannot redeclare functionname() (previously declared in
path/somefile.php:49) in path/somefile.php on line 55

In this article, we’ll look at a better method: putting the function inside a class. Learn More

Tags: , , , , | Posted under MODX, MODX | Leave a comment

Delete Domain DNS Zone Records in WebsitePanel

In this article, I will give you a step-by-step guide on how to delete domain DNS zone records in WebsitePanel. Learn More

Tags: , , , , , , | Posted under WebsitePanel Tutorials | Leave a comment