Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding parameter to existing url #4565

Open
Jimmi08 opened this issue Sep 12, 2021 · 0 comments
Open

adding parameter to existing url #4565

Jimmi08 opened this issue Sep 12, 2021 · 0 comments
Labels
type: question An ask about behavior that is not found documented anywhere

Comments

@Jimmi08
Copy link
Contributor

Jimmi08 commented Sep 12, 2021

Question

I am adding URL parameter with javascript. This is an example, it could be something else.

`onChange="document.location = '".e_REQUEST_SELF."?skin=' + this.options[this.selectedIndex].value + '$querystring';">";

The actual page shouldn't change. Because it works almost everywhere, I am curious why it fails sometimes. I thought it was related to SEF-URLs, but it wasn't.

Remove filename from the URL is set ON. Associate Root namespace None.

No issues:

  • forum plugin
  • news plugin (SEF and legacy URLs, both work)
  • gallery (SEF tested, front + pages work)

Problem:
page.php - page.php?skin=xy returns 404, invalid page
all other links (book, chapter, pages, SEF and legacy work)

Frontpage
?skin=xy is changing the layout. not layout for the homepage is detected.
I tried it with index.php?skin=xy too, the same problem, the layout is changed (falls to default)

User profile
it can't be used on user profile at all

Thanks

@Jimmi08 Jimmi08 added the type: question An ask about behavior that is not found documented anywhere label Sep 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: question An ask about behavior that is not found documented anywhere
Projects
None yet
Development

No branches or pull requests

1 participant