<%args> $tabsComp => undef; $headComp => undef; $cBoxComp => undef; $mBoxComp => undef; <%init> my $title = "Dean's Advisory Council, College of Arts and Sciences, University at Buffalo"; my $description = qq{}; my $keywords = qq{}; my $additional = undef; $tabsComp = '/sitewide/comp/alumni/ad-council.comp'; $mBoxComp = $m->fetch_comp($mBoxComp); <%doc> ################################################## Name: casHeader.comp This first component sets up the main cas banner, nav bar, html head section and so on. Also defined below are the values you can pass into the header. These will override some defaults for you, if the defaults are not specific enough. (The defaults are defined in casHeader.comp) Note that for the "$additional" parameter(s), you can enter big blocks of header code, including css, js, and other meta stuff. Use with discretion though: your output will be exactly what you enter here. Use links to css files and js src files rather than writing in code on the right hand of the expression below ################################################## <& /sitewide/comp/plaf/casHeader.comp, title => $title, keywords => $keywords, description => $description, additional => $additional &> <%doc> ################################################## Name: sectionTabs.comp This component writes out the tabs, rollovers and img maps that head the left hand contents box. Please note that in almost all the cases, you don't need to adjust anything in this section, as /authohandler will take care of it for you ################################################## <& /sitewide/comp/plaf/sectionTabs.comp, tabsComp => $tabsComp, headComp => $headComp &> <%doc> ################################################## Name: "Left Hand Content Area: "The Content Box" Left hand side contents goes here. Note that you can write html directly below or use components--or use any combination of these. If using components, of course, you could also pass parameters into them. Finally, one can even write perl code directly below--again in combination with components and/or html. For the index.html pages of the main site sections you can just leave the default as given below Also note what is happening below: We pass in a path leading to a certain component and fetch the component located at that path. We then call the default method of that comp. If need be, below you could fetch a component at any path you need and either output its results directly, if it doesn't have methods, or use some method other than the default used below. Most importantly, you can pass parameters into the comp or methods used below. ################################################## <& contrib/ad-council.html &> <%doc> ################################################## Name: "boxDivider.comp" This just writes out some snippets of html to structure the content box table. Leave this alone. ################################################## <& /sitewide/comp/plaf/boxDivider.comp &> <%doc> ################################################## Name: "Right Hand Miscellany Area: "The Mix Box" Right hand side section miscellany and features goes here. Ditto notes for the content box above: you can write html directly below or use components, or write perl here--or use any combinaton of these. For the index.html pages of the main site sections you can just leave the default as given below Also note what is happening below: We pass in a path leading to a certain component and fetch the component located at that path. We then call the default method of that comp. If need be, below you could fetch a component at any path you need and either output its results directly, if it doesn't have methods, or use some method other than the default used below. Most importantly, you can pass parameters into the comp or methods used below. ################################################## <% $mBoxComp->call_method('mBox') %> <%doc> ################################################## Name: boxFooter.comp This component closes the main content frame html table. The only thing that can be passed into it are the text links at the bottom of the contentBox that mirror the tab headings at the top of the frame. Please note that in almost all the cases, you don't need to adjust anything in this section, as /authohandler will take care of it for you ################################################## <& /sitewide/comp/plaf/boxFooter.comp, textTabsComp => $tabsComp &> <%doc> ################################################## Name: casFooter.comp This component just closes the page. There is no need to pass anything into it, or otherwise alter it. ################################################## <& /sitewide/comp/plaf/casFooter.comp, cBoxComp => '/alumni/contrib/ad-council.html' &>