This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

bizarre: category and relativity both steal content

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?

Can I disable a module through the database?

I disabled one required module from the e-commerce package by accident and now the site doesn't work! Can I re-enable it through a field in the database?

-I answered my own question! Status field in system table set to '1' for active and '0' for inactive.

Here is the SQL for the product.module (edit for the module you are trying enable)
UPDATE `system` SET `status` = '1' WHERE CONVERT( `filename` USING utf8 ) = 'modules/ecommerce/product/product.module' LIMIT 1 ;

-Tom

Q: Track number of views for a node?

Is there a way I can display the number of views a node has had? Is there some type of data for this stored in the database?

Thank you :)

Q: Display topic link in last post on forums?

Is there a way I can display a link to the last post in my forum? Right now it says something like:

2 hours 48 min ago
by user

where I want it to say:

topic title
2 hours 48 min ago
by user

Is there a way I could do this?

Thanks!

Wich variable retrieve the original path ?

I use html code to replace the 'edit' track' and 'view' tabs with images.
But it doesn't work if I use the path rewrite module.

Wich variable retrieve the original path ?

I need to use something like ./node/94 and not ./webzine/daedelus to complete it with /edit or /track

<a href="/<?php print $node_url ?>/edit" title="edit this node"><img src="/my_edit_icon.png" alt="edit" title="Edit the current node" /> ?>

Do you understand what I mean ?
:)

Thanks. I Hope you can help me :)

How to create a callback function that returns a file?

Hello,

How can I create a callback function that, rather than returning a page, sends a file (in this case, a PDF) to the user?

Thanks a lot!

Merc.

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions