Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Currently when we enable search404 module we can only update custom page title and custom page text for multilingual site . But if we want to give a custom search path for each language on site we are unable to do it because it overrides the path entered in textbox
Proposed resolution
We should set this variable also has multilingual so that the user has the flexibility to change the custom path as per the languages in the site . So that each language has different custom path
Remaining tasks
User interface changes
None.
API changes
None.
Data model changes
None.
Comment | File | Size | Author |
---|---|---|---|
#12 | custom_path_search-2681037-12.patch | 4.24 KB | anish_zyxware |
Comments
Comment #2
Shreya Shetty CreditAttribution: Shreya Shetty commentedComment #3
Shreya Shetty CreditAttribution: Shreya Shetty commentedHere is the patch which sets the custom path variable as a is a multilingual variable.
Comment #4
Shreya Shetty CreditAttribution: Shreya Shetty commentedComment #5
Shreya Shetty CreditAttribution: Shreya Shetty commentedComment #6
anish.a CreditAttribution: anish.a as a volunteer commentedI tested this and couldn't make it work.
The variable is not saving properly. Can you check?
Comment #7
anish.a CreditAttribution: anish.a as a volunteer commentedOn further investigation, I found that its the issue with the multilingual variables in settings page. When I set using multilingual variable editor, it works fine. But on settings page, the value is not saving properly.
Comment #8
Shreya Shetty CreditAttribution: Shreya Shetty commentedHi anish ,
Thanks for reviewing the patch . I had moved the settings of custom patch URL under the advanced settings tab . But now i have kept it where it was before and it appears to be fine .
Comment #9
Shreya Shetty CreditAttribution: Shreya Shetty commentedComment #10
arjun_sreekumar CreditAttribution: arjun_sreekumar at Zyxware Technologies commentedComment #11
arjun_sreekumar CreditAttribution: arjun_sreekumar at Zyxware Technologies commentedComment #12
anish_zyxware CreditAttribution: anish_zyxware at Zyxware Technologies commentedSome code cleanup. Done final patch.
Comment #13
anish_zyxware CreditAttribution: anish_zyxware at Zyxware Technologies commentedMerged the code.
Comment #14
anish_zyxware CreditAttribution: anish_zyxware at Zyxware Technologies commented