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

hiding a certain menu item

i would like to show certain menu items under navigation only to authenticated users. users who are not signed in shd not see them. How do i do it?
pls help.

Custom TinyMCE settings?

Anyone know the proper way to customize the initialization settings of TinyMCE so that you can put more tags into the filter or change the width of the window?

drupal_add_js problems

So here is the situation. I have to add some js files for one specific section of one specific module. I have included the following call:
drupal_add_js('playlist/javascripts/core.js', 'module');

How to create a forum "homepage"

I'm trying to create a online discussion forum in my website. So far, I've enabled the forum, comment, and taxonomy modules. I've successfully created a sample threaded discussion, where online readers are responding anonymously or are logging in to post their replies.

Changing the year range in the form's date element

I am using the date element in my form. I would like to change the range for the years. The default is 1900 to 2050 as coded in expand_date(). How can I change the year range?

Store form generation time in hidden field

I'm trying store form generation time at value field.

  //Store form generation time
  $form['time'] = array('#type' => 'value', 
    '#value' => time()
  );

But while at submit time I'm read this value from $form_values parameters this form field contain form submission time not form generation time.

Pages

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