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

Categorizing Nodes and permisions

Hi there!

I have a node module for allowing anonymous users to publish a certain kind of content. I´d like only administrators to be able to categorize that content.

¿Is there a way to hide the node´s form taxonomies to anonymous users and allow the administrator or other roles to categorise that node? ¿Any other solution?

Hope I explain myself enought
Thanks
rlbravo

Gallery Navigation block doesnt display

Hi. Enabled Gallery Navigation block but it doesnt appear on the site anywhere. What else do I need to configure?? Thanks.

How do I add my own functions to the registration page?

I just want to add some extra text to my registration page along with some simple functions, but I don't know where to put my codes. Can anybody help me with that? Thanx

I am using Drupal 4.6, MySQL, and FreeBSD.

Content preview bug(?) Please Help

I am having an issue with both custom modules and the standard, out of the box modules where whenever a user selects the "preview" option on the create content screen the message "your was created" is displayed and an empty node is created in the databse. I had hoped that upgrading from 4.7.1 to 4.7.2 would fix this error, but no such luck. If anybody knows anything about this kind of problem or needs to see some code to help let me know. Thanks for all your help.

story_load

hi,

how can i add values to node (nodetype: story) other than add story_load function to story.module? i mean, is there any way not to touch the original module an doverwrite such function? (so i wont forget it next version upgrade :)

thx in advance

/h

Display search results as HTML in _search_item

I've started working on my first module, so be gentle. Actually, it's a modification of the swish.module, where I am attempting to bring back highlighted hits. I believe anyone who has been able to bring back results in a search, regardless of the module, will be able to answer this.

Basically, I've put in a hook that takes the search request and does a socket call to a site that is returning html code. That html is coded to display the highligted hits. The problem is that what is displayed on the Drupal page is the html source code, and I want the html processed and displayed as laid out in the code. How do I accomplish this?

The code in question is here:

/**
* Overrides the _search_item hook.
* Returns a nice html output of each found item.
*/
function swishpdf_search_item($item){
global $base_url;
$output = $item['title'];
return $output;
}

$output should be displayed like this:

1 SDSSdtSearchSetup.pdf -- rank: 1000
SDSS dtSearch Subscription Server Setup The current SDSS dtSearch Subscription Process requires dtSearch Web and Authentix products. Please note that the requirements and setup for the SDSS dtSearch Subscription Process are the same as for the SDSS Authentix Subscription Process. Please print out and review the SDSS Authentix installation and configuration documentation located here: http://client.scbbs ... The following components are required in order to establish an SDSS dtSearch Subscription Process on Windows NT or 2000 machine. ...

Pages

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