Page 1 of 1

Re: Knowing where I am...

Posted: Wed Jun 22, 2005 10:26 am
by garvinhicking
Yes, using PHP you can check that via:

Code: Select all

$is_single_entry = (isset($serendipity['GET']['id']) && is_numeric($serendipity['GET']['id']));
Inside smarty this is already available as {$is_single_entry}. It contains a boolean true/false.

HTH,
Garvin