[development] Advice on a menucallback

Chris McGinlay chris at ascentsoftware.org.uk
Thu Jul 12 11:30:27 UTC 2007


On Thursday 12 July 2007 03:35, Rob Barreca wrote:
> Ramiro Gómez wrote:
> > Add
> >
> > print theme('page',$content);
> >
> > at the end of your rockstanza_list_creative() function.
>
> Actually, you can just return $content; and it will get wrapped in
> theme('page') automatically.
>
> -Rob
Thanks, returning $content is a neat and tidy solution and works fine.

Chris


More information about the development mailing list