Knowing where I am...

Creating and modifying plugins.
Post Reply
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Knowing where I am...

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply