Skip to main content

Timeline for specify context on hook_menu drupal

Current License: CC BY-SA 3.0

10 events
when toggle format what by license comment
Feb 17, 2014 at 15:41 answer added latvian timeline score: 0
Jan 28, 2014 at 14:14 vote accept latvian
Jan 28, 2014 at 14:02 comment added latvian kiamlaluno, i have $vars['theme_hook_suggestions'][] = 'page__'.$type; in the hook_preprocess_page function. The custom theme function with that name seems to be working. thank you
Jan 28, 2014 at 7:50 answer added avpaderno timeline score: 1
Jan 28, 2014 at 7:27 comment added avpaderno As side note, the template filename for render-some cannot be page--some. Also, you cannot use render-some as theme function identifier, since the hyphen cannot be part of a PHP function name: "A valid function name starts with a letter or underscore, followed by any number of letters, numbers, or underscores."
Jan 28, 2014 at 7:03 answer added xurshid29 timeline score: 1
Jan 28, 2014 at 6:48 comment added latvian Yes, sorry. The Context module and then the node that i am trying to render via hook_menu() is configured to 'Node Type'
Jan 28, 2014 at 5:54 comment added xurshid29 what is context configured? Are talking about Context module?
Jan 28, 2014 at 5:51 history edited latvian CC BY-SA 3.0
added 31 characters in body
Jan 28, 2014 at 5:42 history asked latvian CC BY-SA 3.0