russew
Posts: 4
|
| Posted: 07/11/2005, 3:10 PM |
|
I have an include page for bread crumbs using the Path component that is used on various pages. The primary query calls for Department_ID = query String d_id. (No default value set). I would like to make one page to handle 16 departments, without making 16 pages that do the same thing with a different default value set on each page.
I added this code in the Before Build Select:
if ($AcademicBreadCrumbs->NewPath1->ds->Where = "") {
$AcademicBreadCrumbs->NewPath1->ds->Where .= "department_id = 64";
}
This is hard coded for testing, but eventually I will set a variable for the department ID. Unfortunately this doesn't work. The sub pages pull up the Bread Crumbs/Path just fine, but the initial page has no default value. Any thoughts are appreciated.
_________________
wjr |
 |
 |
|