Project:String Overrides
Version:6.x-1.7
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (duplicate)

Issue Summary

I am attempting to override user login form error messages based on the location/path the user triggers the message.

For example, if the user submits the form from path /user > display overridden error message A

or if user submits the same form, from a different path. lets say the login block on any page > display overridden error message B

Not too sure if this functionality is in scope for this module but I feel like it could be a really nice/useful feature for a future release.

Comments

#1

Title:string overrides per path settings» string overrides visibility settings

Changed the title of this post, the concept is the same as visibility settings for blocks.

I have looked into the visibility api project but not really sure how work with the api, there is very little documentation.

#2

Status:active» closed (works as designed)

Unfortunately this is out of scope for String Overrides. As much as I'd like to get contextual string replacement, String Overrides just gives you an interface around changing the overrides in the global level. If we go further then that we could run into major performance hits. I'd suggest collaborating with the original module maintainer and seeing if you could get more contextual strings for where you want to override them.

Thanks!

#3

I like to see this visibility feature in this module. it will be a great plus to the module. I know this will be very useful to many of us.

#4

Status:closed (works as designed)» closed (duplicate)

#1057894: Context Module Integration

nobody click here