See the Mailing lists or Drupal Issue queue. There are also various working groups on groups.drupal.org

Named anchors in current document

I wanted to have a menu item whose path was #top, but found the # to be a problem.

The workaround I came up with was a change to module.inc

I added the following code - on line 1140 in function url($path...).:

if(strpos($path, '#') === 0) return $path;

this way, the code doesn't mess with simple, in document ref's.

It seems to work fine.

Is there any problem you can see with doing this?

Thanks,

Mitch

On node submit, redirect to front page for non-admin

When I submit a node and its status is "unpublished", I get a view of the node with a pink background (I guess the color depends on the theme) if I am an admin.

When I am not an admin and I am doing the same thing (submitting a node with status "unpublished") I am redirected to the front page with a message that my node was successfully submitted (and it was).

Is this by design ?

I would like to get the "view node in pink" feature for all editors of nodes, not just the admin.

How to output menu in the block as tabs?

Hello,

I have created 5 pages, one of them is a root page (i.e. 'Information'), 4 others are detailed information on different topics. I've created menu items for all of them so that menu items for 4 info pages are childs of the menu item for the root page. Now, they are displayed in the block and root page item is collapsible as usual.

What I want is to display 4 tabs (LOCAL_MENU_ITEM) on the root page each of which will correspond to the child page and displays its content. The title will always be a title of the root page.

I need hook_fom without default settings on the form like Authoring informations,publishing options,comments settings etc

I need hook_fom without default settings on the form like

1) Authoring informations
2) publishing options
3) comments settings
4) menu settings.

How can i create new form without having above given settings on the form. please help me if someone can.

i am using hook_form but it gets all the above given settings by default on the page. while i need a page without these settings and preview button. I tried much more but all in vain.

thanks,

Arshad

aggregator problem (wordpress feeds?)

Can anyone get this feed to update in drupal 5.1?

http://haze.mameworld.info/feed/

I get this:

The feed from Haze seems to be broken, because of error "Attribute without value" on line 7.

Any suggestions? It seems to happen to most wordpress feeds, but maybe I'm just paranoid?

Bug in Forms API 2

Seems to me that i found a bug. Wherever you name a form element like:

//Problem #1
$form['element name with spaces']

the $form_values variable (in validate and submit hooks) gets empty for this element.
Also:

Pages

Subscribe with RSS Subscribe to RSS - Deprecated - Drupal core