147 Posts
MtnPavlas
9 years ago
Topic
Fellow Sebloders, would anyone have an idea what could be causing a link from a List&Search page to the full content take on the path to the wrong menu item?
Some details:
Content type "Ride Report"
Menu Item "Ride Reports", which is List&Search with no template assigned, and therefore simply lists the "Intro" version of the content type "Ride Report"
The ride report title has a link assigned to it with these settings.
Desired behavior: The link to the ride report would read something like this: /ride-reports/rr-28
Actual behavior: /trails/rr-28

The page/content displays but for Pete's sake, it's the wrong URL and because of it now the breadcrumbs are wrong as well as the wrong menu item is highlighted on the main navigation.

I tried playing with the link settings, including using the value "Inherited" in "Menu Item" but to no avail.

Thanks for any pointers, P
Get a Book for SEBLOD
147 Posts
MtnPavlas
9 years ago
0
Level 1
OK, I solved this via a work-around - chose "None" link and "HTML" typography with the following code in it: 
<a href="/index.php/ride-reports/$cck->getValue('art_alias');">*value*</a>

This is not ideal because if I ever change the Ride Reports alias or move the menu items around (e.g. put Ride Reports under Trail Finder), I'll have to remember to change this value. Good enough for now, though.

Of course, if any of you, Sebloders, have ideas on what I could check on to make the proper use of the "Link" functionality, I'd be eternally grateful. Haven't had any issues with it before other than this and also it doesn't work for me on field where I'm using sdDatabaser Typo plugin. Thanks much, P
693 Posts
rpoy
9 years ago
0
Level 1
Hi P,

Do you have the cache enabled?

thanks,

Randy
147 Posts
MtnPavlas
9 years ago
0
Level 1
Thanks Randy. Cache is disabled. Now the result is the other way around... the "see trail info" link now leads to the content of the ride report. Weird... I'll poke around some more and will report with more details. Please share any other ideas you, guys, may have. Thx, P
Get a Book for SEBLOD