lorna
Maven
Joined 15 years ago
Joined 15 years ago
You could introduce a JS file into the main theme that looks for a certain class on links <a> and adds a click event to these links allowing you to fire your custom window open code when they are clicked. Then just add this special class to these links via the post blog HTML editor.
Hi lorna,
from what you say - it seems that it's returning the default value all the times (that is 'prod') and this suggests that the variable may not be correctly exposed in your staging environment. The best idea would be to raise this with our support department and ask them to include 'phase' in the unrestricted.properties list if that is not already the case.
Hope this helps,