Test: node"" TechScreen Revised

Create a new content node

When you create a new content node (e.g. project), then you can extract this content node with features.

You cannot create code for a certain content node with features

You have used the pre-defined CBR Case and added fields.

Insert the following Code in the computed code field

$field_cbr_start = field_get_items($entity_type, $entity, "field_project_start");
if($field_cbr_start != NULL)
$start_date = $field_cbr_start[0]["value"];
$start = strtotime($start_date);
$field_cbr_end = field_get_items($entity_type, $entity, "field_project_end");
if($field_cbr_end != NULL)
$end_date = $field_cbr_end[0]["value"];
$end = strtotime($end_date);
if(isset($end)&&isset($start)) {
$entity_field[0]['value'] = $duration_month;
else $entity_field[0]['value'] = NULL;

CBR Computed Fields do not store any value in DB

I wanted to compute some fields depending on other fields but the CBR Computed Field does not store any value in the database. When computing the same value with the standard Computed Field, the values are all calculated correctly and stored in the DB.

Fixing print-7.x-2.0 module error

First enable the module "dompdf library handler"

After that you have to add the corresponding dompdf module. Sadly the straight forward way did not work in our case. But we found a corresponding solution (Post number 11) on the page https://www.drupal.org/node/850098.
Copy the dompdf module into the following directory: ...\sites\all\modules\print\lib

The mentioned PHP lib can be downloaded using this link:

CBR installation print-7.x-2.0 module error

After several installation steps during the setup of the CBR module, there was a problem concerning the print-7.x-2.0 module while switching to the configuration tab and select "Printer, email and PDF versions". Selecting the PDF tab produces the following error message: "No PDF generation tool found! Please download a supported PHP PDF generation tool ... "

Missing module

I assume that you have not installed the "Computed Field" module?

CBR Computed field, widget -> null

We downloaded CBR from TUWEL and added it as a module as requested. We further downloaded the neccessary dependency modules, as you can see on the second screenshot, all of them are enabled. However, when we are trying to create a CBR Computed field in the CBR content case, there is no widget to select (only null). Saving with null as a widget leads to an error. How can this be resolved? Thanks in advance.


This article solves the following challenge: 

Analog of Mac App Store with an unlimited access to applications

Analog of Mac App Store with an unlimited access to applications

The MacOS App Store is woefully mismanaged. It has bloated to over 30,000 apps. Many of these are of a poor quality, and many of which (appropriately called “dead apps”) have long ceased to be maintained. Worse, many apps (especially developer tools and pro apps) cannot be sold through the App Store, due to Apple’s sandboxing policy. In theory, this exists to protect consumers. It limits the chance of any malicious software slipping into the App Store by limiting what it can do. But this can act as a barrier to some legitimate activities.


Subscribe to TechScreen Revised RSS