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

Taxonomy_dhtml style dhtml menu in block

Hi,

Can anyone please guide to setup automated tree style menu from specific vocabularies or categories as seen on http://www.satluj.com/

It is a long time demand, but..
Nice Menus module outputs different style of menu, if anyone can implement that. I am too much confused right now :-X

Hope good from drupal techies.

Thanks!

action: change role upon first publication of specific node type

Has anyone written (or is it even possible) an action for the Actions module that does this?

Say: if a user has signed up and logged in. They then publish a new Organic Group node (a new "group"). I need the system to then change their role from just Authenticated User to a new "Group Leader" role.

I'm just clueless as to even how to start trying to write something like this. I can putz around with PHP code, but I'm far from being a coder.

Thanks in advance,
MJ - SavoryMedia

Adding a search excerpt

How do I define a search excerpt for my module nodes?

Any ideas?

several instances of tinyMCE

Drupal 4.7.0, tinyMCE 2.0.6.1

Trying to use several instances of tinyMCE on one page
with modules like "excerpt". The data from "excerpt" textarea
is not submitted. I heve similar results with "home made" modules
which use several textareas substituted with tinyMCE.

tinyMCE works fine when I only use it in one textarea on page.
If i disable richtext editor in all textareas but one, everything
works fine as well.

Please help. Need several textareas with rich text editor.

validate hook_settings()

Hello,

I was wondering how i could validate the settings a site administrator makes in the hook_settings().
For a module i'm creating, the admin can choose from dropdownlists containing numbers, but the first selected number should always be smaller then the second.

Now i put some checks in hook_validate(), but the code never gets executed.
How would i go about validating the settings a site administrator made?

BTW i'm using Drupal 4.6
Kind regards

GLOBALS through AJAX

I'm trying to create a php block that uses prototype.js's Ajax.Updater function to execute a php file. however the php file doesn't seem to be able to access the globals variables $user and $active_db.

If I print_r($GLOBALS) I get a [GLOBALS] -> Array *RECURSIVE* which I know means that the GLOBALS variable is referencing itself, but not sure why or how I can just get access to the the $user and $active_db objects.

Any ideas? Less then 2 weeks on drupal, 3 years on PHP.

Pages

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