On Thu, 2010-12-30 at 14:09 +0100, Christian López Espínola wrote: > I'm right now using > substr($view->current_display, 0, 4) == 'page' > but I wonder if there is any way more elegant.
That's how I use it, too. And it seems quite elegant to me :)
On Thu, 2010-12-30 at 14:09 +0100, Christian López Espínola wrote: > I'm right now using > substr($view->current_display, 0, 4) == 'page' > but I wonder if there is any way more elegant.
That's how I use it, too. And it seems quite elegant to me :)