{"id":30017,"date":"2012-12-27T06:46:32","date_gmt":"2012-12-27T14:46:32","guid":{"rendered":"http:\/\/tri.be\/support\/forums\/topic\/dropdown-nav-not-working-with-widgetized-sidebar\/"},"modified":"2012-12-27T06:46:32","modified_gmt":"2012-12-27T14:46:32","slug":"dropdown-nav-not-working-with-widgetized-sidebar","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/dropdown-nav-not-working-with-widgetized-sidebar\/","title":{"rendered":"Dropdown nav not working with widgetized sidebar"},"content":{"rendered":"<p>I\u2019m working on theme that displays the  Events calendar a on page with dynamic(widgetized) sidebar. I\u2019m using a modified version of ecp-page-template.php  in a an events directory I made in my theme, per your directions.<\/p>\n<p>ecp-page-template.php  calls the sidebar like this: , <\/p>\n<p>and sidebar-events.php has this code  blah blah  ,<\/p>\n<p>and the secondary sidebar is registered in functions.php.<\/p>\n<p>With this setup, the dropdown calendar month and year selectors lead to a mostly blank page. For example, if I change the year from 2012 to 2007 using the dropdown, everything from the page header down disappears. The url in the address bar displays this: http:\/\/localhost:8888\/events\/undefined2007-12<\/p>\n<p>And this appears on the debug log:<br \/>\n\u2022\tRequest:<br \/>\n\u2022\tevents\/undefined2008-12<br \/>\n\u2022<br \/>\n\u2022\tQuery String:<br \/>\n\u2022\tname=undefined2008-12&amp;category_name=events<br \/>\n\u2022<br \/>\n\u2022\tMatched Rewrite Rule:<br \/>\n\u2022\t(.+?)\/([^\/]+)(\/[0-9]+)?\/?$<br \/>\n\u2022<br \/>\n\u2022\tMatched Rewrite Query:<br \/>\n\u2022\tcategory_name=events&amp;name=undefined2008-12&amp;page=<\/p>\n<p>Here\u2019s what I\u2019ve done to troubleshoot this error.<\/p>\n<p>I disabled all other plugins. Didn&#8217;t change it.<\/p>\n<p>I tried the calendar in Twenty Twelve, Twenty Eleven and Twenty Ten. The error reproduces only in Twenty Ten.<\/p>\n<p>I tried a non-wigetized sidebar on the Events page. That works just fine. Alas, there\u2019s a widget plugin that I want to use on all my pages so this isn\u2019t a solution.<\/p>\n<p>If you could help out with this it would be great. I&#8217;m aware it will be next week before I hear anything.<\/p>\n<p>Thanks<\/p>\n","protected":false},"template":"","class_list":["post-30017","topic","type-topic","status-closed","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Dropdown nav not working with widgetized sidebar -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/dropdown-nav-not-working-with-widgetized-sidebar\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Dropdown nav not working with widgetized sidebar -\" \/>\n<meta property=\"og:description\" content=\"I\u2019m working on theme that displays the Events calendar a on page with dynamic(widgetized) sidebar. I\u2019m using a modified version of ecp-page-template.php in a an events directory I made in my theme, per your directions. ecp-page-template.php calls the sidebar like this: , and sidebar-events.php has this code blah blah , and the secondary sidebar is [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/dropdown-nav-not-working-with-widgetized-sidebar\/\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/dropdown-nav-not-working-with-widgetized-sidebar\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/dropdown-nav-not-working-with-widgetized-sidebar\/\",\"name\":\"Dropdown nav not working with widgetized sidebar -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2012-12-27T14:46:32+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/dropdown-nav-not-working-with-widgetized-sidebar\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/dropdown-nav-not-working-with-widgetized-sidebar\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/dropdown-nav-not-working-with-widgetized-sidebar\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/theeventscalendar.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Topics\",\"item\":\"https:\/\/theeventscalendar.com\/support\/topics\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Calendar Products\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Events Calendar PRO\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/events-calendar-pro\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Dropdown nav not working with widgetized sidebar\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\",\"url\":\"https:\/\/theeventscalendar.com\/support\/\",\"name\":\"\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Dropdown nav not working with widgetized sidebar -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/dropdown-nav-not-working-with-widgetized-sidebar\/","og_locale":"en_US","og_type":"article","og_title":"Dropdown nav not working with widgetized sidebar -","og_description":"I\u2019m working on theme that displays the Events calendar a on page with dynamic(widgetized) sidebar. I\u2019m using a modified version of ecp-page-template.php in a an events directory I made in my theme, per your directions. ecp-page-template.php calls the sidebar like this: , and sidebar-events.php has this code blah blah , and the secondary sidebar is [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/dropdown-nav-not-working-with-widgetized-sidebar\/","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/dropdown-nav-not-working-with-widgetized-sidebar\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/dropdown-nav-not-working-with-widgetized-sidebar\/","name":"Dropdown nav not working with widgetized sidebar -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2012-12-27T14:46:32+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/dropdown-nav-not-working-with-widgetized-sidebar\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/dropdown-nav-not-working-with-widgetized-sidebar\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/dropdown-nav-not-working-with-widgetized-sidebar\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/theeventscalendar.com\/support\/"},{"@type":"ListItem","position":2,"name":"Topics","item":"https:\/\/theeventscalendar.com\/support\/topics\/"},{"@type":"ListItem","position":3,"name":"Calendar Products","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/"},{"@type":"ListItem","position":4,"name":"Events Calendar PRO","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/events-calendar-pro\/"},{"@type":"ListItem","position":5,"name":"Dropdown nav not working with widgetized sidebar"}]},{"@type":"WebSite","@id":"https:\/\/theeventscalendar.com\/support\/#website","url":"https:\/\/theeventscalendar.com\/support\/","name":"","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/30017","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/30017\/revisions"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=30017"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}