Forums / All Other Contributions/Addons / Side Box Anywhere & Specials

Side Box Anywhere & Specials

Locked

Views: 987

Results 1 to 1 of 1
This thread is locked. New replies are disabled.
30 Dec 2007, 11:41 AM
#1
sjemms avatar

sjemms

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