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

[FEATURE] Add an option to exclude certain GET variables in the language menu #740

Closed
wants to merge 2 commits into from
Closed

[FEATURE] Add an option to exclude certain GET variables in the language menu #740

wants to merge 2 commits into from

Conversation

dmitryd
Copy link
Contributor

@dmitryd dmitryd commented Dec 18, 2014

Sometimes it is necessary to exclude certain GET variables from the generated language link. For example, there can be a parameter to the page, which makes sense only for the current language. Current implementation of the language menu viewhelper does not allow to exclude such variables.

Introduce a new viewhelper parameter named "excludeQueryVars" and use it to exclude parameters if necessary.

Please, note that existing "configuration" parameter cannot be used for this due to the way how variables are added to additionalParams now.

@NamelessCoder
Copy link
Member

This is an automated comment based on an automated formal commit review.

Your pull request contains formal errors. Comments have been assigned to each commit in your pull request - please review and adjust. Feel free to ask for help if you need it!

@dmitryd dmitryd changed the title Add an option to exclude certain GET variables in the language menu [FEATURE] Add an option to exclude certain GET variables in the language menu Dec 18, 2014
@coveralls
Copy link

Coverage Status

Coverage increased (+0.02%) when pulling adcee63 on dmitryd:add-querystring-var-exclusion into 586feac on FluidTYPO3:development.

@NamelessCoder
Copy link
Member

Thanks Dmitry - for the feature as well as for fixing our incomplete implementation of the link building ;)

Cherry-picked and squashed into development as b07b98e with a nit-pick in CGL amended (space between type cast and variable being cast).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants