Permalink

Hi Kosta,

I know this is a very old post but i have to try it. I've done a similar custom module but I need to set a default value and it seems impossible.

I tried with "defalt_value" "value" "default". It would be like this:

$items['story-nodes'] = array(
'title' => t('Story nodes'),
'options callback' => '_demo_get_story_nodes',
'default value' => '0',
);
but it is not working at all. Do you know hoy to do it?

Thanks!!

Restricted HTML

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id>
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.