30 Dec 2007, 11:41 AM
New Zenner
- Join Date:
- Dec 2007
- Posts:
- 19
- Plugin Contributions:
- 0
Side Box Anywhere & Specials
Hi
I've installed the Side Box Anywhere module successfully to my website.
What I want to do is put a variable into the php of my website so that if there are no specials, it will display the whats_new.php sidebox. However, I'm having difficulty in finding the right variable.
I'm doing it as:
IF ($variable)
require($special_sidebox.php)
else
require($whats_new.php)
I think I want is someway of saying:
IF ($special.RecordCount > 0)
(although this isn't working).
Can anyone help?
Thanks
Simon