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

Changing Core Functionality

Hello.

I need to change the way my Drupal installation behaves and the best way I can think of is changing node.module. I know I shouldn't change core files, so where am I going wrong.

What I'm trying to do is change the way nodes are sorted when a particular node-type filter is in place on the "Content Management/Content" page. I've tried to locate a hook function that will give me the right access (hook_form_alter comes close - &$form array doesn't provide the field I need to sort by) but it just doesn't seem possible without hacking the core.

Please help!:)

How to keep form_values from anonymous stage to log on stage in multistep?

I am sure this is a common scenario and many people may have encountered this: anonymous users enter info in a form; after a couple of steps it gets to the point where only log on users can access (let's say, log on to check out). Before log on, form values in multi steps store fine in anonymous stage. But after log on, all form values are lost.

How can I get around this and carry the form values from anonymous stage to log on stage? As now, I suppose setting session variables, not the form api (even with #multistep be true), is a viable way. Correct me if I am wrong.

Install hook quesiton

Is there a way to force the install hook for a module to run again?

Since I've added a custom module, I've added some code to the install hook. I disable the module and re-enable it again, however the code in the install hook doesn't get run. It ran the very first time I installed the module.

Use hook_link to modify menu link?

I would like to modify the "website" link that appears in the OG group menu so that when you click on it, the url opens in a new window.

I found a possible solution using phptemplate http://drupal.org/node/75192#comment-144123, but I was wondering if there was another way, using, say, hook_link or hook_filter? Another way other than modifying the OG code that creates the link.

Thanks!

Drop Down Menu expanding for all categories

Hi,

I'm using the sucker fish code for the drop down menu's at supplychain.com

The problem is that on the secondary pages (not the homepage), if you click something on the page (could be anything from white space to a dead link), and hover over more than one drop down category, all of the categories stick and stay expanded.

Here is what it looks like: http://www.chazcast.com/dropdown2.jpg

Any help is appreciated.

Thanks

Pages

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