BuzzingPixel

Ansel for Craft

Ansel for EE

Treasury

Construct

Category Construct

Dashboard (open an issue here)

All Issues

My Issues

News Contact
Log in

Logged in as

Licenses Purchases Profile Change Password Billing Portal Admin
Log Out
Software
Ansel for Craft Ansel for EE Treasury Construct Category Construct
Support
Dashboard (open an issue here) All Issues My Issues
News Contact
Log in
Logged in as:
Licenses Purchases Profile Change Password Billing Portal Log Out
Dashboard All Issues My Issues
Support Dashboard
  1. Home
  2. Home
  3. Support Dashboard
  4. View Issue

Second level pages duplicate URL segment

#206 opened by Imp Designs

Subscribe

Details

Complete

Public Issue

Visibility: Public
2 replies
Last reply by TJ Draper
Created 10/25/2021 4:02 PM
Updated 10/26/2021 8:59 AM
Construct 2.2.0
CMS Version: 6.1.2
PHP Version: 7.3
MySQL Version: 10.4.11-MariaDB

Description

Got a site with roughly this nav set up:

  • Solutions
    • By Industry
      • (different industries)
    • By Department
  • Products
  • Resources

If I'm on the home page, I get what I'd expect from hovering over the Solutions link. I get (site url)/solutions. If I navigate to the solutions page, that link changes to (site_url)/solutions/solutions.

What stupid thing am I doing to cause this craziness?

Replies

  • Imp Designs

    Replied 10/25/2021 4:10 PM

    JESUS. I'm an idiot.

    Just figured out what I'm doing wrong... I'm dropping the leading slash on the output code:

    href="{construct:node_full_route}"

    instead of

    href="/{construct:node_full_route}"

  • TJ Draper

    Replied 10/26/2021 8:59 AM

    Love issues that resolve themselves 😃. Glad you got it working!

Use Markdown for formatting

Details

Complete

Public Issue

Visibility: Public
2 replies
Last reply by TJ Draper
Created 10/25/2021 4:02 PM
Updated 10/26/2021 8:59 AM
Construct 2.2.0
CMS Version: 6.1.2
PHP Version: 7.3
MySQL Version: 10.4.11-MariaDB
Cookie Policy
Privacy Policy
Terms of Service

© 2023 BuzzingPixel, LLC. All rights reserved.