Custom content types not being displayed
j9 - January 24, 2007 - 05:08
| Project: | Node list |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | wmostrey |
| Status: | closed |
Jump to:
Description
Not sure if it has to do with the fact that I changed the content type name from page to software, but it doesn't seem to be displaying the list of nodes.
http://www.freewebsoftware.org/node/list
I tried checking all three option boxes
Show node author
Show date of node creation
Include node children when using therm hierarchy
and leaving them blank, but that doesn't seem to change anything.
Any thoughts?
Thanks for a cool and useful mod!!

#1
Did you select the type 'software' in the "node types to include" checklist?
#2
Yes.
Thanks for the help.
#3
BIG thank you for updating the module...
I am getting the same error... blank page of any content type I have created with CCK will not show up... but the default ones (page, story), shows up...
hope this helps...
-gripmedia.net
#4
This was another caching issue, it should now be fixed in the latest dev version. Can you confirm that all works well for you now?
#5
I overwrote the old version with the new, deactivated the module and reactivated it, resubmited the settings configs and still it gives an empty page. Anything else I might try?
Thanks for your help --
#6
Strange. With an empty page, you mean a 'page not found', a node list pages with no nodes listed or a complete blank page?
When you select just one of the next types, does it display them?
#7
Not a 'page not found' error - rather an empty node list w/ the proper heading.
See this page for the issue:
http://www.freewebsoftware.org/node/list
I tried the other content type, but that was resulted empty as well.
If it might make a difference, there is no categories (taxonomy) set up w/ the site.
Thanks again, very much!, for your help. If I am the only one getting this problem, it is probably me. :-)
#8
Refering to http://drupal.org/node/120005
Does hedrooms proposal fix this issue too?
"I fixed this on line 253 of nodelist.module
Old Line = $node_types = drupal_map_assoc(node_get_types('names'));
New Line = $node_types = node_get_types('names');"
#9
Thanks to the code by hedroom, i updated this in http://drupal.org/cvs?commit=58258
Can everyone confirm this fixes this issue?
#10
I made the changes to lines 141 and 250, deactivated the module, reactivated it, resaved the settings in settings > nodelist, but still I don't see anything on the node list page:
http://www.freewebsoftware.org/node/list
This could easily be an error on my part, but I believe I've made all the correct changes.
Is anyone else experiencing this issue?
Thanks again for the help.
#11
It was a caching issue once again.
On line 144 of nodelist.module change
if ($cached == cache_get('nodelist:'.$md5)) {
to
$cached = cache_get('nodelist:'.$md5)
if (!empty($cached)) {
Please confirm that all is ok then.
#12
#13
Hi -
The code you provided almost worked. I had to add a semicolon to get it to load properly. Here is what I have:
$cached = cache_get('nodelist:'.$md5);
if (!empty($cached)) {
Thanks a lot for this fix!!
Glad to be rockin the nodelist mod again! :D
#14
So glad to hear that :) The current 5.x-1.x-dev version includes this fix. Thanks for all the help and reporting!
#15