Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Rob-

    We solved the problem! The issue was with the page template selected for the plugin, which we’d set to the blog post template. We had, in essence, a loop within a loop. With some file rearrangement, we were able to get everything to draw correctly. Gah!

    Thanks for responding!

    Rob-

    I work with ahobart so I can weigh in. You got it in one…the custom menu item names are replaced with “Calendar of Events” when viewing the Calendar category.

    So in our case the slug is “events”. When viewing /events/ the custom menu changes to

    • Calendar of Events
    • Calendar of Events
    • Calendar of Events
    • Calendar of Events
    • Calendar of Events
    • Calendar of Events
    • Calendar of Events
    • Calendar of Events
    • Calendar of Events
    • Calendar of Events

    Etc. However, the link values are correctly retained.

    If you drill into an events category, e.g., /events/category/category-name it changes to:

    Calendar of Events
    Category-name
    Calendar of Events > category-name
    Calendar of Events > category-name
    Calendar of Events > category-name
    Calendar of Events > category-name
    Calendar of Events
    Category-name
    Calendar of Events > category-name
    Calendar of Events > category-name
    Calendar of Events > category-name
    Calendar of Events > category-name

    Where every link now goes to /events/

    We’ve gone down several paths of troubleshooting, and are now exploring whether the query pulling Custom Menu is colliding with the query pulling Event Category…but we’re pretty stuck right now. It’s certainly confounding behavior.

    I would be happy to share screencaps or a link privately if you tell me the best way to contact you. Since it is client work I cannot post the link here.

    I wanted to have my links go to a new browser window, while avoiding crazy javascript and still validating XHTML. I found the solution via either the Webstandards or Designers In House list (I think the latter).

    I link to an external javascript in the head of the document. It simply contains:

    function externalLinks() {
    if (!document.getElementsByTagName) return;
    var anchors = document.getElementsByTagName(“a”);
    for (var i=0; i<anchors.length; i++) {
    var anchor = anchors[i];
    if (anchor.getAttribute(“href”) &&
    anchor.getAttribute(“rel”) == “external”)
    anchor.target = “_blank”;
    }
    }
    window.onload = externalLinks;

    And then I set the default value of links to rel=external

Viewing 3 replies - 1 through 3 (of 3 total)