Hello all,
I followed the screencast on developmentseed.org in order to play around with spaces alpha3. Very nice to follow btw. I executed the tutorial with blog node type and everything worked.
Following the tutorial I generated a new view for a different node type. Afterwards I generated a context definition as follows:
$items[] = array (
'namespace' => 'spaces',
'attribute' => 'feature',
'value' => 'file_archive',
'node' =>
array (
'file' => 'file',
),
'views' =>
array (
'spaces_files' => 'spaces_files',
),
'spaces' =>
array (
'label' => 'File archive',
'description' => 'Access file archive',
'menu' =>
array (
0 =>
array (
'title' => 'File archive',
'href' => 'file_archive',
),
),
'types' =>
array (
'site' => 'site',
'taxonomy' => 0,
'user' => 0,
),
),
'theme_section' =>
array (
'title' => 'file_archive',
'subtitle' => 'file_archive',
'class' => 'file_archive',
),
);
Applying the source for primary-links in admin/build/menu showed the blog menu item, but the new context definition for file_archive is not shown, although I entered a menu definition as can be seen from above.
What am I missing? Hints are greatly appreciated
Best wishes
Sebastian
Comments
Comment #1
jmiccolis commentedSetting this to won't fix - as we're not maintaining the 1.x series anymore. I'd encourage you to take a look at spaces 3.x