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

dropdown menu

hi

anyone tell the module for dropdown menu. other then nice_menu module.

also

how i show the menu at the top or leftside at the same time.

Javasctipt Error: Tagname is null or not an Object in DHTML_MENU

Hello,

Javascript Error: Tag name is not null or not an object.

Pre Clauses:

Install Dhtml menu and than enable it from blocks,.

Error Get:

Error getting on click of final child not,

Thax

Open,read and write into a text file using drupal

Open,read and write into a text file using drupal

I am trying to write some informations into a file using drupal in a module pls help me

Drupal CVS and project licence

Is the drupal CVS only for Open Source Modules?

I have developed quite a collection of Drupal modules. All collected together on local CVS server.

Most of these projects I cant release under a open source licence because it would put the company that paid for the module development at a disatvantage because then their competition could download the module and see exactly how their "System" for the company works.

I'm basicaly in a dilema here because most of the contract work involved with this is my bread and butter.

Alter Content Search Results

At the moment I am writing a module which should allow you to search inside documents attached to nodes. When you search and one of the keywords is found in the document I want the results to show the node and under the teaser a link to the attachement.

This is the problem, I can't find a way to set the Attachment: 'File' under the small teaser. This is because I can't get my hands on the $item array.

When using your own hook_search you can easily change the data by using hook_search_item($item). However to do this with the node system I just can't find a way except for in the template system.

-The hook_nodeapi(&$node, 'search result') lets you add output, however you can't put it between the teaser and the links. So after this failed I thought lets make a wrapper for node_search with my own module_search so we can combine the search results. However I am not able to not let node_search invoke.

- Another way would be to let node not register as Content and just make it invisible. This way you could make your own search 'Content Search'.

However is still think the best way would be to have a change in the core:

$extra = node_invoke_nodeapi($node, 'search result');
$results[] = array('link' => url('node/'. $item->sid, NULL, NULL, TRUE),
'type' => node_get_types('name', $node),

primary links access

Hi

i have couple of primary links namely - 'log out' & 'my groups' which i want to appear only if an authenticated user signs in. Right now they appear on the top all the time even when no user has signed in.how do i do this?

Thanks

Abhishek

Pages

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