Auto-Nav only links to home page
Permalink
Does anyone know why upgrading to 5.6.1.2 from around v5.6.0.2 would cause my site Nav to malfunction? When I edit the site Nav and preview the links, they are correct. But when I publish the page, they all point to the home page. I'm guessing it's due to incompatibility with modifications I made to it, but I don't know why that would change with an update...
http://aguadelavida.info, left sidebar.
I think I am going to try rolling back...
http://aguadelavida.info, left sidebar.
I think I am going to try rolling back...
My best guess is it may be something in this code that no longer is available with the updates?
if ($_c->getCollectionAttributeValue('replace_link_with_first_in_nav')) { $subPage = $_c->getFirstChild(); if ($subPage instanceof Page) { $pageLink = $nh->getLinkToCollection($subPage); } } if (!$pageLink) { $pageLink = $ni->getURL(); }
I rolled back to the previous install and it works fine. When I checked the code before rollback, I was getting something like <a target="_blank" href= > without the values.