gary1106 Posted January 27, 2003 Share Posted January 27, 2003 I want to change the breadcrumbs script to incorporate other possible locations above "top" other than "catalog". for example "top>>catalog", AND "top>>educational resource". My orginal idea was for a scipt in the application_top.php to check which file it was currently included in and add the correct link. ie. $CurrentDocumentName =$PHP_SELF; If ($CurrentDocumentName = "/catalog/test.php") { add catalog breadcrumb } elseif ($CurrentDocumentName = "/catalog/education.php") { add education breadcrumb } but this doesn't seem to work. Would $PHP_SELF refer to applicaton_top file or the file that includes the application_top file? any help would be appreciated Link to comment Share on other sites More sharing options...
gdfwilliams Posted January 27, 2003 Share Posted January 27, 2003 $PHP_SELF will return the page that you're on, but not with the directory (e.g., /catalog/). Maybe that's the problem? - GDW Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.