I'm trying to get previous page and next page links. Yesterday I installed category. All the content in the body of my book pages disappeared, only the titles remained. (I installed the wrappers). Today I installed relativity, which is supposed to be a great module (like category) and is supposed to create good parent-child links. Exactly the same problem. All the content disappears, only the title is shown. I am puzzled in that I've seen others rave about these two modules and no one else reporting this problem. Any clues?

other installed modules are
urlfilter (day 1)
nodevote (March 15, 2006)
organic groups (March 16, 2006)
cck (March 20, 2006)
codefilter (March 20, 2006)
views (March 21, 2006)

www.drupalecommerce.com. you won't see the problem because I'll disabling those modules unless I'm working on fixing the site.

thank you

Comments

karens’s picture

I have installed cvs versions of both category and relativity and never had a problem like this, and it's unlikely that both would exhibit the same behaviour if it was something specific to one of them, so it sounds like it's something in your installation.

When you say the content disappears, is it actually disappearing from the database or just not appearing on the page (I assume it's the latter, since relativity for sure wouldn't be tampering with your database). If it's not appearing, is anything below the content appearing, or does it look like everything stopped when it got to the content? If that is the case, maybe this is a memory issue and you're just getting what the system can provide before it runs out of gas. Can you increase memory? Or try unenabling all modules except the one you want to test and see if that makes any difference.

Have you tried installing the devel module? It's great for trying to see what's going on while you're debugging problems. Install it and turn on whatever elements you want (probably all of them for now), then go back and try some of the things that are problematic. It will show you what queries are being called and what modules are calling them, which ones are taking the most time, etc.

kae’s picture

karens,
thank you. no, the stuff under the body appears (eg next page link). only the body disappears. everything else is there. and if I disable the module, the content reappears.

devel+og destroyed one of my sites so I'm waiting for the backup function in 4.7 dba to be fixed before i install devel again! I'll try reading the code for these. if you think of anything else, please write!

are you using both category and relativity, or you chose category over relativity? it'd be great to hear about your decision process and how you use them. thank you.

karens’s picture

I looked at both, probably for the same reason you did, to find ways to connect content together. I had to delete one or the other because of memory limitations (and there is some overlap anyway). Here is my read:

1) Relativity is a nice, much simpler method of connecting any two nodes together. It doesn't add a lot of overhead or require any alteration of any other modules and it does not do anything to any other tables. It doesn't handle the scope of what you can do with category, just connects nodes together, which may be all you need. The downside is that it really hasn't been ported to 4.7 yet (there's an unofficial 4.7 version in the issues table) and it is not clear who if anyone will be taking responsibility for keeping it up in the future.

2) Category has a lot of capability. Besides the ability to link nodes together in numerous ways, you can get a nice table of contents on each container and category page, back and next links, and it has a views hook so you can put together almost any kind of display of child nodes that you want. The downside of category is that it has lots more overhead, numerous tables, and requires you to alter your data and if you want to be able to use any module that relies on book or taxonomy you have to use wrappers for those modules.