This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//OptionTree Stuff | |
$eventCat = ot_get_option('event_cat'); | |
?> | |
<!--FILTER--> | |
<div id="filter" class="blackBar"> | |
<ul> | |
<li><a class="active" href="#"><?php echo get_cat_name($eventCat); ?></a></li> | |
<?php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// CHECK THE TARGET PAGE FOR A NonRobotRedirector SUBLAYOUT | |
Control nonRobotRedirector = LayoutManager.GetLayout(I, typeof(NonRobotRedirector)); | |
// CHECK TO SEE IF THE TARGET FOR THE BUTTON ON THIS BLOCK IS LINKING TO A PAGE THAT CONTAINS A NonRobotRedirector | |
if (nonRobotRedirector != null) | |
{ | |
// TARGET PAGE HAS A NonRobotRedirector CONTROL ON IT. RENDER LINK AS OnClick JAVASCRIPT PUSHDOWN. | |
BreadcrumbList list = BreadcrumbManager.BuildBreadcrumbFromItem(I); | |
if (list.HasNavItem) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
protected override void OnPreRenderComplete(EventArgs e) | |
{ | |
// LOOK FOR A SESSION VARIABLE CALLED "trail" | |
if (Session["BreadcrumbTrailThatWillClickNavigation"] != null) | |
{ | |
// SESSION CONTAINS THE VARIABLE. EXPAND MENU TO SHOW THAT TRAIL | |
String script = "hj$(document).ready(function () { oreida.SiteNav.load('" + Session["BreadcrumbTrailThatWillClickNavigation"] + "'); });"; | |
//ScriptPlaceholderBottom.Controls.Add(src); | |
HtmlGenericControl htmlScript = new HtmlGenericControl("script"); |