Hello Community,
We hace some scripts placed on the Announcement Banner,
Lately thev've been growing up, so my question is
Is there a way to leave there just the call to inject?
Such as Velocity's #Parse() method?
Thank you all in advance
You could probably write somthing with js, but you'd still need to store the condition-logic somewhere (which template is taken at which condition) and also you'd need to store the templates on a client-accessible place, so that sounds complicated.
The easier approach would be to use a plugin.
The Scriptrunner Plugin for instance, brings some nice options to conditionally write a message. Every message also has a button to enable/disable it.
That can help administer the messages without needing to overload the banner with tons of javascirpt and it isolates the single messages so that a syntax error does not destroy all messages.
Hello Leonard ,
thank you for your answer.
I'll go with the Plugin option although the time it can take.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.