Indeed, Drupal 7 does not appear on the home screen of Acquia anymore. However, you can still set up a Drupal 7 site manually with minimal effort. At the time of this writing, Drupal 7 ist still not in EOL and is receiving security updates. As such, you should go to https://www.drupal.org/project/drupal/releases and see what the latest version of Drupal 7 is (currently 7.77). Click on the link for the latest Drupal 7 version and you will be given an option to download it as a .zip file. You should extract the contents of this file into a folder where you want your site to be. Then, when you start Acquia you will be asked if you want to create a new site or import an existing one. Select that you want to import a site and point Acquia to the folder where you have extracted your Drupal 7 distribution. This will register the site normally and you will be able to launch your site from Acquia, so you won't have to set up PHP, MySQL and Apache yourself, but will be able to easily use Drupal 7.
I want to use the feature plugin to export our CBR system. On the feature site, under the "Components - Content types" I don't see our CBR Model, I currently see only the examples, "Article" and "Basic page", is this okay, or should I see there the CBR model?
Thanks in advance
First trial was to analyse the function answers_init, where
drupal_goto('node/' . $node->answers_related_question->value()->nid, array('fragment' => 'node-' . $node->nid->value(), 'alias' => TRUE));
is called to change the URL for viewing the answer together with the question.
Instead of a simple node structure the whole entity is passed via arg(1). And thus I do not need the entity_metadata_wrapper to extract data.
function answers_init() {
if (arg(0) == 'node' && is_numeric(arg(1)) && arg(2) == '') {
$node = node_load(arg(1));
if ($node != '' && $node->type == 'answers_answer') {
if(!isset($node->answers_related_question))
$node = entity_metadata_wrapper('node', $node);
//if ($node->type->value() == 'answers_answer') {
drupal_goto('node/' . $node->answers_related_question['und'][0]['target_id'], array('fragment' => 'node-' . $node->nid, 'alias' => TRUE));
//drupal_goto('node/' . $node->answers_related_question->value()->nid, array('fragment' => 'node-' . $node->nid->value(), 'alias' => TRUE));
//}
}
}
}