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!!

Comments

wmostrey’s picture

Assigned: Unassigned » wmostrey

Did you select the type 'software' in the "node types to include" checklist?

j9’s picture

Yes.

Thanks for the help.

GripMediaDotNet’s picture

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

wmostrey’s picture

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?

j9’s picture

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 --

wmostrey’s picture

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?

j9’s picture

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. :-)

wmostrey’s picture

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');"

wmostrey’s picture

Thanks to the code by hedroom, i updated this in http://drupal.org/cvs?commit=58258

Can everyone confirm this fixes this issue?

j9’s picture

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.

wmostrey’s picture

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.

wmostrey’s picture

Title: Empty Node List (after changing content type name from page > software?) » Custom content types not being displayed
Component: User interface » Code
Status: Active » Reviewed & tested by the community
j9’s picture

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

wmostrey’s picture

Status: Reviewed & tested by the community » Fixed

So glad to hear that :) The current 5.x-1.x-dev version includes this fix. Thanks for all the help and reporting!

Anonymous’s picture

Status: Fixed » Closed (fixed)