related content don't show in my site
pixelpreview - May 9, 2008 - 12:55
| Project: | RelatedContent |
| Version: | 5.x-1.7 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Description
I have a lot of modules enabled in my site
I can see the tab related content in my node, I have selected a lot of views and I have of course coched enabled in content type "page"
but under the tab related content, nothing ... I have the text but no nodes to select ...
I use drupal 5.7 and a particular module taxonomy theme for switch from a color theme from folder to folder ...

#1
is it a potential conflict with anothers modules ? which modules ?
#2
I have already disabled my modules ... disabled and enabled relatedcontent module but nothing ...
I have a lot fo views selected in my content type page and I can't see nodes under the tabs from my pages ...
#3
I assume you have enabled one or more Views in the RelatedContent configuration area of the content type in question. Does the name of these views show up next to the Overview subtab in the edit form of a node of that content type?
Does the selected views show nodes when you go to their View tab (e.g.
admin/build/views/xxxwherexxxis the view in question)?#4
yes
some printscreens
and a link to a view , I have a lot of nodes
http://www.nivelles.be/new/compte_rendu_conseils
#5
no solution, I close the post
I will retry with a clean install, I think it's certainly a bug with an another module...
#6
Hi
I have exactly the same issue with version 5.x.17 and Drupal 5.10.
I've enabled the related content and ticked some views to show up for the newsletter content type. I can see the views individually (admin/build/views/xxx). However, no view is showing up when editing a newsletter : the Related Content tab is displayed but not the sub-tabs ; the node list is displaying "No nodes selected."
Many thanks for your help
Laurent
#7
yes I think it's simply because your theme don't show the secondary tabs ... look at the template.php in garland theme.
copy and paste the function below in your template.php in your theme folder:
/**
* Override or insert PHPTemplate variables into the templates.
*/
function _phptemplate_variables($hook, $vars) {
if ($hook == 'page') {
if ($secondary = menu_secondary_local_tasks()) {
$output = '<span class="clear"></span>';
$output .= "<ul class=\"tabs secondary\">\n". $secondary ."</ul>\n";
$vars['tabs2'] = $output;
}
// Hook into color.module
if (module_exists('color')) {
_color_page_alter($vars);
}
return $vars;
}
return array();
}
I think that will be resolve your problem. Go to your node and you will be the secondary tabs with the name of your views ... above "No nodes selected."
#8
Thanks/Merci pixelpreview
I am using Garland theme, so the code you mentionned is already there.
I've tested the module with a fresh install and it works fine with no fix. As you rightly pointed it above, I think there is a conflict with another module, though I can't tell which one unfortunately.
Many thanks
Laurent
#9
closed