Problems creating named anchors in Fuel.

edited June 2011 in Bug Reports
I have an FAQ page that I would like to use named anchors to have a summary list of links to questions that link to points down the page to see the full question details. This is basic HTML functionality that is not currently working. If I have this code:

Useful Tips Section
Visit the Useful Tips Section

When clicking on the "Visit the Useful Tips Section" link, it points to http://localhost/#tips instead of http://localhost/faq#tips

What can I do to fix this?

Erik

Comments

  • edited 6:50PM
    It can be fixed if I add faq/ in front of the named anchor like this:

    faq#tips

    But I'm wondering is there a way to configure Fuel to not replace the word FAQ in the URL automatically when encountering URLs that start with "#"?
  • edited 6:50PM
    Are you referring to the site_url() function? Are you sure this is specific to FUEL?
  • edited 6:50PM
    I'm not using the site_url() function at all, just hard-coded old fashioned tags.
  • edited 6:50PM
    You can remove the base href tag in the header file to fix that issue if it exists.
Sign In or Register to comment.