Help please folks - this one is driving me MAD and I know I'm going to kick myself but...
Q : How can I find out from within a template which script I am running?
I've spent hours, Googling, experimenting, searching but to no avail. I know that within each .php script there is the ledgend -
so it's got as far as the PHP constants - but how do I get at simple info like that from within a template? What I want to do is very simple, basically it's -
Go on, put me out of my misery 
Thanks
Keith L
Q : How can I find out from within a template which script I am running?
I've spent hours, Googling, experimenting, searching but to no avail. I know that within each .php script there is the ledgend -
Code:
// #################### DEFINE IMPORTANT CONSTANTS ####################### define('THIS_SCRIPT', 'index');
Code:
<if condition="$?????what_goes_here????? == 'specificscript'"> this bit of html <else> that bit of html </if>

Thanks
Keith L
Comment