jsherk
Posts: 34
|
| Posted: 01/24/2009, 8:03 AM |
|
I have an includable page that is added at the top of all the other pages in my project.
I want to modify the text displayed by the includable page depending on which regular page is loaded.
Is there a way for the includable page to check and see which regualr page it is being loaded with?
Example:
home.ccp (home.php) has an includable page inserted at the top called mymenu.ccp. Can my mymenu.ccp determine that it was loaded by home.ccp in this particular example?
Thanks
|
 |
 |
jsherk
Posts: 34
|
| Posted: 01/24/2009, 8:24 AM |
|
Figured it out!!!
It's the global $FileName variable..
Example:
global $FileName;
echo $FileName;
|
 |
 |
|